You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by mr...@apache.org on 2007/01/07 06:43:04 UTC
svn commit: r493654 - in /struts/struts2/trunk/core/src:
main/java/org/apache/struts2/components/TimePicker.java
main/resources/META-INF/struts-tags.tld site/resources/tags/timepicker.html
Author: mrdon
Date: Sat Jan 6 21:43:03 2007
New Revision: 493654
URL: http://svn.apache.org/viewvc?view=rev&rev=493654
Log:
Adding missing timepicker tag
WW-1392
Added:
struts/struts2/trunk/core/src/site/resources/tags/timepicker.html
Modified:
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TimePicker.java
struts/struts2/trunk/core/src/main/resources/META-INF/struts-tags.tld
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TimePicker.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TimePicker.java?view=diff&rev=493654&r1=493653&r2=493654
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TimePicker.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TimePicker.java Sat Jan 6 21:43:03 2007
@@ -35,6 +35,7 @@
*
* @version $Date$ $Id$
*/
+@StrutsTag(name="timepicker", tldTagClass="org.apache.struts2.views.jsp.ui.TimePickerTag", description="Render timepicker")
public class TimePicker extends TextField {
final public static String TEMPLATE = "timepicker";
Modified: struts/struts2/trunk/core/src/main/resources/META-INF/struts-tags.tld
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/META-INF/struts-tags.tld?view=diff&rev=493654&r1=493653&r2=493654
==============================================================================
--- struts/struts2/trunk/core/src/main/resources/META-INF/struts-tags.tld (original)
+++ struts/struts2/trunk/core/src/main/resources/META-INF/struts-tags.tld Sat Jan 6 21:43:03 2007
@@ -12,6 +12,24 @@
to ensure that input is correct and output is localized.
The Struts Tags can be used with JSP FreeMarker or Velocity."]]></description>
<tag>
+ <name>push</name>
+ <tag-class>org.apache.struts2.views.jsp.PushTag</tag-class>
+ <body-content>JSP</body-content>
+ <description><![CDATA[Push value on stack for simplified usage.]]></description>
+ <attribute>
+ <name>id</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[id for referencing element. For UI and form tags it will be used as HTML id attribute]]></description>
+ </attribute>
+ <attribute>
+ <name>value</name>
+ <required>true</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Value to push on stack]]></description>
+ </attribute>
+ </tag>
+ <tag>
<name>doubleselect</name>
<tag-class>org.apache.struts2.views.jsp.ui.DoubleSelectTag</tag-class>
<body-content>JSP</body-content>
@@ -444,24 +462,6 @@
</attribute>
</tag>
<tag>
- <name>push</name>
- <tag-class>org.apache.struts2.views.jsp.PushTag</tag-class>
- <body-content>JSP</body-content>
- <description><![CDATA[Push value on stack for simplified usage.]]></description>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[id for referencing element. For UI and form tags it will be used as HTML id attribute]]></description>
- </attribute>
- <attribute>
- <name>value</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Value to push on stack]]></description>
- </attribute>
- </tag>
- <tag>
<name>optiontransferselect</name>
<tag-class>org.apache.struts2.views.jsp.ui.OptionTransferSelectTag</tag-class>
<body-content>JSP</body-content>
@@ -1800,36 +1800,6 @@
</attribute>
</tag>
<tag>
- <name>property</name>
- <tag-class>org.apache.struts2.views.jsp.PropertyTag</tag-class>
- <body-content>empty</body-content>
- <description><![CDATA[Print out expression which evaluates against the stack]]></description>
- <attribute>
- <name>default</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[The default value to be used if <u>value</u> attribute is null]]></description>
- </attribute>
- <attribute>
- <name>escape</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[ Whether to escape HTML]]></description>
- </attribute>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[id for referencing element. For UI and form tags it will be used as HTML id attribute]]></description>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Value to be displayed]]></description>
- </attribute>
- </tag>
- <tag>
<name>datepicker</name>
<tag-class>org.apache.struts2.views.jsp.ui.DatePickerTag</tag-class>
<body-content>JSP</body-content>
@@ -2082,6 +2052,36 @@
</attribute>
</tag>
<tag>
+ <name>property</name>
+ <tag-class>org.apache.struts2.views.jsp.PropertyTag</tag-class>
+ <body-content>empty</body-content>
+ <description><![CDATA[Print out expression which evaluates against the stack]]></description>
+ <attribute>
+ <name>default</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[The default value to be used if <u>value</u> attribute is null]]></description>
+ </attribute>
+ <attribute>
+ <name>escape</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[ Whether to escape HTML]]></description>
+ </attribute>
+ <attribute>
+ <name>id</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[id for referencing element. For UI and form tags it will be used as HTML id attribute]]></description>
+ </attribute>
+ <attribute>
+ <name>value</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Value to be displayed]]></description>
+ </attribute>
+ </tag>
+ <tag>
<name>optgroup</name>
<tag-class>org.apache.struts2.views.jsp.ui.OptGroupTag</tag-class>
<body-content>JSP</body-content>
@@ -2105,22 +2105,268 @@
<description><![CDATA[Set the label attribute]]></description>
</attribute>
<attribute>
- <name>list</name>
+ <name>list</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the list attribute.]]></description>
+ </attribute>
+ <attribute>
+ <name>listKey</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the listKey attribute.]]></description>
+ </attribute>
+ <attribute>
+ <name>listValue</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the listValue attribute.]]></description>
+ </attribute>
+ </tag>
+ <tag>
+ <name>timepicker</name>
+ <tag-class>org.apache.struts2.views.jsp.ui.TimePickerTag</tag-class>
+ <body-content>JSP</body-content>
+ <description><![CDATA[Render timepicker]]></description>
+ <attribute>
+ <name>accesskey</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html accesskey attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>cssClass</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[The css class to use for element]]></description>
+ </attribute>
+ <attribute>
+ <name>cssStyle</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[The css style definitions for element ro use]]></description>
+ </attribute>
+ <attribute>
+ <name>disabled</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html disabled attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>id</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[id for referencing element. For UI and form tags it will be used as HTML id attribute]]></description>
+ </attribute>
+ <attribute>
+ <name>key</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the key (name, value, label) for this particular component]]></description>
+ </attribute>
+ <attribute>
+ <name>label</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Label expression used for rendering a element specific label]]></description>
+ </attribute>
+ <attribute>
+ <name>labelposition</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Define label position of form element (top/left)]]></description>
+ </attribute>
+ <attribute>
+ <name>language</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Language to display this widget in]]></description>
+ </attribute>
+ <attribute>
+ <name>maxLength</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Deprecated. Use maxlength instead.]]></description>
+ </attribute>
+ <attribute>
+ <name>maxlength</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[HTML maxlength attribute]]></description>
+ </attribute>
+ <attribute>
+ <name>name</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[The name to set for element]]></description>
+ </attribute>
+ <attribute>
+ <name>onblur</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[ Set the html onblur attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>onchange</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html onchange attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>onclick</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html onclick attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>ondblclick</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html ondblclick attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>onfocus</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html onfocus attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>onkeydown</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html onkeydown attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>onkeypress</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html onkeypress attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>onkeyup</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html onkeyup attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>onmousedown</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html onmousedown attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>onmousemove</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html onmousemove attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>onmouseout</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html onmouseout attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>onmouseover</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html onmouseover attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>onmouseup</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html onmouseup attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>onselect</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html onselect attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>readonly</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Whether the input is readonly]]></description>
+ </attribute>
+ <attribute>
+ <name>required</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[If set to true, the rendered element will indicate that input is required]]></description>
+ </attribute>
+ <attribute>
+ <name>requiredposition</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Define required position of required form element (left|right)]]></description>
+ </attribute>
+ <attribute>
+ <name>size</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[HTML size attribute]]></description>
+ </attribute>
+ <attribute>
+ <name>tabindex</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html tabindex attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>template</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[The template (other than default) to use for rendering the element]]></description>
+ </attribute>
+ <attribute>
+ <name>templateDir</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[The template directory.]]></description>
+ </attribute>
+ <attribute>
+ <name>theme</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[The theme (other than default) to use for rendering the element]]></description>
+ </attribute>
+ <attribute>
+ <name>title</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the html title attribute on rendered html element]]></description>
+ </attribute>
+ <attribute>
+ <name>tooltip</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the tooltip of this particular component]]></description>
+ </attribute>
+ <attribute>
+ <name>tooltipConfig</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set the tooltip configuration]]></description>
+ </attribute>
+ <attribute>
+ <name>useDefaultMinutes</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Set the list attribute.]]></description>
+ <description><![CDATA[Set default minutes to current time]]></description>
</attribute>
<attribute>
- <name>listKey</name>
+ <name>useDefaultTime</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Set the listKey attribute.]]></description>
+ <description><![CDATA[Set time to current time]]></description>
</attribute>
<attribute>
- <name>listValue</name>
+ <name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Set the listValue attribute.]]></description>
+ <description><![CDATA[Preset the value of input element.]]></description>
</attribute>
</tag>
<tag>
@@ -4554,6 +4800,36 @@
</attribute>
</tag>
<tag>
+ <name>date</name>
+ <tag-class>org.apache.struts2.views.jsp.DateTag</tag-class>
+ <body-content>empty</body-content>
+ <description><![CDATA[Render a formatted date.]]></description>
+ <attribute>
+ <name>format</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <description><![CDATA[Date or DateTime format pattern]]></description>
+ </attribute>
+ <attribute>
+ <name>id</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[id for referencing element. For UI and form tags it will be used as HTML id attribute]]></description>
+ </attribute>
+ <attribute>
+ <name>name</name>
+ <required>true</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[The date value to format]]></description>
+ </attribute>
+ <attribute>
+ <name>nice</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Whether to print out the date nicely]]></description>
+ </attribute>
+ </tag>
+ <tag>
<name>textfield</name>
<tag-class>org.apache.struts2.views.jsp.ui.TextFieldTag</tag-class>
<body-content>JSP</body-content>
@@ -4782,36 +5058,6 @@
</attribute>
</tag>
<tag>
- <name>date</name>
- <tag-class>org.apache.struts2.views.jsp.DateTag</tag-class>
- <body-content>empty</body-content>
- <description><![CDATA[Render a formatted date.]]></description>
- <attribute>
- <name>format</name>
- <required>false</required>
- <rtexprvalue>false</rtexprvalue>
- <description><![CDATA[Date or DateTime format pattern]]></description>
- </attribute>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[id for referencing element. For UI and form tags it will be used as HTML id attribute]]></description>
- </attribute>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[The date value to format]]></description>
- </attribute>
- <attribute>
- <name>nice</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Whether to print out the date nicely]]></description>
- </attribute>
- </tag>
- <tag>
<name>action</name>
<tag-class>org.apache.struts2.views.jsp.ActionTag</tag-class>
<body-content>JSP</body-content>
@@ -5070,10 +5316,10 @@
</attribute>
</tag>
<tag>
- <name>checkbox</name>
- <tag-class>org.apache.struts2.views.jsp.ui.CheckboxTag</tag-class>
+ <name>a</name>
+ <tag-class>org.apache.struts2.views.jsp.ui.AnchorTag</tag-class>
<body-content>JSP</body-content>
- <description><![CDATA[Render a checkbox input field]]></description>
+ <description><![CDATA[Render a HTML href element that when clicked can optionally call a URL via remote XMLHttpRequest and updates its targets]]></description>
<attribute>
<name>accesskey</name>
<required>false</required>
@@ -5099,10 +5345,40 @@
<description><![CDATA[Set the html disabled attribute on rendered html element]]></description>
</attribute>
<attribute>
- <name>fieldValue</name>
+ <name>errorText</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
- <description><![CDATA[The actual HTML value attribute of the checkbox.]]></description>
+ <description><![CDATA[The text to display to the user if the is an error fetching the content]]></description>
+ </attribute>
+ <attribute>
+ <name>executeScripts</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Javascript code in the fetched content will be executed]]></description>
+ </attribute>
+ <attribute>
+ <name>formFilter</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Function name used to filter the fields of the form.]]></description>
+ </attribute>
+ <attribute>
+ <name>formId</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Form id whose fields will be serialized and passed as parameters]]></description>
+ </attribute>
+ <attribute>
+ <name>handler</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Javascript function name that will make the request]]></description>
+ </attribute>
+ <attribute>
+ <name>href</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[The URL to call to obtain the content. Note: If used with ajax context, the value must be set as an url tag value.]]></description>
</attribute>
<attribute>
<name>id</name>
@@ -5111,6 +5387,12 @@
<description><![CDATA[id for referencing element. For UI and form tags it will be used as HTML id attribute]]></description>
</attribute>
<attribute>
+ <name>indicator</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Id of element that will be shown while making request]]></description>
+ </attribute>
+ <attribute>
<name>key</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
@@ -5129,12 +5411,36 @@
<description><![CDATA[Define label position of form element (top/left)]]></description>
</attribute>
<attribute>
+ <name>listenTopics</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Topic that will trigger the remote call]]></description>
+ </attribute>
+ <attribute>
+ <name>loadingText</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Text to be shown while content is being fetched]]></description>
+ </attribute>
+ <attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description><![CDATA[The name to set for element]]></description>
</attribute>
<attribute>
+ <name>notifyTopics</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Topics that will published when the remote call completes]]></description>
+ </attribute>
+ <attribute>
+ <name>onLoadJS</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Deprecated. Use 'notifyTopics'. Javascript code execute after reload]]></description>
+ </attribute>
+ <attribute>
<name>onblur</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
@@ -5219,6 +5525,18 @@
<description><![CDATA[Set the html onselect attribute on rendered html element]]></description>
</attribute>
<attribute>
+ <name>openTemplate</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set template to use for opening the rendered html.]]></description>
+ </attribute>
+ <attribute>
+ <name>preInvokeJS</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Deprecated. Use 'notifyTopics'. Javascript code execute before reload]]></description>
+ </attribute>
+ <attribute>
<name>required</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
@@ -5231,12 +5549,24 @@
<description><![CDATA[Define required position of required form element (left|right)]]></description>
</attribute>
<attribute>
+ <name>showErrorTransportText</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Set whether errors will be shown or not]]></description>
+ </attribute>
+ <attribute>
<name>tabindex</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description><![CDATA[Set the html tabindex attribute on rendered html element]]></description>
</attribute>
<attribute>
+ <name>targets</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description><![CDATA[Comma delimited list of ids of the elements whose content will be updated]]></description>
+ </attribute>
+ <attribute>
<name>template</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
@@ -5280,10 +5610,10 @@
</attribute>
</tag>
<tag>
- <name>a</name>
- <tag-class>org.apache.struts2.views.jsp.ui.AnchorTag</tag-class>
+ <name>checkbox</name>
+ <tag-class>org.apache.struts2.views.jsp.ui.CheckboxTag</tag-class>
<body-content>JSP</body-content>
- <description><![CDATA[Render a HTML href element that when clicked can optionally call a URL via remote XMLHttpRequest and updates its targets]]></description>
+ <description><![CDATA[Render a checkbox input field]]></description>
<attribute>
<name>accesskey</name>
<required>false</required>
@@ -5309,40 +5639,10 @@
<description><![CDATA[Set the html disabled attribute on rendered html element]]></description>
</attribute>
<attribute>
- <name>errorText</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[The text to display to the user if the is an error fetching the content]]></description>
- </attribute>
- <attribute>
- <name>executeScripts</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Javascript code in the fetched content will be executed]]></description>
- </attribute>
- <attribute>
- <name>formFilter</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Function name used to filter the fields of the form.]]></description>
- </attribute>
- <attribute>
- <name>formId</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Form id whose fields will be serialized and passed as parameters]]></description>
- </attribute>
- <attribute>
- <name>handler</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Javascript function name that will make the request]]></description>
- </attribute>
- <attribute>
- <name>href</name>
+ <name>fieldValue</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
- <description><![CDATA[The URL to call to obtain the content. Note: If used with ajax context, the value must be set as an url tag value.]]></description>
+ <description><![CDATA[The actual HTML value attribute of the checkbox.]]></description>
</attribute>
<attribute>
<name>id</name>
@@ -5351,12 +5651,6 @@
<description><![CDATA[id for referencing element. For UI and form tags it will be used as HTML id attribute]]></description>
</attribute>
<attribute>
- <name>indicator</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Id of element that will be shown while making request]]></description>
- </attribute>
- <attribute>
<name>key</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
@@ -5375,36 +5669,12 @@
<description><![CDATA[Define label position of form element (top/left)]]></description>
</attribute>
<attribute>
- <name>listenTopics</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Topic that will trigger the remote call]]></description>
- </attribute>
- <attribute>
- <name>loadingText</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Text to be shown while content is being fetched]]></description>
- </attribute>
- <attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description><![CDATA[The name to set for element]]></description>
</attribute>
<attribute>
- <name>notifyTopics</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Topics that will published when the remote call completes]]></description>
- </attribute>
- <attribute>
- <name>onLoadJS</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Deprecated. Use 'notifyTopics'. Javascript code execute after reload]]></description>
- </attribute>
- <attribute>
<name>onblur</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
@@ -5489,18 +5759,6 @@
<description><![CDATA[Set the html onselect attribute on rendered html element]]></description>
</attribute>
<attribute>
- <name>openTemplate</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Set template to use for opening the rendered html.]]></description>
- </attribute>
- <attribute>
- <name>preInvokeJS</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Deprecated. Use 'notifyTopics'. Javascript code execute before reload]]></description>
- </attribute>
- <attribute>
<name>required</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
@@ -5513,22 +5771,10 @@
<description><![CDATA[Define required position of required form element (left|right)]]></description>
</attribute>
<attribute>
- <name>showErrorTransportText</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Set whether errors will be shown or not]]></description>
- </attribute>
- <attribute>
<name>tabindex</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description><![CDATA[Set the html tabindex attribute on rendered html element]]></description>
- </attribute>
- <attribute>
- <name>targets</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- <description><![CDATA[Comma delimited list of ids of the elements whose content will be updated]]></description>
</attribute>
<attribute>
<name>template</name>
Added: struts/struts2/trunk/core/src/site/resources/tags/timepicker.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/timepicker.html?view=auto&rev=493654
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/timepicker.html (added)
+++ struts/struts2/trunk/core/src/site/resources/tags/timepicker.html Sat Jan 6 21:43:03 2007
@@ -0,0 +1,354 @@
+<!--
+This file is generated during the build by processing Component class annotations.
+Please do not edit it directly.
+-->
+<html>
+ <head>
+ <title>timepicker</title>
+ </head>
+
+ <body>
+ <h1>Tag Name: timepicker</h1>
+ <h2>Description</h2>
+ <p>
+ <!-- START SNIPPET: tagdescription -->
+ Render timepicker
+ <!-- END SNIPPET: tagdescription -->
+ </p>
+
+ <h2>Attributes</h2>
+ <!-- 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>Evaluated</h4></th>
+ <th align="left" valign="top"><h4>Type</h4></th>
+ <th align="left" valign="top"><h4>Description</h4></th>
+ </tr>
+ <tr>
+ <td align="left" valign="top">accesskey</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html accesskey attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">cssClass</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">The css class to use for element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">cssStyle</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">The css style definitions for element ro use</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">disabled</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html disabled attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">id</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">id for referencing element. For UI and form tags it will be used as HTML id attribute</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">key</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the key (name, value, label) for this particular component</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">label</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Label expression used for rendering a element specific label</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">labelposition</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Define label position of form element (top/left)</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">language</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top">brower's specified preferred language</td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Language to display this widget in</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">maxLength</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">Integer</td>
+ <td align="left" valign="top">Deprecated. Use maxlength instead.</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">maxlength</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">Integer</td>
+ <td align="left" valign="top">HTML maxlength attribute</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">name</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">The name to set for element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">onblur</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top"> Set the html onblur attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">onchange</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html onchange attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">onclick</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html onclick attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">ondblclick</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html ondblclick attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">onfocus</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html onfocus attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">onkeydown</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html onkeydown attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">onkeypress</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html onkeypress attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">onkeyup</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html onkeyup attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">onmousedown</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html onmousedown attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">onmousemove</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html onmousemove attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">onmouseout</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html onmouseout attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">onmouseover</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html onmouseover attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">onmouseup</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html onmouseup attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">onselect</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html onselect attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">readonly</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">Boolean</td>
+ <td align="left" valign="top">Whether the input is readonly</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">required</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">Boolean</td>
+ <td align="left" valign="top">If set to true, the rendered element will indicate that input is required</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">requiredposition</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Define required position of required form element (left|right)</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">size</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">Integer</td>
+ <td align="left" valign="top">HTML size attribute</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">tabindex</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html tabindex attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">template</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">The template (other than default) to use for rendering the element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">templateDir</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">The template directory.</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">theme</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">The theme (other than default) to use for rendering the element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">title</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the html title attribute on rendered html element</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">tooltip</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the tooltip of this particular component</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">tooltipConfig</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Set the tooltip configuration</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">useDefaultMinutes</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">Boolean</td>
+ <td align="left" valign="top">Set default minutes to current time</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">useDefaultTime</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">Boolean</td>
+ <td align="left" valign="top">Set time to current time</td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">value</td>
+ <td align="left" valign="top">false</td>
+ <td align="left" valign="top"></td>
+ <td align="left" valign="top">true</td>
+ <td align="left" valign="top">String</td>
+ <td align="left" valign="top">Preset the value of input element.</td>
+ </tr>
+ </table>
+ <!-- END SNIPPET: tagattributes -->
+ </body>
+</html>
+