Commits

rainerh  committed 1e28b10

Updating to latest tagdocs

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@2901573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits 758411f

Comments (0)

Files changed (6)

File docs/tags/ActionComponent.html

 
 </tr>
 
+<tr>
+<!-- Attribute name -->
+<td align="left" valign="top">flush</td>
+
+<!-- Required -->
+<td align="left" valign="top">false</td>
+
+<!-- Default -->
+<td align="left" valign="top">true</td>
+
+<!-- Type -->
+<td align="left" valign="top">Boolean</td>
+
+<!-- Description -->
+<td align="left" valign="top">whether the writer should be flush upon end of the action tag, default to true.</td>
+
+</tr>
+
 </table>
 <!-- END SNIPPET: tagattributes -->
 

File docs/tags/CheckboxList.html

 </p>
 
 <p>
-<!-- START SNIPPET: javadoc --> Creates a series of checkboxes from a list. Setup is like &lt;ww:select /&gt; or &lt;ww:radio /&gt;, but creates checkbox tags. <!-- END SNIPPET: javadoc --> <p/> <b>Examples</b> <pre> <!-- START SNIPPET: example --> &lt;ww:checkboxlist name="foo" list="bar"/&gt; <!-- END SNIPPET: example --> </pre>
+<!-- START SNIPPET: javadoc --> Creates a series of checkboxes from a list. Setup is like &lt;ww:select /&gt; or &lt;ww:radio /&gt;, but creates checkbox tags. <!-- END SNIPPET: javadoc --> <p/> <b>Examples</b> <pre> <!-- START SNIPPET: example --> &lt;ww:checkboxlist name="foo" list="bar"/&gt; <!-- END SNIPPET: example --> </pre> <!-- START SNIPPET: example2Description --> It is possible to select multiple checkboxes, by handling a List into the value attribute. The List passed into the value attribute could be :- <ul> <li>key if the list attribute is passed in is a Map</li> <li>listKey properties if listKey attribute is used</li> <li>entry/entries passed into the list attribute</li> </ul> <!-- END SNIPPET: example2Description --> <pre> <!-- START SNIPPET: anotherExample --> &lt;ww:checkboxlist name="options" list="%{#{'FOO':'foo','BAR':'bar','BAZ':'baz','BOO':'boo'}}" value="%{{'FOO','BAZ'}}" /&gt; &lt;ww:checkboxlist name="options" list="%{{'Foo','Bar','Baz'}}" value="%{{'Foo','Bar'}}" /&gt; public class MyAction extends ActionSupport { public List&lt;Choice&gt; getChoices() { .... } .... public List&lt;String&gt; getPreSelectedChoices() { // returns a list of Choice.getKey(), which is a String .... } } public class Choice { public String getKey() { ...} public String getDisplayName() { ... } .... } &lt;ww:checkboxlist name="myChoice" list="%{choices}" listKey="%{'key'}" listValue="%{'displayName'}" value="%{preSelectedChoices}" /&gt; <!-- END SNIPPET: anotherExample --> </pre>
 </p>
 
 <h2>Attributes</h2>

File docs/tags/Form.html

 </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 --> &lt;ww:form ... /&gt; <!-- END SNIPPET: example --> </pre>
+<!-- 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, WebWork 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.xml WebWork 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 --> &lt;ww:form ... /&gt; <!-- END SNIPPET: example --> </pre>
 </p>
 
 <h2>Attributes</h2>

File docs/tags/Set.html

 </p>
 
 <p>
-<!-- START SNIPPET: javadoc --> <p>The set tag assigns a value to a variable in a specified scope. It is useful when you wish to assign a variable to a complex expression and then simply reference that variable each time rather than the complex expression. This is useful in both cases: when the complex expression takes time (performance improvement) or is hard to read (code readability improvement).</P> <!-- END SNIPPET: javadoc --> <p/> <b>Parameters</b> <!-- START SNIPPET: params --> <ul> <li>name* (String): The name of the new variable that is assigned the value of <i>value</i></li> <li>value (Object): The value that is assigned to the variable named <i>name</i></li> <li>scope (String): The scope in which to assign the variable. Can be <b>application</b>, <b>session</b>, <b>request</b>, <b>page</b>, or <b>action</b>. By default it is <b>action</b>.</li> </ul> <!-- END SNIPPET: params --> <p/> <b>Examples</b> <pre> <!-- START SNIPPET: example --> &lt;ww:set name="personName" value="person.name"/&gt; Hello, &lt;ww:property value="#personName"/&gt;. How are you? <!-- END SNIPPET: example --> </pre>
+<!-- START SNIPPET: javadoc --> <p>The set tag assigns a value to a variable in a specified scope. It is useful when you wish to assign a variable to a complex expression and then simply reference that variable each time rather than the complex expression. This is useful in both cases: when the complex expression takes time (performance improvement) or is hard to read (code readability improvement).</P> <p>The set tag accepts body. However the followings need to be take note when using set tag with body</p> <ul> <li>body are treated as String and will not be parsed by OGNL</li> <li>body could be scriptlet or JSP tags, the String representation of scriptlet or JSP tags will be used</li> <li>A non-empty will take precedence if there's also a value attribute present, if the body is empty, then the value attribute will be used</li> </ul> <!-- END SNIPPET: javadoc --> <p/> <b>Parameters</b> <!-- START SNIPPET: params --> <ul> <li>name* (String): The name of the new variable that is assigned the value of <i>value</i></li> <li>value (Object): The value that is assigned to the variable named <i>name</i></li> <li>scope (String): The scope in which to assign the variable. Can be <b>application</b>, <b>session</b>, <b>request</b>, <b>page</b>, or <b>action</b>. By default it is <b>action</b>.</li> </ul> <!-- END SNIPPET: params --> <p/> <b>Examples</b> <pre> <!-- START SNIPPET: example --> &lt;ww:set name="personName" value="person.name"/&gt; Hello, &lt;ww:property value="%{#personName}"/&gt;. How are you? &lt;ww:set name="personName"&gt; &lt;ww:property value="%{'some string'}" /&gt; &lt;/ww:set&gt; Hello, &lt;ww:property value="%{#personName}"/&gt;. How are you? &lt;ww:set name="personName"&gt; &lt;c:set value="${person.name}" /&gt; &lt;/ww:set&gt; Hello, &lt;ww:property value="%{#personName}"/&gt;. How are you? <!-- END SNIPPET: example --> </pre>
 </p>
 
 <h2>Attributes</h2>

File docs/tags/URL.html

 
 <tr>
 <!-- Attribute name -->
+<td align="left" valign="top">escapeAmp</td>
+
+<!-- Required -->
+<td align="left" valign="top">false</td>
+
+<!-- Default -->
+<td align="left" valign="top">&nbsp;</td>
+
+<!-- Type -->
+<td align="left" valign="top">Object/String</td>
+
+<!-- Description -->
+<td align="left" valign="top">Whether to escape ampersand (&) to (&amp;) or not, default to true.</td>
+
+</tr>
+
+<tr>
+<!-- Attribute name -->
 <td align="left" valign="top">id</td>
 
 <!-- Required -->

File docs/tags/index.html

 <html>
 <head>
-<title>WebWork 2.2.3 Taglib Index</title>
+<title>WebWork 2.2.5 Taglib Index</title>
 </head>
 
 <body>
 
-<h1>WebWork 2.2.3 Taglib Index</h1>
+<h1>WebWork 2.2.5 Taglib Index</h1>
 <p>
 <table width="100%">