mirror of
https://github.com/apache/struts.git
synced 2026-08-11 17:46:57 +00:00
WW-1364
- updated tag doc due to addition of optgroup component git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@419956 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -556,6 +556,24 @@ Render action errors if they exists
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -556,6 +556,24 @@ Render action messages if they exists
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -700,6 +700,24 @@ Render a HTML href element that when clicked calls a URL via remote XMLHttpReque
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ Instantiate a JavaBean and place it in the context.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<!-- START SNIPPET: javadoc --> <p>Instantiates a class that conforms to the JavaBeans specification. This tag has a body which can contain a number of {@link Param} elements to set any mutator methods on that class.</p> <p/> <p>If the id attribute is set on the BeanTag, it will place the instantiated bean into the stack's Context.</p> <p/> <!-- END SNIPPET: javadoc --> <!-- START SNIPPET: params --> <ul> <li>id - the stack's context id (if supplied) that the created bean will be store under</li> <li>name* - the class name of the bean to be instantiated (must respect JavaBean specification)</li> </ul> <!-- END SNIPPET: params --> <p>Examples:</p> <p/> <pre> <!-- START SNIPPET: examples --> <-- in freemarker form --> [ww.bean name="org.apache.struts.action2.example.counter.SimpleCounter" id="counter"] [a:param name="foo" value="BAR"/] The value of foo is : [a:property value="foo"/], when inside the bean tag.<br /> [/a:bean] <-- in jsp form --> <a:bean name="org.apache.struts.action2.example.counter.SimpleCounter" id="counter"> <a:param name="foo" value="BAR" /> The value of foot is : <a:property value="foo"/>, when inside the bean tag <br /> </a:bean> <!-- END SNIPPET: examples --> </pre> <p/> <!-- START SNIPPET: examplesdescription --> <p>This example instantiates a bean called SimpleCounter and sets the foo property (setFoo('BAR')). The SimpleCounter object is then pushed onto the Valuestack, which means that we can called its accessor methods (getFoo()) with the Property tag and get their values.</p> <p/> <p>In the above example, the id has been set to a value of <i>counter</i>. This means that the SimpleCounter class will be placed into the stack's context. You can access the SimpleCounter class using WW's tag:</p> <p/> <pre> <-- jsp form --> <a:property value="#counter" /> <-- freemarker form --> [a:property value="#counter.foo"/] </pre> <p/> <p>In the property tag example, the <i>#</i> tells Ognl to search the context for the SimpleCounter class which has an id(key) of <i>counter</i></p> <!-- END SNIPPET: examplesdescription -->
|
||||
<!-- START SNIPPET: javadoc --> <p>Instantiates a class that conforms to the JavaBeans specification. This tag has a body which can contain a number of {@link Param} elements to set any mutator methods on that class.</p> <p/> <p>If the id attribute is set on the BeanTag, it will place the instantiated bean into the stack's Context.</p> <p/> <!-- END SNIPPET: javadoc --> <!-- START SNIPPET: params --> <ul> <li>id - the stack's context id (if supplied) that the created bean will be store under</li> <li>name* - the class name of the bean to be instantiated (must respect JavaBean specification)</li> </ul> <!-- END SNIPPET: params --> <p>Examples:</p> <p/> <pre> <!-- START SNIPPET: examples --> <-- in freemarker form --> [ww.bean name="org.apache.struts2.example.counter.SimpleCounter" id="counter"] [a:param name="foo" value="BAR"/] The value of foo is : [a:property value="foo"/], when inside the bean tag.<br /> [/a:bean] <-- in jsp form --> <a:bean name="org.apache.struts2.example.counter.SimpleCounter" id="counter"> <a:param name="foo" value="BAR" /> The value of foot is : <a:property value="foo"/>, when inside the bean tag <br /> </a:bean> <!-- END SNIPPET: examples --> </pre> <p/> <!-- START SNIPPET: examplesdescription --> <p>This example instantiates a bean called SimpleCounter and sets the foo property (setFoo('BAR')). The SimpleCounter object is then pushed onto the Valuestack, which means that we can called its accessor methods (getFoo()) with the Property tag and get their values.</p> <p/> <p>In the above example, the id has been set to a value of <i>counter</i>. This means that the SimpleCounter class will be placed into the stack's context. You can access the SimpleCounter class using WW's tag:</p> <p/> <pre> <-- jsp form --> <a:property value="#counter" /> <-- freemarker form --> [a:property value="#counter.foo"/] </pre> <p/> <p>In the property tag example, the <i>#</i> tells Ognl to search the context for the SimpleCounter class which has an id(key) of <i>counter</i></p> <!-- END SNIPPET: examplesdescription -->
|
||||
</p>
|
||||
|
||||
<h2>Attributes</h2>
|
||||
|
||||
@@ -574,6 +574,24 @@ Render a checkbox input field
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -610,6 +610,24 @@ Render a list of checkboxes
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -736,6 +736,24 @@ Widget that fills a text box from a select
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -700,6 +700,24 @@ Render datepicker
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -718,6 +718,24 @@ Render HTML div providing content from remote call via AJAX
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -664,6 +664,24 @@ Renders two HTML select elements with second one changing displayed values depen
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">doubleAccesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute.</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">list</td>
|
||||
@@ -1240,6 +1258,24 @@ Renders two HTML select elements with second one changing displayed values depen
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -556,6 +556,24 @@ Render field error (all or partial depending on param tag nested)if they exists
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -592,6 +592,24 @@ Render a file input field
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
+19
-1
@@ -16,7 +16,7 @@ Renders an input form
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<!-- START SNIPPET: javadoc --> Renders HTML an input form.<p/> The remote form allows the form to be submitted without the page being refreshed. The results from the form can be inserted into any HTML element on the page.<p/> NOTE:<p/> The order / logic in determining the posting url of the generated HTML form is as follows:- <ol> <li> If the action attribute is not specified, then the current request will be used to determine the posting url </li> <li> If the action is given, SAF will try to obtain an ActionConfig. This will be successfull if the action attribute is a valid action alias defined xwork.xml. </li> <li> If the action is given and is not an action alias defined in xwork.xmlm SAF will used the action attribute as if it is the posting url, separting the namespace from it and using UrlHelper to generate the final url. </li> </ol> <!-- END SNIPPET: javadoc --> <p/> <b>Examples</b> <pre> <!-- START SNIPPET: example --> <a:form ... /> <!-- END SNIPPET: example --> </pre>
|
||||
<!-- START SNIPPET: javadoc --> <p/> Renders HTML an input form.<p/> <p/> The remote form allows the form to be submitted without the page being refreshed. The results from the form can be inserted into any HTML element on the page.<p/> <p/> NOTE:<p/> The order / logic in determining the posting url of the generated HTML form is as follows:- <ol> <li> If the action attribute is not specified, then the current request will be used to determine the posting url </li> <li> If the action is given, SAF will try to obtain an ActionConfig. This will be successfull if the action attribute is a valid action alias defined xwork.xml. </li> <li> If the action is given and is not an action alias defined in xwork.xmlm SAF will used the action attribute as if it is the posting url, separting the namespace from it and using UrlHelper to generate the final url. </li> </ol> <p/> <!-- END SNIPPET: javadoc --> <p/> <p/> <b>Examples</b> <p/> <pre> <!-- START SNIPPET: example --> <p/> <a:form ... /> <p/> <!-- END SNIPPET: example --> </pre>
|
||||
</p>
|
||||
|
||||
<h2>Attributes</h2>
|
||||
@@ -754,6 +754,24 @@ Renders an input form
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -16,7 +16,7 @@ Render a custom ui widget
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<!-- START SNIPPET: javadoc --> Renders an custom UI widget using the specified templates. Additional objects can be passed in to the template using the param tags. Objects provided can be retrieve from within the template via $parameters._paramname_.<p/> In the bottom JSP and Velocity samples, two parameters are being passed in to the component. From within the component, they can be accessed as $parameters.get('key1') and $parameters.get('key2'). Velocity also allows you reference them as $parameters.key1 and $parameters.key2.<p/> Currently, your custom UI components can be written in Velocity, JSP, or Freemarker, and the correct rendering engine will be found based on file extension.<p/> <b>Remember:</b> the value params will always be resolved against the OgnlValueStack so if you mean to pass a string literal to your component, make sure to wrap it in quotes i.e. value="'value1'" otherwise, the the value stack will search for an Object on the stack with a method of getValue1(). (now that i've written this, i'm not entirely sure this is the case. i should verify this manana)<p/> <!-- END SNIPPET: javadoc --> <p/> <b>Examples</b> <pre> <!-- START SNIPPET: example --> JSP <a:component template="/my/custom/component.vm"/> or <a:component template="/my/custom/component.vm"> <a:param name="key1" value="value1"/> <a:param name="key2" value="value2"/> </a:component> Velocity #tag( Component "template=/my/custom/component.vm" ) or #bodytag( Component "template=/my/custom/component.vm" ) #param( "key1" "value1" ) #param( "key2" "value2" ) #end <!-- END SNIPPET: example --> </pre>
|
||||
<!-- START SNIPPET: javadoc --> Renders an custom UI widget using the specified templates. Additional objects can be passed in to the template using the param tags.<p/> <b>Freemarker:</b><p/> Objects provided can be retrieve from within the template via $parameters._paramname_.<p/> <b>Jsp:</b><p/> Objects provided can be retrieve from within the template via <saf:property value="%{parameters._paramname_}" /><p/> In the bottom JSP and Velocity samples, two parameters are being passed in to the component. From within the component, they can be accessed as:- <p/> <b>Freemarker:</b><p/> $parameters.get('key1') and $parameters.get('key2') or $parameters.key1 and $parameters.key2<p/> <b>Jsp:</b><p/> <saf:property value="%{parameters.key1}" /> and <saf:property value="%{'parameters.key2'}" /> or <saf:property value="%{parameters.get('key1')}" /> and <saf:property value="%{parameters.get('key2')}" /><p/> Currently, your custom UI components can be written in Velocity, JSP, or Freemarker, and the correct rendering engine will be found based on file extension.<p/> <b>Remember:</b> the value params will always be resolved against the OgnlValueStack so if you mean to pass a string literal to your component, make sure to wrap it in quotes i.e. value="'value1'" otherwise, the the value stack will search for an Object on the stack with a method of getValue1(). (now that i've written this, i'm not entirely sure this is the case. i should verify this manana)<p/> <!-- END SNIPPET: javadoc --> <p/> <b>Examples</b> <pre> <!-- START SNIPPET: example --> JSP <a:component template="/my/custom/component.vm"/> or <a:component template="/my/custom/component.vm"> <a:param name="key1" value="value1"/> <a:param name="key2" value="value2"/> </a:component> Velocity #safcomponent( "template=/my/custom/component.vm" ) or #safcomponent( "template=/my/custom/component.vm" ) #safparam( "name=key1" "value=value1" ) #safparam( "name=key2" "value=value2" ) #end Freemarker <@saf.component template="/my/custom/component.ftl" /> or <@saf.component template="/my/custom/component.ftl"> <@saf.param name="key1" value="%{'value1'}" /> <@saf.param name="key2" value="%{'value2'}" /> </@saf.component> <!-- END SNIPPET: example --> </pre> <p/> <b>NOTE:</b> <!-- START SNIPPET: note --> If Jsp is used as the template, the jsp template itself must lie within the webapp itself and not the classpath. Unlike Freemarker or Velocity, JSP template could not be picked up from the classpath. <!-- END SNIPPET: note -->
|
||||
</p>
|
||||
|
||||
<h2>Attributes</h2>
|
||||
@@ -556,6 +556,24 @@ Render a custom ui widget
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -592,6 +592,24 @@ Render a chunk of HEAD for your HTML file
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -556,6 +556,24 @@ Render a hidden input field
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -16,7 +16,7 @@ Iterate over a iterable value
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<!-- START SNIPPET: javadoc --> <p>Iterator will iterate over a value. An iterable value can be either of: java.util.Collection, java.util.Iterator, java.util.Enumeration, java.util.Map, array.</p> <p/> <!-- END SNIPPET: javadoc --> <!-- START SNIPPET: params --> <ul> <li>status (String) - if specified, an instanceof IteratorStatus will be pushed into stack upon each iteration</li> <li>value (Object) - the source to iterate over, must be iteratable, else an the object itself will be put into a newly created List (see MakeIterator#convert(Object)</li> <li>id (String) - if specified the current iteration object will be place with this id in Struts stack's context scope</li> </ul> <!-- END SNIPPET: params --> <!-- START SNIPPET: example1description --> <p>The following example retrieves the value of the getDays() method of the current object on the value stack and uses it to iterate over. The <a:property/> tag prints out the current value of the iterator.</p> <!-- END SNIPPET: example1description --> <pre> <!-- START SNIPPET: example1code --> <a:iterator value="days"> <p>day is: <a:property/></p> </a:iterator> <!-- END SNIPPET: example1code --> </pre> <!-- START SNIPPET: example2description --> <p>The following example uses a {@link Bean} tag and places it into the ActionContext. The iterator tag will retrieve that object from the ActionContext and then calls its getDays() method as above. The status attribute is also used to create a {@link IteratorStatus} object, which in this example, its odd() method is used to alternate row colours:</p> <!-- END SNIPPET: example2description --> <pre> <!-- START SNIPPET: example2code --> <a:bean name="org.apache.struts.action2.example.IteratorExample" id="it"> <a:param name="day" value="'foo'"/> <a:param name="day" value="'bar'"/> </a:bean> <p/> <table border="0" cellspacing="0" cellpadding="1"> <tr> <th>Days of the week</th> </tr> <p/> <a:iterator value="#it.days" status="rowstatus"> <tr> <a:if test="#rowstatus.odd == true"> <td style="background: grey"><a:property/></td> </a:if> <a:else> <td><a:property/></td> </a:else> </tr> </a:iterator> </table> <!-- END SNIPPET: example2code --> </pre> <!--START SNIPPET: example3description --> <p> The next example will further demonstrate the use of the status attribute, using a DAO obtained from the action class through OGNL, iterating over groups and their users (in a security context). The last() method indicates if the current object is the last available in the iteration, and if not, we need to seperate the users using a comma: </p> <!-- END SNIPPET: example3description --> <pre> <!-- START SNIPPET: example3code --> <saf:iterator value="groupDao.groups" status="groupStatus"> <tr class="<saf:if test="#groupStatus.odd == true ">odd</saf:if><saf:else>even</saf:else>"> <td><saf:property value="name" /></td> <td><saf:property value="description" /></td> <td> <saf:iterator value="users" status="userStatus"> <saf:property value="fullName" /><saf:if test="!#userStatus.last">,</saf:if> </saf:iterator> </td> </tr> </saf:iterator> <!-- END SNIPPET: example3code --> </pre> <p> <!-- START SNIPPET: example4description --> </p> The next example iterates over a an action collection and passes every iterator value to another action. The trick here lies in the use of the '[0]' operator. It takes the current iterator value and passes it on to the edit action. Using the '[0]' operator has the same effect as using >a:property />. (The latter, however, does not work from inside the param tag). </p> <!-- END SNIPPET: example4description --> <pre> <!-- START SNIPPET: example4code --> <a:action name="entries" id="entries"/> <a:iterator value="#entries.entries" > <a:property value="name" /> <a:property /> <a:push value="..."> <a:action name="edit" id="edit" > <a:param name="entry" value="[0]" /> </a:action> </push> </a:iterator> <!-- END SNIPPET: example4code --> </pre> <!-- START SNIPPET: example5description --> </p>To simulate a simple loop with iterator tag, the following could be done. It does the loop 5 times. <!-- END SNIPPET: example5description --> <pre> <!-- START SNIPPET: example5code --> <a:iterator status="stat" value="{1,2,3,4,5}" > <!-- grab the index (start with 0 ... ) --> <a:property value="#stat.index" /> <!-- grab the top of the stack which should be the --> <!-- current iteration value (0, 1, ... 5) --> <a:property value="top" /> </a:iterator> <!-- END SNIPPET: example5code --> </pre>
|
||||
<!-- START SNIPPET: javadoc --> <p>Iterator will iterate over a value. An iterable value can be either of: java.util.Collection, java.util.Iterator, java.util.Enumeration, java.util.Map, array.</p> <p/> <!-- END SNIPPET: javadoc --> <!-- START SNIPPET: params --> <ul> <li>status (String) - if specified, an instanceof IteratorStatus will be pushed into stack upon each iteration</li> <li>value (Object) - the source to iterate over, must be iteratable, else an the object itself will be put into a newly created List (see MakeIterator#convert(Object)</li> <li>id (String) - if specified the current iteration object will be place with this id in Struts stack's context scope</li> </ul> <!-- END SNIPPET: params --> <!-- START SNIPPET: example1description --> <p>The following example retrieves the value of the getDays() method of the current object on the value stack and uses it to iterate over. The <a:property/> tag prints out the current value of the iterator.</p> <!-- END SNIPPET: example1description --> <pre> <!-- START SNIPPET: example1code --> <a:iterator value="days"> <p>day is: <a:property/></p> </a:iterator> <!-- END SNIPPET: example1code --> </pre> <!-- START SNIPPET: example2description --> <p>The following example uses a {@link Bean} tag and places it into the ActionContext. The iterator tag will retrieve that object from the ActionContext and then calls its getDays() method as above. The status attribute is also used to create a {@link IteratorStatus} object, which in this example, its odd() method is used to alternate row colours:</p> <!-- END SNIPPET: example2description --> <pre> <!-- START SNIPPET: example2code --> <a:bean name="org.apache.struts2.example.IteratorExample" id="it"> <a:param name="day" value="'foo'"/> <a:param name="day" value="'bar'"/> </a:bean> <p/> <table border="0" cellspacing="0" cellpadding="1"> <tr> <th>Days of the week</th> </tr> <p/> <a:iterator value="#it.days" status="rowstatus"> <tr> <a:if test="#rowstatus.odd == true"> <td style="background: grey"><a:property/></td> </a:if> <a:else> <td><a:property/></td> </a:else> </tr> </a:iterator> </table> <!-- END SNIPPET: example2code --> </pre> <!--START SNIPPET: example3description --> <p> The next example will further demonstrate the use of the status attribute, using a DAO obtained from the action class through OGNL, iterating over groups and their users (in a security context). The last() method indicates if the current object is the last available in the iteration, and if not, we need to seperate the users using a comma: </p> <!-- END SNIPPET: example3description --> <pre> <!-- START SNIPPET: example3code --> <saf:iterator value="groupDao.groups" status="groupStatus"> <tr class="<saf:if test="#groupStatus.odd == true ">odd</saf:if><saf:else>even</saf:else>"> <td><saf:property value="name" /></td> <td><saf:property value="description" /></td> <td> <saf:iterator value="users" status="userStatus"> <saf:property value="fullName" /><saf:if test="!#userStatus.last">,</saf:if> </saf:iterator> </td> </tr> </saf:iterator> <!-- END SNIPPET: example3code --> </pre> <p> <!-- START SNIPPET: example4description --> </p> The next example iterates over a an action collection and passes every iterator value to another action. The trick here lies in the use of the '[0]' operator. It takes the current iterator value and passes it on to the edit action. Using the '[0]' operator has the same effect as using >a:property />. (The latter, however, does not work from inside the param tag). </p> <!-- END SNIPPET: example4description --> <pre> <!-- START SNIPPET: example4code --> <a:action name="entries" id="entries"/> <a:iterator value="#entries.entries" > <a:property value="name" /> <a:property /> <a:push value="..."> <a:action name="edit" id="edit" > <a:param name="entry" value="[0]" /> </a:action> </push> </a:iterator> <!-- END SNIPPET: example4code --> </pre> <!-- START SNIPPET: example5description --> </p>To simulate a simple loop with iterator tag, the following could be done. It does the loop 5 times. <!-- END SNIPPET: example5description --> <pre> <!-- START SNIPPET: example5code --> <a:iterator status="stat" value="{1,2,3,4,5}" > <!-- grab the index (start with 0 ... ) --> <a:property value="#stat.index" /> <!-- grab the top of the stack which should be the --> <!-- current iteration value (0, 1, ... 5) --> <a:property value="top" /> </a:iterator> <!-- END SNIPPET: example5code --> </pre>
|
||||
</p>
|
||||
|
||||
<h2>Attributes</h2>
|
||||
|
||||
@@ -574,6 +574,24 @@ Render a label that displays read-only information
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -0,0 +1,154 @@
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title><a2:optgroup /></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Tag Name: <a2:optgroup /></h1>
|
||||
|
||||
<h2>Description</h2>
|
||||
<p>
|
||||
|
||||
Renders a Select Tag's OptGroup Tag
|
||||
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<!-- START SNIPPET: javadoc --> Create a optgroup component which needs to resides within a select tag. <!-- END SNIPPET: javadoc --> <p/> <!-- START SNIPPET: notice --> This component is to be used within a Select component. <!-- END SNIPPET: notice --> <p/> <pre> <!-- START SNIPPET: example --> <ww:select label="My Selection" name="mySelection" value="%{'POPEYE'}" list="%{#{'SUPERMAN':'Superman', 'SPIDERMAN':'spiderman'}}"> <ww:optgroup label="Adult" list="%{#{'SOUTH_PARK':'South Park'}}" /> <ww:optgroup label="Japanese" list="%{#{'POKEMON':'pokemon','DIGIMON':'digimon','SAILORMOON':'Sailormoon'}}" /> </ww:select> <!-- END SNIPPET: example --> </pre>
|
||||
</p>
|
||||
|
||||
<h2>Attributes</h2>
|
||||
<p>
|
||||
|
||||
<!-- START SNIPPET: tagattributes -->
|
||||
<table width="100%">
|
||||
<tr>
|
||||
|
||||
<th align="left" valign="top"><h4>Name</h4></th>
|
||||
<th align="left" valign="top"><h4>Required</h4></th>
|
||||
<th align="left" valign="top"><h4>Default</h4></th>
|
||||
<th align="left" valign="top"><h4>Type</h4></th>
|
||||
<th align="left" valign="top"><h4>Description</h4></th>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">label</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the label attribute.</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">disabled</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the disable attribute.</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">list</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the list attribute.</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">listKey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the listKey attribute.</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">listValue</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the listValue attribute.</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">id</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">id for referencing element. For UI and form tags it will be used as HTML id attribute</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<!-- END SNIPPET: tagattributes -->
|
||||
|
||||
</p>
|
||||
<p>
|
||||
<center><a href="index.html">Back to Taglib Index</a></center>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -916,6 +916,24 @@ Renders an input form
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">doubleAccesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute.</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">list</td>
|
||||
@@ -1492,6 +1510,24 @@ Renders an input form
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -772,6 +772,24 @@ Render a panel for tabbedPanel
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -664,6 +664,24 @@ Render an HTML input tag of type password
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -610,6 +610,24 @@ Renders a radio button input field
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -628,6 +628,24 @@ Render a reset button
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -700,6 +700,24 @@ Render a select element
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -736,6 +736,24 @@ Render a submit button
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -592,6 +592,24 @@ Render a tabbedPanel widget.
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -628,6 +628,24 @@ Render HTML textarea tag.
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -628,6 +628,24 @@ Render an HTML input field of type text
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -556,6 +556,24 @@ Stop double-submission of forms
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
+19
-1
@@ -16,7 +16,7 @@ Render a tree widget.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<!-- START SNIPPET: javadoc --> Renders a tree widget with AJAX support.<p/> <!-- END SNIPPET: javadoc --> <p/> <b>Examples</b> <pre> <!-- START SNIPPET: example --> <-- statically --< <saf:tree rootNode="..." /> or <-- dynamically --> <saf:tree id="..." label="..."> <saf:treenode id="..." label="..." /> <saf:treenode id="..." label="..."> <saf:treenode id="..." label="..." /> <saf:treenode id="..." label="..." /> &;lt;/saf:treenode> <saf:treenode id="..." label="..." /> </saf:tree> <!-- END SNIPPET: example --> </pre>
|
||||
<!-- START SNIPPET: javadoc --> Renders a tree widget with AJAX support.<p/> The id attribute is normally specified, such that it could be looked up using javascript if necessary.<p/> <!-- END SNIPPET: javadoc --> <p/> <b>Examples</b> <pre> <!-- START SNIPPET: example --> <-- statically --> <saf:tree id="..." label="..."> <saf:treenode id="..." label="..." /> <saf:treenode id="..." label="..."> <saf:treenode id="..." label="..." /> <saf:treenode id="..." label="..." /> &;lt;/saf:treenode> <saf:treenode id="..." label="..." /> </saf:tree> <-- dynamically --> <saf:tree id="..." rootNode="..." nodeIdProperty="..." nodeTitleProperty="..." childCollectionProperty="..." /> <!-- END SNIPPET: example --> </pre>
|
||||
</p>
|
||||
|
||||
<h2>Attributes</h2>
|
||||
@@ -988,6 +988,24 @@ Render a tree widget.
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
+19
-1
@@ -16,7 +16,7 @@ Render a tree node within a tree widget.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<!-- START SNIPPET: javadoc --> Renders a tree node within a tree widget with AJAX support.<p/> <!-- END SNIPPET: javadoc --> <p/> <b>Examples</b> <pre> <!-- START SNIPPET: example --> <treenode .../> <!-- END SNIPPET: example --> </pre>
|
||||
<!-- START SNIPPET: javadoc --> Renders a tree node within a tree widget with AJAX support.<p/> Either of the following combinations should be used depending on if the tree is to be constrcted dynamically or statically. <p/> <b>Dynamically</b> <ul> <li>id - id of this tree node</li> <li>title - label to be displayed for this tree node</li> </ul> <b>Statically</b> <ul> <li>rootNode - the parent node of which this tree is derived from</li> <li>nodeIdProperty - property to obtained this current tree node's id</li> <li>nodeTitleProperty - property to obtained this current tree node's title</li> <li>childCollectionProperty - property that returnds this current tree node's children</li> </ul> <!-- END SNIPPET: javadoc --> <p/> <b>Examples</b> <pre> <!-- START SNIPPET: example --> <-- statically --> <ww:tree id="..." label="..."> <ww:treenode id="..." label="..." /> <ww:treenode id="..." label="..."> <ww:treenode id="..." label="..." /> <ww:treenode id="..." label="..." /> &;lt;/ww:treenode> <ww:treenode id="..." label="..." /> </ww:tree> <-- dynamically --> <ww:tree id="..." rootNode="..." nodeIdProperty="..." nodeTitleProperty="..." childCollectionProperty="..." /> <!-- END SNIPPET: example --> </pre>
|
||||
</p>
|
||||
|
||||
<h2>Attributes</h2>
|
||||
@@ -574,6 +574,24 @@ Render a tree node within a tree widget.
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
@@ -808,6 +808,24 @@ Render a up down select element
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
+19
-1
@@ -102,7 +102,7 @@ Instantiate a JavaBean and place it in the context.
|
||||
<td align="left" valign="top">Boolean</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Whether the table should be sortable. Requires that model implements org.apache.struts.action2.components.table.SortableTableModel if set to true.</td>
|
||||
<td align="left" valign="top">Whether the table should be sortable. Requires that model implements org.apache.struts2.components.table.SortableTableModel if set to true.</td>
|
||||
|
||||
</tr>
|
||||
|
||||
@@ -628,6 +628,24 @@ Instantiate a JavaBean and place it in the context.
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">accesskey</td>
|
||||
|
||||
<!-- Required -->
|
||||
<td align="left" valign="top">false</td>
|
||||
|
||||
<!-- Default -->
|
||||
<td align="left" valign="top"> </td>
|
||||
|
||||
<!-- Type -->
|
||||
<td align="left" valign="top">Object/String</td>
|
||||
|
||||
<!-- Description -->
|
||||
<td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<!-- Attribute name -->
|
||||
<td align="left" valign="top">tooltip</td>
|
||||
|
||||
+401
-401
@@ -9,105 +9,6 @@
|
||||
<p>
|
||||
<table width="100%">
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="UpDownSelect.html"><updownselect /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a up down select element
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Form.html"><form /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Renders an input form
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="GenericUIBean.html"><component /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a custom ui widget
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Checkbox.html"><checkbox /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a checkbox input field
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="IteratorComponent.html"><iterator /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Iterate over a iterable value
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="File.html"><file /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a file input field
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Set.html"><set /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Assigns a value to a variable in a specified scope
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Param.html"><param /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Parametrize other tags
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Tree.html"><tree /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a tree widget.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="DoubleSelect.html"><doubleselect /></a>
|
||||
@@ -119,259 +20,6 @@ Renders two HTML select elements with second one changing displayed values depen
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Else.html"><else /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Else tag
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="RichTextEditor.html"><richtexteditor /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a rich text editor element
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="ElseIf.html"><elseif /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Elseif tag
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Submit.html"><submit /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a submit button
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Push.html"><push /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Push value on stack for simplified usage.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Property.html"><property /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Print out expression which evaluates against the stack
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Date.html"><date /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a formatted date.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="URL.html"><url /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
This tag is used to create a URL
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Hidden.html"><hidden /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a hidden input field
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Token.html"><token /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Stop double-submission of forms
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="FieldError.html"><fielderror /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render field error (all or partial depending on param tag nested)if they exists
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="I18n.html"><i18n /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Get a resource bundle and place it on the value stack
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="ActionMessage.html"><actionmessage /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render action messages if they exists
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="AppendIterator.html"><append /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Append the values of a list of iterators to one iterator
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Div.html"><div /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render HTML div providing content from remote call via AJAX
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="ActionComponent.html"><action /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Execute an action from within a view
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Text.html"><text /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a I18n text message.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="TabbedPanel.html"><tabbedPanel /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a tabbedPanel widget.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Password.html"><password /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render an HTML input tag of type password
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="OptionTransferSelect.html"><optiontransferselect /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Renders an input form
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Label.html"><label /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a label that displays read-only information
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="MergeIterator.html"><merge /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Merge the values of a list of iterators into one iterator
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="ComboBox.html"><combobox /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Widget that fills a text box from a select
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Bean.html"><bean /></a>
|
||||
@@ -385,22 +33,44 @@ Instantiate a JavaBean and place it in the context.
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Reset.html"><reset /></a>
|
||||
<a href="Label.html"><label /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a reset button
|
||||
Render a label that displays read-only information
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="CheckboxList.html"><checkboxlist /></a>
|
||||
<a href="RichTextEditor.html"><richtexteditor /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a list of checkboxes
|
||||
Render a rich text editor element
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="TabbedPanel.html"><tabbedPanel /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a tabbedPanel widget.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Else.html"><else /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Else tag
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@@ -418,44 +88,11 @@ Render an HTML input field of type text
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="ActionError.html"><actionerror /></a>
|
||||
<a href="Date.html"><date /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render action errors if they exists
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="TreeNode.html"><treenode /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a tree node within a tree widget.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Include.html"><include /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Include a servlet's output (result of servlet or a JSP page)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="DatePicker.html"><datepicker /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render datepicker
|
||||
Render a formatted date.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@@ -473,44 +110,209 @@ Render a chunk of HEAD for your HTML file
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Debug.html"><debug /></a>
|
||||
<a href="Password.html"><password /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render debug tag
|
||||
Render an HTML input tag of type password
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="TextArea.html"><textarea /></a>
|
||||
<a href="Reset.html"><reset /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render HTML textarea tag.
|
||||
Render a reset button
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Radio.html"><radio /></a>
|
||||
<a href="TreeNode.html"><treenode /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Renders a radio button input field
|
||||
Render a tree node within a tree widget.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Anchor.html"><a /></a>
|
||||
<a href="URL.html"><url /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a HTML href element that when clicked calls a URL via remote XMLHttpRequest
|
||||
This tag is used to create a URL
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Include.html"><include /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Include a servlet's output (result of servlet or a JSP page)
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Token.html"><token /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Stop double-submission of forms
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Text.html"><text /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a I18n text message.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="DatePicker.html"><datepicker /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render datepicker
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Div.html"><div /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render HTML div providing content from remote call via AJAX
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Set.html"><set /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Assigns a value to a variable in a specified scope
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Checkbox.html"><checkbox /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a checkbox input field
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="I18n.html"><i18n /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Get a resource bundle and place it on the value stack
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Submit.html"><submit /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a submit button
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="FieldError.html"><fielderror /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render field error (all or partial depending on param tag nested)if they exists
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="File.html"><file /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a file input field
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="AppendIterator.html"><append /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Append the values of a list of iterators to one iterator
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="GenericUIBean.html"><component /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a custom ui widget
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Push.html"><push /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Push value on stack for simplified usage.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="OptGroup.html"><optgroup /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Renders a Select Tag's OptGroup Tag
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@@ -526,6 +328,50 @@ Instantiate a JavaBean and place it in the context.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Tree.html"><tree /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a tree widget.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="TextArea.html"><textarea /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render HTML textarea tag.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Param.html"><param /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Parametrize other tags
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="ActionMessage.html"><actionmessage /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render action messages if they exists
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Select.html"><select /></a>
|
||||
@@ -539,11 +385,11 @@ Render a select element
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="If.html"><if /></a>
|
||||
<a href="ActionComponent.html"><action /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
If tag
|
||||
Execute an action from within a view
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@@ -559,6 +405,160 @@ Render a panel for tabbedPanel
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="CheckboxList.html"><checkboxlist /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a list of checkboxes
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Form.html"><form /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Renders an input form
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="ActionError.html"><actionerror /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render action errors if they exists
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="ComboBox.html"><combobox /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Widget that fills a text box from a select
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="OptionTransferSelect.html"><optiontransferselect /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Renders an input form
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Property.html"><property /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Print out expression which evaluates against the stack
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Hidden.html"><hidden /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a hidden input field
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="IteratorComponent.html"><iterator /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Iterate over a iterable value
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="MergeIterator.html"><merge /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Merge the values of a list of iterators into one iterator
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="ElseIf.html"><elseif /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Elseif tag
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Radio.html"><radio /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Renders a radio button input field
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="UpDownSelect.html"><updownselect /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a up down select element
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="Anchor.html"><a /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
Render a HTML href element that when clicked calls a URL via remote XMLHttpRequest
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="left" valign="top" width="20%">
|
||||
<a href="If.html"><if /></a>
|
||||
</td>
|
||||
<td align="left" valign="top" width="*">
|
||||
|
||||
If tag
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user