Skip to content

Commit

Permalink
JENKINS-31625 update javadoc headers and jelly text
Browse files Browse the repository at this point in the history
  • Loading branch information
kinow committed Jul 2, 2017
1 parent 5a6528a commit 874cfcf
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
Expand Up @@ -62,8 +62,7 @@ public class CascadeChoiceParameter extends AbstractCascadableParameter {

/**
* Filter length. Defines a minimum number of characters that must be entered before the filter
* is activated. If this value is, for example, 4, then only when the 5th element is entered,
* then the filter will be activated.
* is activated.
*/
private final Integer filterLength;

Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/biouno/unochoice/ChoiceParameter.java
Expand Up @@ -54,7 +54,8 @@ public class ChoiceParameter extends AbstractScriptableParameter {
private final Boolean filterable;

/**
* Filter Length
* Filter length. Defines a minimum number of characters that must be entered before the filter
* is activated.
*/
private final Integer filterLength;

Expand Down
Expand Up @@ -55,7 +55,7 @@
<f:entry title="${%Enable filters}" field="filterable" help="${rootURL}/../plugin/uno-choice/help-filterableParameters.html">
<f:checkbox name="parameter.filterable" checked="${instance.filterable}">${%Filterable}</f:checkbox>
</f:entry>
<f:entry title="${%Filter starts after N chars}" field="filterLength" help="${rootURL}/../plugin/uno-choice/help-filterLengthParameters.html">
<f:entry title="${%Filter starts at}" field="filterLength" help="${rootURL}/../plugin/uno-choice/help-filterLengthParameters.html">
<f:textbox name="parameter.filterLength" default="1" value="${instance.filterLength}" />
</f:entry>
</j:jelly>
Expand Up @@ -52,7 +52,7 @@
<f:entry title="${%Enable filters}" field="filterable" help="${rootURL}/../plugin/uno-choice/help-filterableParameters.html">
<f:checkbox name="parameter.filterable" checked="${instance.filterable}">${%Filterable}</f:checkbox>
</f:entry>
<f:entry title="${%Filter starts after N chars}" field="filterLength" help="${rootURL}/../plugin/uno-choice/help-filterLengthParameters.html">
<f:entry title="${%Filter starts at}" field="filterLength" help="${rootURL}/../plugin/uno-choice/help-filterLengthParameters.html">
<f:textbox name="parameter.filterLength" default="1" value="${instance.filterLength}" />
</f:entry>
</j:jelly>
3 changes: 1 addition & 2 deletions src/main/webapp/help-filterLengthParameters.html
@@ -1,6 +1,5 @@
<div>
<p>
How many characters a user must enter before the filter is applied. For example, if this value
is 4, so only after the 5th character is entered the filter will start working.
How many characters a user must enter before the filter is applied.
</p>
</div>

0 comments on commit 874cfcf

Please sign in to comment.