From 6c63702c75a67e4c2a9f0dcc7bb868be13374dab Mon Sep 17 00:00:00 2001 From: "Donald J. Brown" Date: Sun, 7 Jan 2007 06:31:35 +0000 Subject: [PATCH] Removing old generated tag docs and xdoclet templates git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@493666 13f79535-47bb-0310-9956-ffa450edef68 --- core/src/main/xdt/Readme-tagdoclet.txt | 33 - core/src/main/xdt/tagdoc-toc.xdt | 40 - core/src/main/xdt/tagdoc.xdt | 78 -- core/src/main/xdt/tags_tld.xdt | 264 ---- docs/tags/ActionComponent.html | 136 -- docs/tags/ActionError.html | 622 --------- docs/tags/ActionMessage.html | 622 --------- docs/tags/Anchor.html | 748 ----------- docs/tags/AppendIterator.html | 64 - docs/tags/Bean.html | 82 -- docs/tags/Checkbox.html | 640 ---------- docs/tags/CheckboxList.html | 676 ---------- docs/tags/ComboBox.html | 802 ------------ docs/tags/Date.html | 118 -- docs/tags/DatePicker.html | 766 ----------- docs/tags/Debug.html | 604 --------- docs/tags/Div.html | 784 ------------ docs/tags/DoubleSelect.html | 1324 ------------------- docs/tags/Else.html | 64 - docs/tags/ElseIf.html | 82 -- docs/tags/FieldError.html | 622 --------- docs/tags/File.html | 658 ---------- docs/tags/Form.html | 820 ------------ docs/tags/GenericUIBean.html | 622 --------- docs/tags/Head.html | 658 ---------- docs/tags/Hidden.html | 622 --------- docs/tags/I18n.html | 82 -- docs/tags/If.html | 82 -- docs/tags/Include.html | 82 -- docs/tags/IteratorComponent.html | 100 -- docs/tags/Label.html | 640 ---------- docs/tags/MergeIterator.html | 64 - docs/tags/OptGroup.html | 154 --- docs/tags/OptionTransferSelect.html | 1576 ----------------------- docs/tags/Param.html | 100 -- docs/tags/Password.html | 712 ----------- docs/tags/Property.html | 118 -- docs/tags/Push.html | 82 -- docs/tags/Radio.html | 676 ---------- docs/tags/Reset.html | 694 ---------- docs/tags/RichTextEditor.html | 1630 ------------------------ docs/tags/Select.html | 766 ----------- docs/tags/Set.html | 118 -- docs/tags/Submit.html | 802 ------------ docs/tags/TabbedPanel.html | 640 ---------- docs/tags/Text.html | 82 -- docs/tags/TextArea.html | 694 ---------- docs/tags/TextField.html | 694 ---------- docs/tags/Token.html | 622 --------- docs/tags/Tree.html | 1054 --------------- docs/tags/TreeNode.html | 640 ---------- docs/tags/URL.html | 280 ---- docs/tags/UpDownSelect.html | 874 ------------- docs/tags/WebTable.html | 694 ---------- docs/tags/index.html | 556 -------- 55 files changed, 27859 deletions(-) delete mode 100644 core/src/main/xdt/Readme-tagdoclet.txt delete mode 100644 core/src/main/xdt/tagdoc-toc.xdt delete mode 100644 core/src/main/xdt/tagdoc.xdt delete mode 100644 core/src/main/xdt/tags_tld.xdt delete mode 100644 docs/tags/ActionComponent.html delete mode 100644 docs/tags/ActionError.html delete mode 100644 docs/tags/ActionMessage.html delete mode 100644 docs/tags/Anchor.html delete mode 100644 docs/tags/AppendIterator.html delete mode 100644 docs/tags/Bean.html delete mode 100644 docs/tags/Checkbox.html delete mode 100644 docs/tags/CheckboxList.html delete mode 100644 docs/tags/ComboBox.html delete mode 100644 docs/tags/Date.html delete mode 100644 docs/tags/DatePicker.html delete mode 100644 docs/tags/Debug.html delete mode 100644 docs/tags/Div.html delete mode 100644 docs/tags/DoubleSelect.html delete mode 100644 docs/tags/Else.html delete mode 100644 docs/tags/ElseIf.html delete mode 100644 docs/tags/FieldError.html delete mode 100644 docs/tags/File.html delete mode 100644 docs/tags/Form.html delete mode 100644 docs/tags/GenericUIBean.html delete mode 100644 docs/tags/Head.html delete mode 100644 docs/tags/Hidden.html delete mode 100644 docs/tags/I18n.html delete mode 100644 docs/tags/If.html delete mode 100644 docs/tags/Include.html delete mode 100644 docs/tags/IteratorComponent.html delete mode 100644 docs/tags/Label.html delete mode 100644 docs/tags/MergeIterator.html delete mode 100644 docs/tags/OptGroup.html delete mode 100644 docs/tags/OptionTransferSelect.html delete mode 100644 docs/tags/Param.html delete mode 100644 docs/tags/Password.html delete mode 100644 docs/tags/Property.html delete mode 100644 docs/tags/Push.html delete mode 100644 docs/tags/Radio.html delete mode 100644 docs/tags/Reset.html delete mode 100644 docs/tags/RichTextEditor.html delete mode 100644 docs/tags/Select.html delete mode 100644 docs/tags/Set.html delete mode 100644 docs/tags/Submit.html delete mode 100644 docs/tags/TabbedPanel.html delete mode 100644 docs/tags/Text.html delete mode 100644 docs/tags/TextArea.html delete mode 100644 docs/tags/TextField.html delete mode 100644 docs/tags/Token.html delete mode 100644 docs/tags/Tree.html delete mode 100644 docs/tags/TreeNode.html delete mode 100644 docs/tags/URL.html delete mode 100644 docs/tags/UpDownSelect.html delete mode 100644 docs/tags/WebTable.html delete mode 100644 docs/tags/index.html diff --git a/core/src/main/xdt/Readme-tagdoclet.txt b/core/src/main/xdt/Readme-tagdoclet.txt deleted file mode 100644 index cfcb3203f..000000000 --- a/core/src/main/xdt/Readme-tagdoclet.txt +++ /dev/null @@ -1,33 +0,0 @@ -Struts Custom Tagdoclet -================================ - -The provided xdoclet templates are based on original xdoclet distribution templates for tld generation. - -The annotations may be used for classes extending TagSupport or org.apache.struts2.components.Component. If used in component -classes, you will also need a TagSupport wrapper class to generate valid tld (see @a2:tag#tld-tag-class). - -Following a description of the provided tags and their parameters: - -@a2.tag (Class javadoc) ------------------------ -Mark annotated class as end user tag provider - -Parameters | Required/Default | Description ---------------------------------------------------------------------------------------------------------- -name | true/- | Tag name -tld-body-content | false/"JSP" | body-content param for tld -tld-tag-class | */current Class | TagSupport class (*required if current class is not) -description | false/"" | Tag description. If not provided, javadoc content is used. - - -@a2.tagattribute (Setter method javadoc) ----------------------------------------- -Mark annotated setter as tag attribute, usable for end user tag provider class and each superclass - -Parameters | Required/Default | Description ---------------------------------------------------------------------------------------------------------- -required | no/"false" | Whether attribute is required -default | no/"" | Default value if not supplied -type | no/"String/Object" | DESCRIPTIVE Type, for documentation -tld-type | no/"" | ACTUAL JAVA TYPE, if explicitely needed for element in tld -description | no/"" | Tag attribute description. If not provided, javadoc content is used. diff --git a/core/src/main/xdt/tagdoc-toc.xdt b/core/src/main/xdt/tagdoc-toc.xdt deleted file mode 100644 index b5a7b7f85..000000000 --- a/core/src/main/xdt/tagdoc-toc.xdt +++ /dev/null @@ -1,40 +0,0 @@ - - -Struts <XDtConfig:configParameterValue paramName="Taglibversion"/> Taglib Index - - - - -

Struts Taglib Index

-

- - - - - - - - - - - - - - - - -
-< /> - - - - - -No Description - -
- -

- - - diff --git a/core/src/main/xdt/tagdoc.xdt b/core/src/main/xdt/tagdoc.xdt deleted file mode 100644 index 0152aca97..000000000 --- a/core/src/main/xdt/tagdoc.xdt +++ /dev/null @@ -1,78 +0,0 @@ - - - - -<a2:<XDtClass:classTagValue tagName="a2:tag" paramName="name"/> /> - - - - -

Tag Name: <a2: />

- -

Description

-

- - - - - - -No Description - - -

- -

- -

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

false Object/String
- - -

-

-

Back to Taglib Index
-

- - - -
diff --git a/core/src/main/xdt/tags_tld.xdt b/core/src/main/xdt/tags_tld.xdt deleted file mode 100644 index 977f1ff34..000000000 --- a/core/src/main/xdt/tags_tld.xdt +++ /dev/null @@ -1,264 +0,0 @@ -"?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - ]]> - - - - - - - - - - - - - - ]]> - - - - - - - - - - - - - - - ]]> - - - - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ]]> - - - - - - - - - - - - ]]> - - - ]]> - - - - - - - - - - - - true - - - - - - - - - ]]> - - - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ]]> - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/tags/ActionComponent.html b/docs/tags/ActionComponent.html deleted file mode 100644 index 476cfc2bd..000000000 --- a/docs/tags/ActionComponent.html +++ /dev/null @@ -1,136 +0,0 @@ - - - -<a2:action /> - - - - -

Tag Name: <a2:action />

- -

Description

-

- -Execute an action from within a view - -

- -

-

This tag enables developers to call actions directly from a JSP page by specifying the action name and an optional namespace. The body content of the tag is used to render the results from the Action. Any result processor defined for this action in xwork.xml will be ignored, unless the executeResult parameter is specified.

  public class ActionTagAction extends ActionSupport { public String execute() throws Exception { return "done"; } public String doDefault() throws Exception { ServletActionContext.getRequest().setAttribute("stringByAction", "This is a String put in by the action's doDefault()"); return "done"; } }  
   ....  success.jsp   success.jsp  ....   
  
The following action tag will execute result and include it in this page


The following action tag will do the same as above, but invokes method specialMethod in action


The following action tag will not execute result, but put a String in request scope under an id "stringByAction" which will be retrieved using property tag
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

idfalse Stringthe id (if speficied) to put the action under stack's context.
nametrue Stringname of the action to be executed (without the extension suffix eg. .action)
namespacefalsenamespace from where tag is usedStringnamespace for action to call
executeResultfalsefalseBooleanwhether the result of this action (probably a view) should be executed/rendered
ignoreContextParamsfalsefalseBooleanwhether the request parameters are to be included when the action is invoked
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/ActionError.html b/docs/tags/ActionError.html deleted file mode 100644 index 5ff540410..000000000 --- a/docs/tags/ActionError.html +++ /dev/null @@ -1,622 +0,0 @@ - - - -<a2:actionerror /> - - - - -

Tag Name: <a2:actionerror />

- -

Description

-

- -Render action errors if they exists - -

- -

- Render action errors if they exists the specific layout of the rendering depends on the theme itself.

Examples

  <a:actionerror /> <a:form .... >> .... </a:form>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/ActionMessage.html b/docs/tags/ActionMessage.html deleted file mode 100644 index 1c402128b..000000000 --- a/docs/tags/ActionMessage.html +++ /dev/null @@ -1,622 +0,0 @@ - - - -<a2:actionmessage /> - - - - -

Tag Name: <a2:actionmessage />

- -

Description

-

- -Render action messages if they exists - -

- -

- Render action messages if they exists, specific rendering layout depends on the theme itself.

Examples

  <a:actionmessage /> <a:form .... > .... </a:form>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Anchor.html b/docs/tags/Anchor.html deleted file mode 100644 index 663d66649..000000000 --- a/docs/tags/Anchor.html +++ /dev/null @@ -1,748 +0,0 @@ - - - -<a2:a /> - - - - -

Tag Name: <a2:a />

- -

Description

-

- -Render a HTML href element that when clicked calls a URL via remote XMLHttpRequest - -

- -

- A tag that creates a HTML <a href='' /> that when clicked calls a URL remote XMLHttpRequest call via the dojo framework. The result from the URL is executed as JavaScript. If a "listenTopics" is supplied, it will publish a 'click' message to that topic when the result is returned.

Examples

  <a:a id="link1" theme="ajax" href="/DoIt.action" errorText="An error ocurred" showErrorTransportText="true"> <img border="none" src="<%=request.getContextPath()%>/images/delete.gif"/> <a:param name="id" value="1"/> </a:a>  

Results in

  <a dojoType="BindAnchor" evalResult="true" id="link1" href="/DoIt.action?id=1" errorHtml="An error ocurred" showTransportError="true"></a>  

Here is an example that uses the postInvokeJS. This example is in altSyntax=true:

  <a:a id="test" theme="ajax" href="/simpeResult.action" preInvokeJS="confirm(\'You sure\')"> A </a:a>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

idfalse StringThe id to assign the component
notifyTopicsfalse Object/StringTopic names to post an event to after the remote call has been made
preInvokeJSfalse StringA javascript snippet that will be invoked prior to the execution of the target href. If provided must return true or false. True indicates to continue executing target, false says do not execute link target. Possible uses are for confirm dialogs.
themefalse StringThe theme to use for the element. This tag will usually use the ajax theme.
hreffalse StringThe URL to call to obtain the content
errorTextfalse StringThe text to display to the user if the is an error fetching the content
showErrorTransportTextfalsefalseBooleanwhen to show the error message as content when the URL had problems
afterLoadingfalse StringJavascript code that will be executed after the content has been fetched
openTemplatefalse Object/StringSet template to use for opening the rendered html.
templateDirfalse Object/StringThe template directory.
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/AppendIterator.html b/docs/tags/AppendIterator.html deleted file mode 100644 index e1a9b4c35..000000000 --- a/docs/tags/AppendIterator.html +++ /dev/null @@ -1,64 +0,0 @@ - - - -<a2:append /> - - - - -

Tag Name: <a2:append />

- -

Description

-

- -Append the values of a list of iterators to one iterator - -

- -

-

Component for AppendIteratorTag, which jobs is to append iterators to form an appended iterator whereby entries goes from one iterator to another after each respective iterator is exhausted of entries.

For example, if there are 3 iterator appended (each iterator has 3 entries), the following will be how the appended iterator entries will be arranged:

  1. First Entry of the First Iterator
  2. Second Entry of the First Iterator
  3. Third Entry of the First Iterator
  4. First Entry of the Second Iterator
  5. Second Entry of the Second Iterator
  6. Third Entry of the Second Iterator
  7. First Entry of the Third Iterator
  8. Second Entry of the Third Iterator
  9. Third Entry of the Third ITerator
public class AppendIteratorTagAction extends ActionSupport { private List myList1; private List myList2; private List myList3; public String execute() throws Exception { myList1 = new ArrayList(); myList1.add("1"); myList1.add("2"); myList1.add("3"); myList2 = new ArrayList(); myList2.add("a"); myList2.add("b"); myList2.add("c"); myList3 = new ArrayList(); myList3.add("A"); myList3.add("B"); myList3.add("C"); return "done"; } public List getMyList1() { return myList1; } public List getMyList2() { return myList2; } public List getMyList3() { return myList3; } } <a:append id="myAppendIterator"> <a:param value="%{myList1}" /> <a:param value="%{myList2}" /> <a:param value="%{myList3}" /> </a:append> <a:iterator value="%{#myAppendIterator}"> <a:property /> </a:iterator> -

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

idfalse Object/Stringthe id of which if supplied will have the resultant appended iterator stored under in the stack's context
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Bean.html b/docs/tags/Bean.html deleted file mode 100644 index b70ec41af..000000000 --- a/docs/tags/Bean.html +++ /dev/null @@ -1,82 +0,0 @@ - - - -<a2:bean /> - - - - -

Tag Name: <a2:bean />

- -

Description

-

- -Instantiate a JavaBean and place it in the context. - -

- -

-

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.

If the id attribute is set on the BeanTag, it will place the instantiated bean into the stack's Context.

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.
[/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>

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.

In the above example, the id has been set to a value of counter. This means that the SimpleCounter class will be placed into the stack's context. You can access the SimpleCounter class using WW's tag:

 <-- jsp form --> <a:property value="#counter" /> <-- freemarker form --> [a:property value="#counter.foo"/] 

In the property tag example, the # tells Ognl to search the context for the SimpleCounter class which has an id(key) of counter

-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

nametrue Stringthe class name of the bean to be instantiated (must respect JavaBean specification)
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Checkbox.html b/docs/tags/Checkbox.html deleted file mode 100644 index a53441598..000000000 --- a/docs/tags/Checkbox.html +++ /dev/null @@ -1,640 +0,0 @@ - - - -<a2:checkbox /> - - - - -

Tag Name: <a2:checkbox />

- -

Description

-

- -Render a checkbox input field - -

- -

- Renders an HTML input element of type checkbox, populated by the specified property from the OgnlValueStack.

Examples

  JSP: <a:checkbox label="checkbox test" name="checkboxField1" value="aBoolean" fieldValue="true"/> Velocity: #tag( Checkbox "label=checkbox test" "name=checkboxField1" "value=aBoolean" ) Resulting HTML (simple template, aBoolean == true): <input type="checkbox" name="checkboxField1" value="true" checked="checked" />  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

fieldValuefalse'true'Object/StringThe actual HTML value attribute of the checkbox.
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/CheckboxList.html b/docs/tags/CheckboxList.html deleted file mode 100644 index b10df56bf..000000000 --- a/docs/tags/CheckboxList.html +++ /dev/null @@ -1,676 +0,0 @@ - - - -<a2:checkboxlist /> - - - - -

Tag Name: <a2:checkboxlist />

- -

Description

-

- -Render a list of checkboxes - -

- -

- Creates a series of checkboxes from a list. Setup is like <a:select /> or <a:radio />, but creates checkbox tags.

Examples

  <a:checkboxlist name="foo" list="bar"/>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

listtrue Object/StringIterable source to populate from. If the list is a Map (key, value), the Map key will become the option "value" parameter and the Map value will become the option body.
listKeyfalse Object/StringProperty of list objects to get field value from
listValuefalse Object/StringProperty of list objects to get field content from
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/ComboBox.html b/docs/tags/ComboBox.html deleted file mode 100644 index 93e3b0bf7..000000000 --- a/docs/tags/ComboBox.html +++ /dev/null @@ -1,802 +0,0 @@ - - - -<a2:combobox /> - - - - -

Tag Name: <a2:combobox />

- -

Description

-

- -Widget that fills a text box from a select - -

- -

- The combo box is basically an HTML INPUT of type text and HTML SELECT grouped together to give you a combo box functionality. You can place text in the INPUT control by using the SELECT control or type it in directly in the text field.

In this example, the SELECT will be populated from id=year attribute. Counter is itself an Iterator. It will span from first to last. The population is done via javascript, and requires that this tag be surrounded by a <form>.

Note that unlike the <a:select/> tag, there is no ability to define the individual <option> tags' id attribute or content separately. Each of these is simply populated from the toString() method of the list item. Presumably this is because the select box isn't intended to actually submit useful data, but to assist the user in filling out the text field.

Examples

  JSP: <-- Example One --> <a:bean name="struts.util.Counter" id="year"> <a:param name="first" value="text('firstBirthYear')"/> <a:param name="last" value="2000"/> <a:combobox label="Birth year" size="6" maxlength="4" name="birthYear" list="#year"/> </a:bean> <-- Example Two -->  <-- Example Two -->  Velocity: #tag( ComboBox "label=Birth year" "size=6" "maxlength=4" "name=birthYear" "list=#year" )  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

listtrue Object/StringIteratable source to populate from. If this is missing, the select widget is simply not displayed.
emptyOptionfalse Object/StringDecide if an empty option is to be inserted. Default false.
headerKeyfalse Object/Stringset the header key for the header option.
headerValuefalse Object/Stringset the header value for the header option.
listKeyfalse Object/Stringset the key used to retrive the option key.
listValuefalse Object/Stringset the value used to retrive the option value.
maxlengthfalse IntegerHTML maxlength attribute
maxLengthfalse Object/StringDeprecated. Use maxlength instead.
readonlyfalsefalseBooleanWhether the input is readonly
sizefalse IntegerHTML size attribute
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Date.html b/docs/tags/Date.html deleted file mode 100644 index 2e2e9c7f6..000000000 --- a/docs/tags/Date.html +++ /dev/null @@ -1,118 +0,0 @@ - - - -<a2:date /> - - - - -

Tag Name: <a2:date />

- -

Description

-

- -Render a formatted date. - -

- -

- Format Date object in different ways.

The date tag will allow you to format a Date in a quick and easy way. You can specify a custom format (eg. "dd/MM/yyyy hh:mm"), you can generate easy readable notations (like "in 2 hours, 14 minutes"), or you can just fall back on a predefined format with key 'struts.date.format' in your properties file. If that key is not defined, it will finally fall back to the default DateFormat.MEDIUM formatting. Note: If the requested Date object isn't found on the stack, a blank will be returned.

Configurable attributes are :-

Following how the date component will work, depending on the value of nice attribute (which by default is false) and the format attribute.

Condition 1: With nice attribute as true
i18n key default
struts.date.format.past {0} ago
struts.date.format.future in {0}
struts.date.format.seconds an instant
struts.date.format.minutes {0,choice,1#one minute|1<{0} minutes}
struts.date.format.hours {0,choice,1#one hour|1<{0} hours}{1,choice,0#|1#, one minute|1<, {1} minutes}
struts.date.format.days {0,choice,1#one day|1<{0} days}{1,choice,0#|1#, one hour|1<, {1} hours}
struts.date.format.years {0,choice,1#one year|1<{0} years}{1,choice,0#|1#, one day|1<, {1} days}

Condition 2: With nice attribute as false and format attribute is specified eg. dd/MM/yyyyy

In this case the format attribute will be used.

Condition 3: With nice attribute as false and no format attribute is specified
i18n key default
struts.date.format if one is not found DateFormat.MEDIUM format will be used

Examples

  <a:date name="person.birthday" format="dd/MM/yyyy" /> <a:date name="person.birthday" format="%{getText('some.i18n.key')}" /> <a:date name="person.birthday" nice="true" /> <a:date name="person.birthday" />  
Date -

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

formatfalse Object/StringDate or DateTime format pattern
nicefalsefalseBooleanWhether to print out the date nicely
nametrue StringThe date value to format
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/DatePicker.html b/docs/tags/DatePicker.html deleted file mode 100644 index 04604473f..000000000 --- a/docs/tags/DatePicker.html +++ /dev/null @@ -1,766 +0,0 @@ - - - -<a2:datepicker /> - - - - -

Tag Name: <a2:datepicker />

- -

Description

-

- -Render datepicker - -

- -

- Renders datepicker element.

Check locale and format settings if you used the old widget in your applications. Be sure to include proper stylesheet as described below if you don't want the calender widget to look transparent.

Important: Be sure to set the id attributs if not used within a <a:form /> tag, as it takes care of setting the id for you, being required to copy selected date to text input element.

Following a reference for the format parameter (copied from jscalendar documentation):
%a abbreviated weekday name
%A full weekday name
%b abbreviated month name
%B full month name
%C century number
%d the day of the month ( 00 .. 31 )
%e the day of the month ( 0 .. 31 )
%H hour ( 00 .. 23 )
%I hour ( 01 .. 12 )
%j day of the year ( 000 .. 366 )
%k hour ( 0 .. 23 )
%l hour ( 1 .. 12 )
%m month ( 01 .. 12 )
%M minute ( 00 .. 59 )
%n a newline character
%p ``PM'' or ``AM''
%P ``pm'' or ``am''
%S second ( 00 .. 59 )
%s number of seconds since Epoch (since Jan 01 1970 00:00:00 UTC)
%t a tab character
%U, %W, %V the week number
%u the day of the week ( 1 .. 7, 1 = MON )
%w the day of the week ( 0 .. 6, 0 = SUN )
%y year without the century ( 00 .. 99 )
%Y year including the century ( ex. 1979 )
%% a literal % character

Examples

  Date in application's locale format: <a:datepicker name="order.date" id="order.date" /> Date in german locale, with german texts: <a:datepicker name="delivery.date" id="delivery.date" template="datepicker_js.ftl" language="de" /> Date in german locale, with german texts and custom date format, including time: <a:datepicker name="invoice.date" id="invoice.date" template="datepicker_js.ftl" language="de" format="%d. %b &Y %H:%M" showstime="true" />  

If you use this jscalendar based datepicker widget, you might want to use one of the standard stylesheets provided with jscalendar (all distribution stylesheets are included in struts jar). The easiest way to do so is to place the <a:head/> tag in the head of your html page, as it takes care of including calendar css. Otherwise, to manually activate the calendar-blue style, include the following in your stylesheet definition:

  <link href="<a:url value="/struts/jscalendar/calendar-blue.css" />" rel="stylesheet" type="text/css" media="all"/>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

languagefalseThe language of the current LocaleStringThe language to use for the widget texts and localization presets.
formatfalseDateformat specified by language preset (%Y/%m/%d for en)StringThe format to use for date field.
showstimefalsefalseStringWhether time selector is to be shown. Valid values are "true", "false", "24" and "12".
singleclickfalsetrueBooleanWhether to use selected value after single or double click.
maxlengthfalse IntegerHTML maxlength attribute
maxLengthfalse Object/StringDeprecated. Use maxlength instead.
readonlyfalsefalseBooleanWhether the input is readonly
sizefalse IntegerHTML size attribute
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Debug.html b/docs/tags/Debug.html deleted file mode 100644 index 665753b68..000000000 --- a/docs/tags/Debug.html +++ /dev/null @@ -1,604 +0,0 @@ - - - -<a2:debug /> - - - - -

Tag Name: <a2:debug />

- -

Description

-

- -Render debug tag - -

- -

-

Renders an debug tag.

The debug information contain mostly stack information:

Examples

  <a:debug/>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Div.html b/docs/tags/Div.html deleted file mode 100644 index ab36e46a4..000000000 --- a/docs/tags/Div.html +++ /dev/null @@ -1,784 +0,0 @@ - - - -<a2:div /> - - - - -

Tag Name: <a2:div />

- -

Description

-

- -Render HTML div providing content from remote call via AJAX - -

- -

- The div tag is primarily an AJAX tag, providing a remote call from the current page to update a section of content without having to refresh the entire page.

It creates a HTML <DIV /> that obtains it's content via a remote XMLHttpRequest call via the dojo framework.

If a "listenTopics" is supplied, it will listen to that topic and refresh it's content when any message is received.

Important: Be sure to setup the page containing this tag to be Configured for AJAX

Examples

  <a:div ... />  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

updateFreqfalse0IntegerHow often to re-fetch the content (in milliseconds)
delayfalse0IntegerHow long to wait before fetching the content (in milliseconds)
loadingTextfalse Object/StringThe text to display to the user while the new content is being fetched (especially good if the content will take awhile)
listenTopicsfalse Object/StringTopic name to listen to (comma delimited), that will cause the DIV's content to be re-fetched
themefalse StringThe theme to use for the element. This tag will usually use the ajax theme.
hreffalse StringThe URL to call to obtain the content
errorTextfalse StringThe text to display to the user if the is an error fetching the content
showErrorTransportTextfalsefalseBooleanwhen to show the error message as content when the URL had problems
afterLoadingfalse StringJavascript code that will be executed after the content has been fetched
openTemplatefalse Object/StringSet template to use for opening the rendered html.
templateDirfalse Object/StringThe template directory.
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/DoubleSelect.html b/docs/tags/DoubleSelect.html deleted file mode 100644 index cd63471c4..000000000 --- a/docs/tags/DoubleSelect.html +++ /dev/null @@ -1,1324 +0,0 @@ - - - -<a2:doubleselect /> - - - - -

Tag Name: <a2:doubleselect />

- -

Description

-

- -Renders two HTML select elements with second one changing displayed values depending on selected entry of first one. - -

- -

- Renders two HTML select elements with second one changing displayed values depending on selected entry of first one.

Examples

  <a:doubleselect label="doubleselect test1" name="menu" list="{'fruit','other'}" doubleName="dishes" doubleList="top == 'fruit' ? {'apple', 'orange'} : {'monkey', 'chicken'}" /> <a:doubleselect label="doubleselect test2" name="menu" list="#{'fruit':'Nice Fruits', 'other':'Other Dishes'}" doubleName="dishes" doubleList="top == 'fruit' ? {'apple', 'orange'} : {'monkey', 'chicken'}" />  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

doubleListtrue Object/StringThe second iterable source to populate from.
doubleListKeyfalse Object/StringThe key expression to use for second list
doubleListValuefalse Object/StringThe value expression to use for second list
doubleNametrue Object/StringThe name for complete component
doubleValuefalse Object/StringThe value expression for complete component
formNamefalse Object/StringThe form name this component resides in and populates to
doubleCssClassfalse Object/StringThe css class for the second list
doubleCssStylefalse Object/StringThe css style for the second list
doubleHeaderKeyfalse Object/StringThe header key for the second list
doubleHeaderValuefalse Object/StringThe header value for the second list
doubleEmptyOptionfalse Object/StringDecides if the second list will add an empty option
doubleDisabledfalse Object/StringDecides if a disable attribute should be added to the second list
doubleIdfalse Object/StringThe id of the second list
doubleMultiplefalse Object/StringDecides if multiple attribute should be set on the second list
doubleOnblurfalse Object/StringSet the onblur attribute of the second list
doubleOnchangefalse Object/StringSet the onchange attribute of the second list
doubleOnclickfalse Object/StringSet the onclick attribute of the second list
doubleOndblclickfalse Object/StringSet the ondbclick attribute of the second list
doubleOnfocusfalse Object/StringSet the onfocus attribute of the second list
doubleOnkeydownfalse Object/StringSet the onkeydown attribute of the second list
doubleOnkeypressfalse Object/StringSet the onkeypress attribute of the second list
doubleOnkeyupfalse Object/StringSet the onkeyup attribute of the second list
doubleOnmousedownfalse Object/StringSet the onmousedown attribute of the second list
doubleOnmousemovefalse Object/StringSet the onmousemove attribute of the second list
doubleOnmouseoutfalse Object/StringSet the onmouseout attribute of the second list
doubleOnmouseoverfalse Object/StringSet the onmouseover attribute of the second list
doubleOnmouseupfalse Object/StringSet the onmouseup attribute of the second list
doubleOnselectfalse Object/StringSet the onselect attribute of the second list
doubleSizefalse Object/StringSet the size attribute of the second list
doubleListKeyfalse Object/StringSet the list key of the second attribute
emptyOptionfalsefalseBooleanDecides of an empty option is to be inserted in the second list
headerKeyfalse Object/StringSet the header key of the second list. Must not be empty! "'-1'" and "''" is correct, "" is bad.
headerValuefalse Object/StringSet the header value of the second list
multiplefalse Object/StringCreates a multiple select. The tag will pre-select multiple values if the values are passed as an Array (of appropriate types) via the value attribute.
sizefalse IntegerSize of the element box (# of elements to show)
doubleAccesskeyfalse Object/StringSet the html accesskey attribute.
listtrue Object/StringIterable source to populate from. If the list is a Map (key, value), the Map key will become the option "value" parameter and the Map value will become the option body.
listKeyfalse Object/StringProperty of list objects to get field value from
listValuefalse Object/StringProperty of list objects to get field content from
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Else.html b/docs/tags/Else.html deleted file mode 100644 index d40b272ea..000000000 --- a/docs/tags/Else.html +++ /dev/null @@ -1,64 +0,0 @@ - - - -<a2:else /> - - - - -

Tag Name: <a2:else />

- -

Description

-

- -Else tag - -

- -

-

Perform basic condition flow. 'If' tag could be used by itself or with 'Else If' Tag and/or single/multiple 'Else' Tag.

no params
  <a:if test="%{false}"> <div>Will Not Be Executed</div> </a:if> <a:elseif test="%{true}"> <div>Will Be Executed</div> </a:elseif> <a:else> <div>Will Not Be Executed</div> </a:else>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/ElseIf.html b/docs/tags/ElseIf.html deleted file mode 100644 index 39cf18c97..000000000 --- a/docs/tags/ElseIf.html +++ /dev/null @@ -1,82 +0,0 @@ - - - -<a2:elseif /> - - - - -

Tag Name: <a2:elseif />

- -

Description

-

- -Elseif tag - -

- -

-

Perform basic condition flow. 'If' tag could be used by itself or with 'Else If' Tag and/or single/multiple 'Else' Tag.

  <a:if test="%{false}"> <div>Will Not Be Executed</div> </a:if> <a:elseif test="%{true}"> <div>Will Be Executed</div> </a:elseif> <a:else> <div>Will Not Be Executed</div> </a:else>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

testtrue BooleanExpression to determine if body of tag is to be displayed
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/FieldError.html b/docs/tags/FieldError.html deleted file mode 100644 index 091696918..000000000 --- a/docs/tags/FieldError.html +++ /dev/null @@ -1,622 +0,0 @@ - - - -<a2:fielderror /> - - - - -

Tag Name: <a2:fielderror />

- -

Description

-

- -Render field error (all or partial depending on param tag nested)if they exists - -

- -

- Render field errors if they exists. Specific layout depends on the particular theme.

Examples

  <!-- example 1 --> <a:fielderror /> <!-- example 2 --> <a:fielderror> <a:param>field1</a:param> <a:param>field2</a:param> </a:fielderror> <a:form .... >> .... </a:form> OR <a:fielderror> <a:param value="%{'field1'}" /> <a:param value="%{'field2'}" /> </a:fielderror> <a:form .... >> .... </a:form>  

Description

  Example 1: display all field errors

Example 2: display field errors only for 'field1' and 'field2'

-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/File.html b/docs/tags/File.html deleted file mode 100644 index a02ff1f6a..000000000 --- a/docs/tags/File.html +++ /dev/null @@ -1,658 +0,0 @@ - - - -<a2:file /> - - - - -

Tag Name: <a2:file />

- -

Description

-

- -Render a file input field - -

- -

- Renders an HTML file input element.

Examples

  <a:file name="anUploadFile" accept="text/*" /> <a:file name="anohterUploadFIle" accept="text/html,text/plain" />  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

acceptfalse Object/StringHTML accept attribute to indicate accepted file mimetypes
sizefalse IntegerHTML size attribute
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Form.html b/docs/tags/Form.html deleted file mode 100644 index fbaa65ef1..000000000 --- a/docs/tags/Form.html +++ /dev/null @@ -1,820 +0,0 @@ - - - -<a2:form /> - - - - -

Tag Name: <a2:form />

- -

Description

-

- -Renders an input form - -

- -

-

Renders HTML an input form.

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.

NOTE:

The order / logic in determining the posting url of the generated HTML form is as follows:-

  1. If the action attribute is not specified, then the current request will be used to determine the posting url
  2. 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.
  3. 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.

Examples

  

<a:form ... />

-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

onsubmitfalse Object/StringHTML onsubmit attribute
actionfalsecurrent actionObject/StringSet action nane to submit to, without .action suffix
targetfalse Object/StringHTML form target attribute
enctypefalse Object/StringHTML form enctype attribute
methodfalse Object/StringHTML form method attribute
namespacefalsecurrent namespaceObject/Stringnamespace for action to submit to
validatefalsefalseBooleanWhether client side/remote validation should be performed. Only useful with theme xhtml/ajax
portletModefalse Object/StringThe portlet mode to display after the form submit
windowStatefalse Object/StringThe window state to display after the form submit
acceptcharsetfalse Object/StringThe accepted charsets for this form. The values may be comma or blank delimited.
openTemplatefalse Object/StringSet template to use for opening the rendered html.
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/GenericUIBean.html b/docs/tags/GenericUIBean.html deleted file mode 100644 index 8139280c8..000000000 --- a/docs/tags/GenericUIBean.html +++ /dev/null @@ -1,622 +0,0 @@ - - - -<a2:component /> - - - - -

Tag Name: <a2:component />

- -

Description

-

- -Render a custom ui widget - -

- -

- Renders an custom UI widget using the specified templates. Additional objects can be passed in to the template using the param tags.

Freemarker:

Objects provided can be retrieve from within the template via $parameters._paramname_.

Jsp:

Objects provided can be retrieve from within the template via <s:property value="%{parameters._paramname_}" />

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:-

Freemarker:

$parameters.get('key1') and $parameters.get('key2') or $parameters.key1 and $parameters.key2

Jsp:

<s:property value="%{parameters.key1}" /> and <s:property value="%{'parameters.key2'}" /> or <s:property value="%{parameters.get('key1')}" /> and <s:property value="%{parameters.get('key2')}" />

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.

Remember: 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)

Examples

  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 #s-component( "template=/my/custom/component.vm" ) or #s-component( "template=/my/custom/component.vm" ) #s-param( "name=key1" "value=value1" ) #s-param( "name=key2" "value=value2" ) #end Freemarker <@s.component template="/my/custom/component.ftl" /> or <@s.component template="/my/custom/component.ftl"> <@s.param name="key1" value="%{'value1'}" /> <@s.param name="key2" value="%{'value2'}" /> </@s.component>  

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. -

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Head.html b/docs/tags/Head.html deleted file mode 100644 index 6746d4b21..000000000 --- a/docs/tags/Head.html +++ /dev/null @@ -1,658 +0,0 @@ - - - -<a2:head /> - - - - -

Tag Name: <a2:head />

- -

Description

-

- -Render a chunk of HEAD for your HTML file - -

- -

- Renders parts of the HEAD section for an HTML file. This is useful as some themes require certain CSS and JavaScript includes.

If, for example, your page has ajax components integrated, without having the default theme set to ajax, you might want to use the head tag with theme="ajax" so that the typical ajax header setup will be included in the page.

The tag also includes the option to set a custom datepicker theme if needed. See calendarcss parameter for description for details.

If you use the ajax theme you can turn a debug flag on by setting the debug parameter to true.

Examples

  <head> <title>My page</title> <a:head/> </head>  
  <head> <title>My page</title> <a:head theme="ajax" calendarcss="calendar-green"/> </head>  
  <head> <title>My page</title> <a:head theme="ajax" debug="true"/> </head>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

calendarcssfalse Object/StringThe jscalendar css theme to use" default="calendar-blue.css
debugfalse Object/StringSet to true to enable debugging mode for AJAX themes
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Hidden.html b/docs/tags/Hidden.html deleted file mode 100644 index 86424e9c2..000000000 --- a/docs/tags/Hidden.html +++ /dev/null @@ -1,622 +0,0 @@ - - - -<a2:hidden /> - - - - -

Tag Name: <a2:hidden />

- -

Description

-

- -Render a hidden input field - -

- -

- Renders an HTML input element of type hidden, populated by the specified property from the OgnlValueStack.

Examples

  <-- example one --> <a:hidden name="foo" /> <-- example two --> <a:hidden name="foo" value="bar" /> Example One Resulting HTML (if foo evaluates to bar): <input type="hidden" name="foo" value="bar" /> Example Two Resulting HTML (if getBar method of the action returns 'bar') <input type="hidden" name="foo" value="bar" />  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/I18n.html b/docs/tags/I18n.html deleted file mode 100644 index e3e61e8ee..000000000 --- a/docs/tags/I18n.html +++ /dev/null @@ -1,82 +0,0 @@ - - - -<a2:i18n /> - - - - -

Tag Name: <a2:i18n />

- -

Description

-

- -Get a resource bundle and place it on the value stack - -

- -

- Gets a resource bundle and place it on the value stack. This allows the text tag to access messages from any bundle, and not just the bundle associated with the current action.

Example:

  <a:i18n name="myCustomBundle"> The i18n value for key aaa.bbb.ccc in myCustomBundle is <a:property value="text('aaa.bbb.ccc')" /> </a:i18n>  
  <a:i18n name="some.package.bundle" > <a:text name="some.key" /> </a:i18n>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

nametrueStringObject/StringName of ressource bundle to use (eg foo/bar/customBundle)
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/If.html b/docs/tags/If.html deleted file mode 100644 index 18f5f9d5d..000000000 --- a/docs/tags/If.html +++ /dev/null @@ -1,82 +0,0 @@ - - - -<a2:if /> - - - - -

Tag Name: <a2:if />

- -

Description

-

- -If tag - -

- -

-

Perform basic condition flow. 'If' tag could be used by itself or with 'Else If' Tag and/or single/multiple 'Else' Tag.

  <a:if test="%{false}"> <div>Will Not Be Executed</div> </a:if> <a:elseif test="%{true}"> <div>Will Be Executed</div> </a:elseif> <a:else> <div>Will Not Be Executed</div> </a:else>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

testtrue BooleanExpression to determine if body of tag is to be displayed
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Include.html b/docs/tags/Include.html deleted file mode 100644 index d321db0db..000000000 --- a/docs/tags/Include.html +++ /dev/null @@ -1,82 +0,0 @@ - - - -<a2:include /> - - - - -

Tag Name: <a2:include />

- -

Description

-

- -Include a servlet's output (result of servlet or a JSP page) - -

- -

-

Include a servlet's output (result of servlet or a JSP page).

Examples

  <-- One: --> <a:include value="myJsp.jsp" /> <-- Two: --> <a:include value="myJsp.jsp"> <a:param name="param1" value="value2" /> <a:param name="param2" value="value2" /> </a:include> <-- Three: --> <a:include value="myJsp.jsp"> <a:param name="param1">value1</a:param> <a:param name="param2">value2<a:param> </a:include>   Example one - do an include myJsp.jsp page Example two - do an include to myJsp.jsp page with parameters param1=value1 and param2=value2 Example three - do an include to myJsp.jsp page with parameters param1=value1 and param2=value2  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

valuetrue StringThe jsp/servlet output to include
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/IteratorComponent.html b/docs/tags/IteratorComponent.html deleted file mode 100644 index e2b68d04d..000000000 --- a/docs/tags/IteratorComponent.html +++ /dev/null @@ -1,100 +0,0 @@ - - - -<a2:iterator /> - - - - -

Tag Name: <a2:iterator />

- -

Description

-

- -Iterate over a iterable value - -

- -

-

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.

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.

  <a:iterator value="days"> <p>day is: <a:property/></p> </a:iterator>  

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:

  <a:bean name="org.apache.struts2.example.IteratorExample" id="it"> <a:param name="day" value="'foo'"/> <a:param name="day" value="'bar'"/> </a:bean> 

<table border="0" cellspacing="0" cellpadding="1"> <tr> <th>Days of the week</th> </tr>

<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>

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:

  <s:iterator value="groupDao.groups" status="groupStatus"> <tr class="<s:if test="#groupStatus.odd == true ">odd</s:if><s:else>even</s:else>"> <td><s:property value="name" /></td> <td><s:property value="description" /></td> <td> <s:iterator value="users" status="userStatus"> <s:property value="fullName" /><s:if test="!#userStatus.last">,</s:if> </s:iterator> </td> </tr> </s:iterator>  

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).

  <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>  

To simulate a simple loop with iterator tag, the following could be done. It does the loop 5 times.
  <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>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

statusfalsefalseBooleanif specified, an instanceof IteratorStatus will be pushed into stack upon each iteration
valuefalse Object/Stringthe iteratable source to iterate over, else an the object itself will be put into a newly created List
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Label.html b/docs/tags/Label.html deleted file mode 100644 index dfbfad4d0..000000000 --- a/docs/tags/Label.html +++ /dev/null @@ -1,640 +0,0 @@ - - - -<a2:label /> - - - - -

Tag Name: <a2:label />

- -

Description

-

- -Render a label that displays read-only information - -

- -

- Renders an HTML LABEL that will allow you to output label:name combination that has the same format treatment as the rest of your UI controls.

Examples

In this example, a label is rendered. The label is retrieved from a ResourceBundle by calling ActionSupport's getText() method giving you an output of 'User Name:tm_jee'. Assuming that i18n message user_name corresponds to 'User Name' and the action's getUserName() method returns 'tm_jee'

  <a:label label="%{text('user_name')}" name="userName" />  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

forfalse Object/StringHTML for attribute
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/MergeIterator.html b/docs/tags/MergeIterator.html deleted file mode 100644 index a1880e4d0..000000000 --- a/docs/tags/MergeIterator.html +++ /dev/null @@ -1,64 +0,0 @@ - - - -<a2:merge /> - - - - -

Tag Name: <a2:merge />

- -

Description

-

- -Merge the values of a list of iterators into one iterator - -

- -

-

Component for MergeIteratorTag, which job is to merge iterators and successive call to the merged iterator will cause each merge iterator to have a chance to expose its element, subsequently next call will allow the next iterator to expose its element. Once the last iterator is done exposing its element, the first iterator is allowed to do so again (unless it is exhausted of entries).

Internally the task are delegated to MergeIteratorFilter

Example if there are 3 lists being merged, each list have 3 entries, the following will be the logic.

  1. Display first element of the first list
  2. Display first element of the second list
  3. Display first element of the third list
  4. Display second element of the first list
  5. Display second element of the second list
  6. Display second element of the third list
  7. Display third element of the first list
  8. Display thrid element of the second list
  9. Display third element of the thrid list
public class MergeIteratorTagAction extends ActionSupport { private List myList1; private List myList2; private List myList3; public List getMyList1() { return myList1; } public List getMyList2() { return myList2; } public List getMyList3() { return myList3; } public String execute() throws Exception { myList1 = new ArrayList(); myList1.add("1"); myList1.add("2"); myList1.add("3"); myList2 = new ArrayList(); myList2.add("a"); myList2.add("b"); myList2.add("c"); myList3 = new ArrayList(); myList3.add("A"); myList3.add("B"); myList3.add("C"); return "done"; } } <a:merge id="myMergedIterator1"> <a:param value="%{myList1}" /> <a:param value="%{myList2}" /> <a:param value="%{myList3}" /> </a:merge> <a:iterator value="%{#myMergedIterator1}"> <a:property /> </a:iterator> This wil generate "1aA2bB3cC". -

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

idfalse Object/Stringthe id where the resultant merged iterator will be stored in the stack's context
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/OptGroup.html b/docs/tags/OptGroup.html deleted file mode 100644 index cb8ba896f..000000000 --- a/docs/tags/OptGroup.html +++ /dev/null @@ -1,154 +0,0 @@ - - - -<a2:optgroup /> - - - - -

Tag Name: <a2:optgroup />

- -

Description

-

- -Renders a Select Tag's OptGroup Tag - -

- -

- Create a optgroup component which needs to resides within a select tag.

This component is to be used within a Select component.

  <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>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

labelfalse Object/StringSet the label attribute.
disabledfalse Object/StringSet the disable attribute.
listfalse Object/StringSet the list attribute.
listKeyfalse Object/StringSet the listKey attribute.
listValuefalse Object/StringSet the listValue attribute.
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/OptionTransferSelect.html b/docs/tags/OptionTransferSelect.html deleted file mode 100644 index de2081658..000000000 --- a/docs/tags/OptionTransferSelect.html +++ /dev/null @@ -1,1576 +0,0 @@ - - - -<a2:optiontransferselect /> - - - - -

Tag Name: <a2:optiontransferselect />

- -

Description

-

- -Renders an input form - -

- -

- Create a option transfer select component which is basically two <select ...> tag with buttons in the middle of them allowing options in each of the <select ...> to be moved between themselves. Will auto-select all its elements upon its containing form submision.

NOTE: The id and doubleId need not be supplied as they will generated provided that the optiontransferselect tag is being used in a form tag. The generated id and doubleId will be <form_id>_<optiontransferselect_doubleName> and <form_id>_<optiontransferselect_doubleName> respectively.

  <-- minimum configuration --> <a:optiontransferselect label="Favourite Cartoons Characters" name="leftSideCartoonCharacters" list="{'Popeye', 'He-Man', 'Spiderman'}" doubleName="rightSideCartoonCharacters" doubleList="{'Superman', 'Mickey Mouse', 'Donald Duck'}" /> <-- possible configuration --> <a:optiontransferselect label="Favourite Cartoons Characters" name="leftSideCartoonCharacters" leftTitle="Left Title" rightTitle="Right Title" list="{'Popeye', 'He-Man', 'Spiderman'}" multiple="true" headerKey="headerKey" headerValue="--- Please Select ---" emptyOption="true" doubleList="{'Superman', 'Mickey Mouse', 'Donald Duck'}" doubleName="rightSideCartoonCharacters" doubleHeaderKey="doubleHeaderKey" doubleHeaderValue="--- Please Select ---" doubleEmptyOption="true" doubleMultiple="true" />  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

addAllToLeftLabelfalse Object/Stringset Add To Left button label
addAllToRightLabelfalse Object/Stringset Add All To Right button label
addToLeftLabelfalse Object/Stringset Add To Left button label
addToRightLabelfalse Object/Stringset Add To Right button label
allowAddAllToLeftfalse Object/Stringenable Add All To Left button
allowAddAllToRightfalse Object/Stringenable Add All To Right button
allowAddToLeftfalse Object/Stringenable Add To Left button
allowAddToRightfalse Object/Stringenable Add To Right button
leftTitlefalse Object/Stringset Left title
rightTitlefalse Object/Stringset Right title
allowSelectAllfalse Object/Stringenable Select All button
selectAllLabelfalse Object/Stringset Select All button label
buttonCssClassfalse Object/Stringset buttons css class
buttonCssStylefalse Object/Stringset button css style
doubleListtrue Object/StringThe second iterable source to populate from.
doubleListKeyfalse Object/StringThe key expression to use for second list
doubleListValuefalse Object/StringThe value expression to use for second list
doubleNametrue Object/StringThe name for complete component
doubleValuefalse Object/StringThe value expression for complete component
formNamefalse Object/StringThe form name this component resides in and populates to
doubleCssClassfalse Object/StringThe css class for the second list
doubleCssStylefalse Object/StringThe css style for the second list
doubleHeaderKeyfalse Object/StringThe header key for the second list
doubleHeaderValuefalse Object/StringThe header value for the second list
doubleEmptyOptionfalse Object/StringDecides if the second list will add an empty option
doubleDisabledfalse Object/StringDecides if a disable attribute should be added to the second list
doubleIdfalse Object/StringThe id of the second list
doubleMultiplefalse Object/StringDecides if multiple attribute should be set on the second list
doubleOnblurfalse Object/StringSet the onblur attribute of the second list
doubleOnchangefalse Object/StringSet the onchange attribute of the second list
doubleOnclickfalse Object/StringSet the onclick attribute of the second list
doubleOndblclickfalse Object/StringSet the ondbclick attribute of the second list
doubleOnfocusfalse Object/StringSet the onfocus attribute of the second list
doubleOnkeydownfalse Object/StringSet the onkeydown attribute of the second list
doubleOnkeypressfalse Object/StringSet the onkeypress attribute of the second list
doubleOnkeyupfalse Object/StringSet the onkeyup attribute of the second list
doubleOnmousedownfalse Object/StringSet the onmousedown attribute of the second list
doubleOnmousemovefalse Object/StringSet the onmousemove attribute of the second list
doubleOnmouseoutfalse Object/StringSet the onmouseout attribute of the second list
doubleOnmouseoverfalse Object/StringSet the onmouseover attribute of the second list
doubleOnmouseupfalse Object/StringSet the onmouseup attribute of the second list
doubleOnselectfalse Object/StringSet the onselect attribute of the second list
doubleSizefalse Object/StringSet the size attribute of the second list
doubleListKeyfalse Object/StringSet the list key of the second attribute
emptyOptionfalsefalseBooleanDecides of an empty option is to be inserted in the second list
headerKeyfalse Object/StringSet the header key of the second list. Must not be empty! "'-1'" and "''" is correct, "" is bad.
headerValuefalse Object/StringSet the header value of the second list
multiplefalse Object/StringCreates a multiple select. The tag will pre-select multiple values if the values are passed as an Array (of appropriate types) via the value attribute.
sizefalse IntegerSize of the element box (# of elements to show)
doubleAccesskeyfalse Object/StringSet the html accesskey attribute.
listtrue Object/StringIterable source to populate from. If the list is a Map (key, value), the Map key will become the option "value" parameter and the Map value will become the option body.
listKeyfalse Object/StringProperty of list objects to get field value from
listValuefalse Object/StringProperty of list objects to get field content from
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Param.html b/docs/tags/Param.html deleted file mode 100644 index db6c92c53..000000000 --- a/docs/tags/Param.html +++ /dev/null @@ -1,100 +0,0 @@ - - - -<a2:param /> - - - - -

Tag Name: <a2:param />

- -

Description

-

- -Parametrize other tags - -

- -

-

This tag can be used to parameterize other tags.

The include tag and bean tag are examples of such tags.

The parameters can be added with or without a name as key. If the tag provides a name attribute the parameters are added using the {@link Component#addParameter(String, Object) addParamter} method. For unnamed parameters the Tag must implement the {@link UnnamedParametric} interface defined in this class (e.g. The TextTag does this).

This tag has the following two paramters.

Note: When you declare the param tag, the value can be defined in either a value attribute or as text between the start and end tag. Struts behaves a bit different according to these two situations. This is best illustrated using an example:
<param name="color">blue</param> <-- (A) -->
<param name="color" value="blue"/> <-- (B) -->
In the first situation (A) the value would be evaluated to the stack as a java.lang.String object. And in situation (B) the value would be evaluated to the stack as a java.lang.Object object.
For more information see WW-808.

Examples

 <ui:component> <ui:param name="key" value="[0]"/> <ui:param name="value" value="[1]"/> <ui:param name="context" value="[2]"/> </ui:component> 

where the key will be the identifier and the value the result of an OGNL expression run against the current OgnlValueStack.

This second example demonstrates how the text tag can use parameters from this param tag.

 <a:text name="cart.total.cost"> <a:param value="#session.cartTotal"/> </a:text> 

-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

namefalse StringName of Parameter to set
valuefalseThe value of evaluating provided name against stackObject/StringValue expression for Parameter to set
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Password.html b/docs/tags/Password.html deleted file mode 100644 index e293881d4..000000000 --- a/docs/tags/Password.html +++ /dev/null @@ -1,712 +0,0 @@ - - - -<a2:password /> - - - - -

Tag Name: <a2:password />

- -

Description

-

- -Render an HTML input tag of type password - -

- -

- Render an HTML input tag of type password.

Examples

In this example, a password control is displayed. For the label, we are calling ActionSupport's getText() to retrieve password label from a resource bundle.

  <a:password label="%{text('password')}" name="password" size="10" maxlength="15" />  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

showPasswordfalsefalseBooleanWhether to show input
maxlengthfalse IntegerHTML maxlength attribute
maxLengthfalse Object/StringDeprecated. Use maxlength instead.
readonlyfalsefalseBooleanWhether the input is readonly
sizefalse IntegerHTML size attribute
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Property.html b/docs/tags/Property.html deleted file mode 100644 index ed842e556..000000000 --- a/docs/tags/Property.html +++ /dev/null @@ -1,118 +0,0 @@ - - - -<a2:property /> - - - - -

Tag Name: <a2:property />

- -

Description

-

- -Print out expression which evaluates against the stack - -

- -

- Used to get the property of a value, which will default to the top of the stack if none is specified.

         
  Example 1 prints the result of myBean's getMyBeanProperty() method. Example 2 prints the result of myBean's getMyBeanProperty() method and if it is null, print 'a default value' instead.  
  <a:property value="getText('some.key')" />  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

defaultfalse StringThe default value to be used if value attribute is null
escapefalsetrueBooleanWhether to escape HTML
valuefalse<top of stack>Objectvalue to be displayed
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Push.html b/docs/tags/Push.html deleted file mode 100644 index 1413066f2..000000000 --- a/docs/tags/Push.html +++ /dev/null @@ -1,82 +0,0 @@ - - - -<a2:push /> - - - - -

Tag Name: <a2:push />

- -

Description

-

- -Push value on stack for simplified usage. - -

- -

-

Push value on stack for simplified usage.

Examples

  <a:push value="user"> <a:propery value="firstName" /> <a:propery value="lastName" /> </a:push>  
Pushed user into the stack, and hence property tag could access user's properties (firstName, lastName etc) since user is not at the top of the stack
  <a:push value="myObject"> ----- (1) <a:bean name="jp.SomeBean" id="myBean"/> ----- (2) <a:param name="myParam" value="top"/> ----- (3) </a:bean> </a:push>  
  when in (1), myObject is at the top of the stack when in (2), jp.SomeBean is in the top of stack, also in stack's context with key myBean when in (3), top will get the jp.SomeBean instance  
  <a:push value="myObject"> ---(A) <a:bean name="jp.SomeBean" id="myBean"/> ---(B) <a:param name="myParam" value="top.mySomeOtherValue"/> ---(C) </a:bean> </a:push>  
  when in (A), myObject is at the top of the stack when in (B), jp.SomeBean is at the top of the stack, also in context with key myBean when in (C), top refers to jp.SomeBean instance. so top.mySomeOtherValue would invoke SomeBean's mySomeOtherValue() method  
  <a:push value="myObject"> ---- (i) <a:bean name="jp.SomeBean" id="myBean"/> ---- (ii) <a:param name="myParam" value="[1].top"/> -----(iii) </a:bean> </a:push>  
  when in (i), myObject is at the top of the stack when in (ii), jp.SomeBean is at the top of the stack, followed by myObject when in (iii), [1].top will returned top of the cut of stack starting from myObject, namely myObject itself  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

valuetrue Object/StringValue to push on stack
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Radio.html b/docs/tags/Radio.html deleted file mode 100644 index 2c00d8027..000000000 --- a/docs/tags/Radio.html +++ /dev/null @@ -1,676 +0,0 @@ - - - -<a2:radio /> - - - - -

Tag Name: <a2:radio />

- -

Description

-

- -Renders a radio button input field - -

- -

- Render a radio button input field.

Examples

In this example, a radio control is displayed with a list of genders. The gender list is built from attribute id=genders. WW calls getGenders() which will return a Map. For examples using listKey and listValue attributes, see the section select tag. The default selected one will be determined (in this case) by the getMale() method in the action class which should retun a value similar to the key of the getGenters() map if that particular gender is to be selected.

  <a:action name="GenderMap" id="genders"/> <a:radio label="Gender" name="male" list="#genders.genders"/>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

listtrue Object/StringIterable source to populate from. If the list is a Map (key, value), the Map key will become the option "value" parameter and the Map value will become the option body.
listKeyfalse Object/StringProperty of list objects to get field value from
listValuefalse Object/StringProperty of list objects to get field content from
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Reset.html b/docs/tags/Reset.html deleted file mode 100644 index 34943d749..000000000 --- a/docs/tags/Reset.html +++ /dev/null @@ -1,694 +0,0 @@ - - - -<a2:reset /> - - - - -

Tag Name: <a2:reset />

- -

Description

-

- -Render a reset button - -

- -

- Render a reset button. The reset tag is used together with the form tag to provide form resetting. The reset can have two different types of rendering:

Please note that the button type has advantages by adding the possibility to seperate the submitted value from the text shown on the button face, but has issues with Microsoft Internet Explorer at least up to 6.0

Examples

  <a:reset value="%{'Reset'}" />  
  Render an button reset: <a:reset type="button" value="%{'Reset'}" label="Reset the form"/>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

labelfalse Object/StringSupply a reset button text apart from reset value. Will have no effect for input type reset, since button text will always be the value parameter.
actionfalse StringSet action attribute.
methodfalse StringSet method attribute.
alignfalse StringHTML align attribute.
typefalseinputStringThe type of submit to use. Valid values are input, button and image.
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/RichTextEditor.html b/docs/tags/RichTextEditor.html deleted file mode 100644 index 2ba51c434..000000000 --- a/docs/tags/RichTextEditor.html +++ /dev/null @@ -1,1630 +0,0 @@ - - - -<a2:richtexteditor /> - - - - -

Tag Name: <a2:richtexteditor />

- -

Description

-

- -Render a rich text editor element - -

- -

- Create a Rich Text Editor based on FCK editor (www.fckeditor.net).

  <a:richtexteditor toolbarCanCollapse="false" width="700" label="Description 1" name="description1" value="Some Content I keyed In In The Tag Itself" />  
It is possible to have a rich text editor do server side browsing when for example the image button is clicked. To integrate this functionality with Struts Action Framework, one need to defined the following action definition typically in xwork.xml
 <package name="richtexteditor-browse" extends="struts-default" namespace="/struts/richtexteditor/editor/filemanager/browser/default/connectors/jsp"> <action name="connector" class="org.apache.struts2.components.DefaultRichtexteditorConnector" method="browse"> <result name="getFolders" type="richtexteditorGetFolders" /> <result name="getFoldersAndFiles" type="richtexteditorGetFoldersAndFiles" /> <result name="createFolder" type="richtexteditorCreateFolder" /> <result name="fileUpload" type="richtexteditorFileUpload" /> </action> </package> 
By default whenever a browse command is triggered (eg. by clicking on the 'image' button and then 'browse server' button, the url '/struts/static/richtexteditor/editor/filemanager/browser/default/browser.html?&Type=Image&Connector=connectors/jsp/connector.action'. The page browser.html which comes with FCK Editor will trigger the url '/struts/richtexteditor/editor/filemanager/browser/default/connectors/jsp/connector.action' which will caused the Struts Action Framework's DefaultRichtexteditorConnector to be executed. The trigerring url could be changed by altering the 'imageBrowseURL'. There 3 types of such related url, namely 'imageBrowseURL', 'linkBrowseURL' and 'flashBrowseURL'. It is recomended that the default one being used. One could change the Connector parameter instead. For example
 /struts/static/richtexteditor/editor/filemanager/browser/default/browser.html? &Type=Image&Connector=connectors/jsp/connector.action 
could be changed to
 /struts/static/richtexteditor/editor/filemanager/browser/default/browser.html? &Type=Image&Connector=myLittlePath/myConnector.action 
In this case the action will need to have a namespace of '/struts/richtexteditor/editor/filemanager/browser/default/myLittlePath' and action name of 'myConnector'

By default the action method that needs to be defined in xwork.xml needs to be 'browse'. If this needs to be something else say, myBrowse, the following could be used

 public String myBrowse() { browse(); } 

It is possible for the richtexteditor to do server side uploading as well. For example when clicking on the 'Image' button and then the 'Upload' tab and then selecting a file from client local machine and the clicking 'Send it to the server'. To integrate this functionality with Struts Action Framework, one need to defined the following action definition typically in xwork.xml

 <package name="richtexteditor-upload" extends="struts-default" namespace="/struts/richtexteditor/editor/filemanager/upload"> <action name="uploader" class="org.apache.struts2.components.DefaultRichtexteditorConnector" method="upload"> <result name="richtexteditorFileUpload" /> </action> </package> 
By default whenever an upload command is triggered, a '/struts/static/richtexteditor/editor/filemanager/upload/uploader.action?Type=Image' will be issued. This could be changed by setting the imageUploadURL attribute of the tag. When this link is issued, the Struts Action Framework action will get executed. There's 3 such related upload url namely, 'imageUploadURL', 'linkUploadURL' and 'flashUploadURL'. It is recomended that the default one being used. However one could change the url, but need to include the Type parameter. For example
 /struts/static/richtexteditor/editor/filemanager/upload/uploader.action?Type=Image 
could be changed to
 /struts/static/richtexteditor/editor/filemanager/upload/aDifferentUploader.action?Type=Image 
In this case the action will need to have a namespace of '/struts/static/richtexteditor/editor/filemanager/upload' and action name of 'aDifferentUploader' By default the action method that needs to be defined in xwork.xml needs to be 'upload'. If this needs to be something else say, myUpload, the following could be used
 public String myUpload() { upload(); } 
The Struts Action Framework action that handles the server-side browsing and uploading needs to extends from AbstractRichtexteditorConnector. There are four abstract methods need to be implemented, namely

 protected abstract String calculateServerPath(String serverPath, String folderPath, String type) throws Exception; protected abstract Folder[] getFolders(String virtualFolderPath, String type) throws Exception; protected abstract FoldersAndFiles getFoldersAndFiles(String virtualFolderPath, String type) throws Exception; protected abstract CreateFolderResult createFolder(String virtualFolderPath, String type, String newFolderName) throws Exception; protected abstract FileUploadResult fileUpload(String virtualFolderPath, String type, String filename, String contentType, java.io.File newFile) throws Exception; protected abstract void unknownCommand(String command, String virtualFolderPath, String type, String filename, String contentType, java.io.File newFile) throws Exception; 
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

checkBrowserfalsetrueBooleanWhether the rich text editor should check for browser compatibility when rendering its toolbar
displayErrorfalsetrueBooleanWhether should the rich text editor display error when it fails to render etc.
autoDetectLanguagefalsetrueBooleanTells the editor to automatically detect the user language preferences to adapt its interface language. With Internet Explorer, the language configured in the Windows Control Panel is used. With Firefox, the browser language is used
baseHreffalse StringBase URL used to resolve links (on images, links, styles, etc.). For example, if BaseHref is set to 'http://www.fredck.com', an image that points to "/images/Logo.gif" will be interpreted by the editor as "http://www.fredck.com/images/Logo.gif", without touching the "src" attribute of the image.
basePathfalse/struts/static/richtexteditor/StringSet the dir where the FCKeditor files reside on the server
contentLangDirectionfalseltrStringSets the direction of the editor area contents. Either ltr or rtl
customConfigurationsPathfalse StringSet the path of a custom file that can override some configurations. It is recommended to use absolute paths (starting with /), like /myfckconfig.js.
debugfalsefalseBooleanEnables the debug window to be shown when calling the FCKDebug.Output() function.
defaultLanguagefalseenStringSets the default language used for the editor's interface localization. The default language is used when the AutoDetectLanguage options is disabled or when the user language is not available.
editorAreaCSSfalsecss/fck_editorarea.cssStringSet the CSS styles file to be used in the editing area. In this way you can point to a file that reflects your web site styles
enableSourceXHTMLfalsetrueStringTells the editor to process the HTML source to XHTML when switching from WYSIWYG to Source view
enableXHTMLfalsetrueStringTells the editor to process the HTML source to XHTML on form post.
fillEmptyBlocksfalsetrueStringBlock elements (like P, DIV, H1, PRE, etc...) are forced to have content (a &nbsp;). Empty blocks are "collapsed" by while browsing, so a empty <p></p> is not visible. While editing, the editor "expand" empty blocks so you can insert content inside then. Setting this option to "true" results useful to reflect the same output when browsing and editing.
flashBrowserURLfalse/struts/static/ richtexteditor/ editor/filemanager/ browser/default/browser.html? Type=Flash& Connector=connectors/jsp/connector.actionStringSets the URL of the page called when the user clicks the 'Browse Server' button in the "Flash" dialog window. In this way, you can create your custom Flash Browser that is well integrated with your system.
flashUploadURLfalse/struts/static/ richtexteditor/ editor/filemanager/ upload/uploader.action? Type=FlashstringSets the URL of the upload handler called when the user clicks the 'Send it to server' button in the "Flash" dialog window. In this way, you can create your custom Flash Uploader that is well integrated with your system.
fontColorsfalse000000, 993300, 333300, 003300, 003366, 000080, 333399, 333333, 800000, FF6600, 808000, 808080, 008080, 0000FF, 666699, 808080, FF0000, FF9900, 99CC00, 339966, 33CCCC, 3366FF, 800080, 999999, FF00FF, FFCC00, FFFF00, 00FF00, 00FFFF, 00CCFF, 993366, C0C0C0, FF99CC, FFCC99, FFFF99, CCFFCC, CCFFFF, 99CCFF, CC99FF, FFFFFFstringSets the colors that must be shown in the colors panels (in the toolbar).
fontFormatsfalsep; div; pre; address; h1; h2; h3; h4; h5; h6stringSets the list of formats to be shown in the "Format" toolbar command.
fontNamesfalseArial; Comic Sans MS; Courier New; Tahoma; Times New Roman; VerdanastringSets the list of fonts to be shown in the "Font" toolbar command.
fontSizesfalse1/xx-small; 2/x-small; 3/small; 4/medium; 5/large; 6/x-large; 7/xx-largestringSets the list of font sizes to be shown in the "Size" toolbar command.
forcePasteAsPlainTextfalsefalsebooleanConverts the clipboard contents to pure text on pasting operations
forceSimpleAmpersandfalsefalsebooleanForces the ampersands (&) on tags attributes to not be converted to '&amp;' This conversion is a W3C requirement for XHTML, so it is recommended to leave this option to 'false'.
formatIndentatorfalse' 'booleanSets the characters to be used when indenting the HTML source when formatting it. Useful values are a sequence of spaces (' ') or a tab char ('\t').
formatOutputfalsetruebooleanThe output HTML generated by the editor will be processed and formatted.
formatSourcefalsetruebooleanThe HTML shown by the editor, while switching from WYSIWYG to Source views, will be processed and formatted
fullPagefalsefalsebooleanEnables full page editing (from <HTML> to </HTML>). It also enables the 'Page Properties' toolbar button.
geckoUseSPANfalsetruebooleanTells Gecko browsers to use SPAN instead of <B>, <I> and <U> for bold, italic an underline
heightfalse200stringSet the height of the rich text editor
imageBrowserURLfalse/struts/static/ richtexteditor/ editor/filemanager/ browser/default/browser.html? Type=Image& Connector=connectors/jsp/connector.actionstringSets the URL of the page called when the user clicks the 'Browse Server' button in the 'Image' dialog window. In this way, you can create your custom Image Browser that is well integrated with your system.
imageUploadURLfalse/struts/static/ richtexteditor/ editor/filemanager/ upload/uploader.action? Type=ImagestringSets the URL of the upload handler called when the user clicks the 'Send it to server' button in the 'Image' dialog window. In this way, you can create your custom Image Uploader that is well integrated with your system.
linkBrowserURLfalse/struts/static/ richtexteditor/ editor/filemanager/ browser/default/browser.html? Type=File& Connector=connectors/jsp/connector.actionstringSets the URL of the page called when the user clicks the 'Browse Server' button in the 'Link' dialog window. In this way, you can create your custom File Browser that is well integrated with your system.
linkUploadURLfalse/struts/static/ richtexteditor/ editor/filemanager/ upload/uploader.action? Type=FilestringSets the URL of the upload handler called when the user clicks the 'Send it to server' button in the 'Link' dialog window. In this way, you can create your custom Link Uploader that is well integrated with your system.
pluginsPathfalse/struts/static/richtexteditor/plugins/stringSets the base path used when looking for registered plugins.
skinPathfalse/struts/static/richtexteditor/skins/defaultstringSets the path to the skin (graphical interface settings) to be used by the editor.
startupFocusfalsefalsebooleanForces the editor to get the keyboard input focus on startup (page load)
stylesXmlPathfalse/struts/static/richtexteditor/fckstyles.xmlstringSets the path to the XML file that has the definitions and rules of the styles used by the 'Style' toolbar command
tabSpacesfalse0stringSet the number of spaces (&nbsp) to be inserted when the user hits the 'tab' key. This is an Internet Explorer only feature. Other browsers insert spaces automatically by default.
toolbarCanCollapsefalsetruebooleanTells the editor that the toolbar can be Collapsed/Expanded by the user when clicking the vertical bar placed on the left of it (on the right for 'rtl' languages).
toolbarSetfalseDefaultstringSet the name of the toolbar to display
toolbarStartExpandedfalsetruebooleanDecide if the toolbar should be expanded when the rich text editor is loaded
useBROnCarriageReturnfalsetruebooleanDecide if a <br/> should be used in place of the occurence of a carriage return
widthfalse100%stringset the width of the rich text editor
allowFlashBrowsefalsetruebooleandetermine if to allow flash browsing
allowFlashUploadfalsetruebooleandetermine if to allow flash upload
allowImageBrowsefalsetruebooleandetermine if to allow image browsing
allowImageUploadfalsetruebooleandetermine if to allow image uploading
allowLinkBrowsefalsetruebooleandetermine if to allow link browsing
allowLinkUploadfalsetruebooleandetermine if to allow link uploading
flashUploadAllowedExtensionfalse.(swf|fla)$stringregexp for allowed flash upload file format
flashUploadDeniedExtensionfalsestringregexp for deinied flash upload file format
imageUploadAllowedExtensionfalse.(jpg|gif|jpeg|png)$stringregexp for allowed image upload file format
imageUploadDeniedExtensionfalsestringregexp for denied image upload file format
linkUploadAllowedExtensionfalsestringregexp for allowed link upload file format
linkUploadDeniedExtensionfalse.(php| php3| php5| phtml| asp| aspx| ascx| jsp| cfm| cfc| pl| bat| exe| dll| reg| cgi)$stringregexp for denied link upload file format
smileyImagesfalse Object/Stringjs array of smilies files to be included
itemsfalse Object/StringList of items to be included in the toolbar
smileyPathfalse/struts/static/ richtexteditor/editor/ images/smiley/msn/stringpath where smilies are located
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Select.html b/docs/tags/Select.html deleted file mode 100644 index 97ca64528..000000000 --- a/docs/tags/Select.html +++ /dev/null @@ -1,766 +0,0 @@ - - - -<a2:select /> - - - - -

Tag Name: <a2:select />

- -

Description

-

- -Render a select element - -

- -

- Render an HTML input tag of type select.

Examples

  <a:select label="Pets" name="petIds" list="petDao.pets" listKey="id" listValue="name" multiple="true" size="3" required="true" /> <a:select label="Months" name="months" headerKey="-1" headerValue="Select Month" list="#{'01':'Jan', '02':'Feb', [...]}" value="selectedMonth" required="true" /> // The month id (01, 02, ...) returned by the getSelectedMonth() call // against the stack will be auto-selected  

Note: For any of the tags that use lists (select probably being the most ubiquitous), which uses the OGNL list notation (see the "months" example above), it should be noted that the map key created (in the months example, the '01', '02', etc.) is typed. '1' is a char, '01' is a String, "1" is a String. This is important since if the value returned by your "value" attribute is NOT the same type as the key in the "list" attribute, they WILL NOT MATCH, even though their String values may be equivalent. If they don't match, nothing in your list will be auto-selected.

-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

emptyOptionfalsefalseBooleanWhether or not to add an empty (--) option after the header option
headerKeyfalse Object/StringKey for first item in list. Must not be empty! "'-1'" and "''" is correct, "" is bad.
headerValuefalse Object/StringValue expression for first item in list
multiplefalsefalseBooleanCreates a multiple select. The tag will pre-select multiple values if the values are passed as an Array (of appropriate types) via the value attribute. Passing a Collection may work too? Haven't tested this.
sizefalse IntegerSize of the element box (# of elements to show)
listtrue Object/StringIterable source to populate from. If the list is a Map (key, value), the Map key will become the option "value" parameter and the Map value will become the option body.
listKeyfalse Object/StringProperty of list objects to get field value from
listValuefalse Object/StringProperty of list objects to get field content from
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Set.html b/docs/tags/Set.html deleted file mode 100644 index 47c1f6bc3..000000000 --- a/docs/tags/Set.html +++ /dev/null @@ -1,118 +0,0 @@ - - - -<a2:set /> - - - - -

Tag Name: <a2:set />

- -

Description

-

- -Assigns a value to a variable in a specified scope - -

- -

-

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).

The scopes available are as follows :- NOTE:

If no scope is specified, it will default to action scope.

Parameters

Examples

  <a:set name="personName" value="person.name"/> Hello, <a:property value="#personName"/>. How are you?  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

nametrue StringThe name of the new variable that is assigned the value of value
scopefalseactionStringThe scope in which to assign the variable. Can be application, session, request, page, or action.
valuefalse Object/StringThe value that is assigned to the variable named name
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Submit.html b/docs/tags/Submit.html deleted file mode 100644 index 12a8b7dad..000000000 --- a/docs/tags/Submit.html +++ /dev/null @@ -1,802 +0,0 @@ - - - -<a2:submit /> - - - - -

Tag Name: <a2:submit />

- -

Description

-

- -Render a submit button - -

- -

- Render a submit button. The submit tag is used together with the form tag to provide asynchronous form submissions. The submit can have three different types of rendering:

Please note that the button type has advantages by adding the possibility to seperate the submitted value from the text shown on the button face, but has issues with Microsoft Internet Explorer at least up to 6.0

Examples

  <a:submit value="%{'Submit'}" />  
  Render an image submit: <a:submit type="image" value="%{'Submit'}" label="Submit the form" src="submit.gif"/>  
  Render an button submit: <a:submit type="button" value="%{'Submit'}" label="Submit the form"/>  
THE FOLLOWING IS ONLY VALID WHEN AJAX IS CONFIGURED The remote form has three basic modes of use, using the resultDivId, the notifyTopics, or the onLoadJS. You can mix and match any combination of them to get your desired result. All of these examples are contained in the Ajax example webapp. Lets go through some scenarios to see how you might use it: Show the results in another div. If you want your results to be shown in a div, use the resultDivId where the id is the id of the div you want them shown in. This is an inner HTML approah. Your results get jammed into the div for you. Here is a sample of this approach:
  Remote form replacing another div: <div id='two' style="border: 1px solid yellow;">Initial content</div> <a:form id='theForm2' cssStyle="border: 1px solid green;" action='/AjaxRemoteForm.action' method='post' theme="ajax"> <input type='text' name='data' value='Struts User' /> <a:submit value="GO2" theme="ajax" resultDivId="two" /> </a:form >  
Notify other controls(divs) of a change. Using an pub-sub model you can notify others that your control changed and they can take the appropriate action. Most likely they will execute some action to refresh. The notifyTopics does this for you. You can have many topic names in a comma delimited list. eg: notifyTopics="newPerson, dataChanged" . Here is an example of this approach:
  <a:form id="frm1" action="newPersonWithXMLResult" theme="ajax" > <a:textfield label="Name" name="person.name" value="person.name" size="20" required="true" /> <a:submit id="submitBtn" value="Save" theme="ajax" cssClass="primary" notifyTopics="personUpdated, systemWorking" /> </a:form > <a:div href="/listPeople.action" theme="ajax" errorText="error opps" loadingText="loading..." id="cart-body" > <a:action namespace="" name="listPeople" executeResult="true" /> </a:div>  
Massage the results with JavaScript. Say that your result returns some h appy XML and you want to parse it and do lots of cool things with it. The way to do this is with a onLoadJS handler. Here you provide the name of a JavaScript function to be called back with the result and the event type. The only key is that you must use the variable names 'data' and 'type' when defining the callback. For example: onLoadJS="myFancyDancyFunction(data, type)". While I talked about XML in this example, your not limited to XML, the data in the callback will be exactly whats returned as your result. Here is an example of this approach:
  <script language="JavaScript" type="text/javascript"> function doGreatThings(data, type) { //Do whatever with your returned fragment... //Perhapps.... if xml... var xml = dojo.xml.domUtil.createDocumentFromText(data); var people = xml.getElementsByTagName("person"); for(var i = 0;i < people.length; i ++){ var person = people[i]; var name = person.getAttribute("name") var id = person.getAttribute("id") alert('Thanks dude. Person: ' + name + ' saved great!!!'); } } </script> <a:form id="frm1" action="newPersonWithXMLResult" theme="ajax" > <a:textfield label="Name" name="person.name" value="person.name" size="20" required="true" /> <a:submit id="submitBtn" value="Save" theme="ajax" cssClass="primary" onLoadJS="doGreatThings(data, type)" /> </a:form>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

resultDivIdfalse StringThe id of the HTML element to place the result (this can the the form's id or any id on the page.
onLoadJSfalse StringJavascript code that will be executed after the form has been submitted. The format is onLoadJS='yourMethodName(data,type)'. NOTE: the words data and type must be left like that if you want the event type and the returned data.
notifyTopicsfalse StringTopic names to post an event to after the form has been submitted.
listenTopicsfalse StringSet listenTopics attribute.
preInvokeJSfalse StringJavascript code that will be executed before invokation. The format is preInvokeJS='yourMethodName(data,type)'.
labelfalse Object/StringSupply a submit button text apart from submit value. Will have no effect for input type submit, since button text will always be the value parameter. For the type image, alt parameter will be set to this value.
srcfalse Object/StringSupply an image src for image type submit button. Will have no effect for types input and button.
actionfalse StringSet action attribute.
methodfalse StringSet method attribute.
alignfalse StringHTML align attribute.
typefalseinputStringThe type of submit to use. Valid values are input, button and image.
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/TabbedPanel.html b/docs/tags/TabbedPanel.html deleted file mode 100644 index 686139f8b..000000000 --- a/docs/tags/TabbedPanel.html +++ /dev/null @@ -1,640 +0,0 @@ - - - -<a2:tabbedPanel /> - - - - -

Tag Name: <a2:tabbedPanel />

- -

Description

-

- -Render a tabbedPanel widget. - -

- -

- The tabbedpanel widget is primarily an AJAX component, where each tab can either be local content or remote content (refreshed each time the user selects that tab).

Examples

The following is an example of a tabbedpanel and panel tag utilizing local and remote content.

  <a:tabbedPanel id="test2" theme="simple" > <a:panel id="left" tabName="left" theme="ajax"> This is the left pane<br/> <a:form > <a:textfield name="tt" label="Test Text" /> <br/> <a:textfield name="tt2" label="Test Text2" /> </a:form> </a:panel> <a:panel remote="true" href="/AjaxTest.action" id="ryh1" theme="ajax" tabName="remote one" /> <a:panel id="middle" tabName="middle" theme="ajax"> middle tab<br/> <a:form > <a:textfield name="tt" label="Test Text44" /> <br/> <a:textfield name="tt2" label="Test Text442" /> </a:form> </a:panel> <a:panel remote="true" href="/AjaxTest.action" id="ryh21" theme="ajax" tabName="remote right" /> </a:tabbedPanel>  

Additional Configuration If you are looking for the "nifty" rounded corner look, there is additional configuration. This assumes that the background color of the tabs is white. If you are using a different color, please modify the parameter in the Rounded() method.

  <link rel="stylesheet" type="text/css" href="<a:url value="/struts/tabs.css"/>"> <link rel="stylesheet" type="text/css" href="<a:url value="/struts/niftycorners/niftyCorners.css"/>"> <link rel="stylesheet" type="text/css" href="<a:url value="/struts/niftycorners/niftyPrint.css"/>" media="print"> <script type="text/javascript" src="<a:url value="/struts/niftycorners/nifty.js"/>"></script> <script type="text/javascript"> dojo.event.connect(window, "onload", function() { if (!NiftyCheck()) return; Rounded("li.tab_selected", "top", "white", "transparent", "border #ffffffS"); Rounded("li.tab_unselected", "top", "white", "transparent", "border #ffffffS"); // "white" needs to be replaced with the background color }); </script>  
Important: Be sure to setup the page containing this tag to be Configured for AJAX -

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

idtrue StringThe id to assign to the component.
openTemplatefalse Object/StringSet template to use for opening the rendered html.
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Text.html b/docs/tags/Text.html deleted file mode 100644 index ad48695cf..000000000 --- a/docs/tags/Text.html +++ /dev/null @@ -1,82 +0,0 @@ - - - -<a2:text /> - - - - -

Tag Name: <a2:text />

- -

Description

-

- -Render a I18n text message. - -

- -

- Render a I18n text message.

The message must be in a resource bundle with the same name as the action that it is associated with. In practice this means that you should create a properties file in the same package as your Java class with the same name as your class, but with .properties extension.

If the named message is not found, then the body of the tag will be used as default message. If no body is used, then the name of the message will be used.

Example:

  Accessing messages from a given bundle (the i18n Shop example bundle in the first example) and using bundle defined through ww in the second example.

  <!-- First Example --> <a:i18n name="struts.action.test.i18n.Shop"> <a:text name="main.title"/> </a:i18n> <!-- Second Example --> <a:text name="main.title" />  
  <-- Third Example --> <a:text name="some.key" /> <-- Fourth Example --> <a:text name="some.invalid.key" > The Default Message That Will Be Displayed </a:text>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

nametrue Object/StringName of resource property to fetch
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/TextArea.html b/docs/tags/TextArea.html deleted file mode 100644 index fbd4bb42d..000000000 --- a/docs/tags/TextArea.html +++ /dev/null @@ -1,694 +0,0 @@ - - - -<a2:textarea /> - - - - -

Tag Name: <a2:textarea />

- -

Description

-

- -Render HTML textarea tag. - -

- -

- Render HTML textarea tag.

Examples

  <a:textarea label="Comments" name="comments" cols="30" rows="8"/>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

colsfalse IntegerHTML cols attribute
readonlyfalsefalseBooleanWhether the textarea is readonly
rowsfalse IntegerHTML rows attribute
wrapfalse StringHTML wrap attribute
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/TextField.html b/docs/tags/TextField.html deleted file mode 100644 index a3b809e3e..000000000 --- a/docs/tags/TextField.html +++ /dev/null @@ -1,694 +0,0 @@ - - - -<a2:textfield /> - - - - -

Tag Name: <a2:textfield />

- -

Description

-

- -Render an HTML input field of type text - -

- -

- Render an HTML input field of type text

Examples

In this example, a text control is rendered. The label is retrieved from a ResourceBundle by calling ActionSupport's getText() method.

  <a:textfield label="%{text('user_name')}" name="user" />  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

maxlengthfalse IntegerHTML maxlength attribute
maxLengthfalse Object/StringDeprecated. Use maxlength instead.
readonlyfalsefalseBooleanWhether the input is readonly
sizefalse IntegerHTML size attribute
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Token.html b/docs/tags/Token.html deleted file mode 100644 index d551971fb..000000000 --- a/docs/tags/Token.html +++ /dev/null @@ -1,622 +0,0 @@ - - - -<a2:token /> - - - - -

Tag Name: <a2:token />

- -

Description

-

- -Stop double-submission of forms - -

- -

- Stop double-submission of forms.

The token tag is used to help with the "double click" submission problem. It is needed if you are using the TokenInterceptor or the TokenSessionInterceptor. The a:token tag merely places a hidden element that contains the unique token.

Examples

  <a:token />  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/Tree.html b/docs/tags/Tree.html deleted file mode 100644 index 4ccda306d..000000000 --- a/docs/tags/Tree.html +++ /dev/null @@ -1,1054 +0,0 @@ - - - -<a2:tree /> - - - - -

Tag Name: <a2:tree />

- -

Description

-

- -Render a tree widget. - -

- -

- Renders a tree widget with AJAX support.

The id attribute is normally specified, such that it could be looked up using javascript if necessary.

Examples

  <-- statically --> <s:tree id="..." label="..."> <s:treenode id="..." label="..." /> <s:treenode id="..." label="..."> <s:treenode id="..." label="..." /> <s:treenode id="..." label="..." /> </s:treenode> <s:treenode id="..." label="..." /> </s:tree> <-- dynamically --> <s:tree id="..." rootNode="..." nodeIdProperty="..." nodeTitleProperty="..." childCollectionProperty="..." />  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

togglefalse Object/StringThe toggle property (either 'explode' or 'fade'). Default is 'fade'.
treeSelectedTopicfalse Object/StringThe treeSelectedTopic property.
treeExpandedTopicfalse Object/StringThe treeExpandedTopic property.
treeCollapsedTopicfalse Object/StringThe treeCollapsedTopic property.
rootNodefalse Object/StringThe rootNode property.
childCollectionPropertyfalse Object/StringThe childCollectionProperty property.
nodeTitlePropertyfalse Object/StringThe nodeTitleProperty property.
nodeIdPropertyfalse Object/StringThe nodeIdProperty property.
showRootGridfalse Object/StringThe showRootGrid property (default true).
blankIconSrcfalse Object/StringBlank icon image source.
expandIconSrcMinusfalse Object/StringExpand icon (-) image source.
expandIconSrcPlusfalse Object/StringExpand Icon (+) image source.
gridIconSrcCfalse Object/StringImage source for under child item child icons.
gridIconSrcLfalse Object/StringImage source for last child grid.
gridIconSrcPfalse Object/StringImage source for under parent item child icons.
gridIconSrcVfalse Object/StringImage source for vertical line.
gridIconSrcXfalse Object/StringImage source for grid for sole root item.
gridIconSrcYfalse Object/StringImage source for grid for last root item.
iconHeightfalse Object/StringIcon height (default 18 pixels).
iconWidthfalse Object/StringIcon width (default 19 pixels).
templateCssPathfalse Object/StringTemplate css path (default {contextPath}/struts/tree.css.
toggleDurationfalse Object/StringToggle duration (default 150 ms)
showGridfalse Object/StringShow grid (default true).
openTemplatefalse Object/StringSet template to use for opening the rendered html.
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/TreeNode.html b/docs/tags/TreeNode.html deleted file mode 100644 index 72ffdd46a..000000000 --- a/docs/tags/TreeNode.html +++ /dev/null @@ -1,640 +0,0 @@ - - - -<a2:treenode /> - - - - -

Tag Name: <a2:treenode />

- -

Description

-

- -Render a tree node within a tree widget. - -

- -

- Renders a tree node within a tree widget with AJAX support.

Either of the following combinations should be used depending on if the tree is to be constrcted dynamically or statically.

Dynamically

Statically

Examples

  <-- 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="..." />  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

labeltrue Object/StringLabel expression used for rendering tree node label.
openTemplatefalse Object/StringSet template to use for opening the rendered html.
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/URL.html b/docs/tags/URL.html deleted file mode 100644 index d4114447f..000000000 --- a/docs/tags/URL.html +++ /dev/null @@ -1,280 +0,0 @@ - - - -<a2:url /> - - - - -

Tag Name: <a2:url />

- -

Description

-

- -This tag is used to create a URL - -

- -

-

This tag is used to create a URL.

You can use the "param" tag inside the body to provide additional request parameters.

NOTE:

When includeParams is 'all' or 'get', the parameter defined in param tag will take precedence and will not be overriden if they exists in the parameter submitted. For example, in Example 3 below, if there is a id parameter in the url where the page this tag is included like http://://editUser.action?id=3333&name=John the generated url will be http://:/context>/editUser.action?id=22&name=John cause the parameter defined in the param tag will take precedence.

Examples

  <-- Example 1 --> <a:url value="editGadget.action"> <a:param name="id" value="%{selected}" /> </a:url> <-- Example 2 --> <a:url action="editGadget"> <a:param name="id" value="%{selected}" /> </a:url> <-- Example 3--> <a:url includeParams="get" > <:param name="id" value="%{'22'}" /> </a:url>  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

includeParamsfalsegetObject/StringThe includeParams attribute may have the value 'none', 'get' or 'all'.
schemefalse Object/StringSet scheme attribute
valuefalse Object/StringThe target value to use, if not using action
actionfalse Object/StringThe action generate url for, if not using value
namespacefalse Object/StringThe namespace to use
methodfalse Object/StringThe method of action to use
encodefalsetrueBooleanwhether to encode parameters
includeContextfalsetrueBooleanwhether actual context should be included in url
portletModefalse Object/StringThe resulting portlet mode
windowStatefalse Object/StringThe resulting portlet window state
portletUrlTypefalse Object/StringSpecifies if this should be a portlet render or action url
anchorfalse Object/StringThe anchor for this URL
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/UpDownSelect.html b/docs/tags/UpDownSelect.html deleted file mode 100644 index 0b8bd7d82..000000000 --- a/docs/tags/UpDownSelect.html +++ /dev/null @@ -1,874 +0,0 @@ - - - -<a2:updownselect /> - - - - -

Tag Name: <a2:updownselect />

- -

Description

-

- -Render a up down select element - -

- -

- Create a Select component with buttons to move the elements in the select component up and down. When the containing form is submited, its elements will be submitted in the order they are arranged (top to bottom).

  <!-- Example 1: simple example --> <a:updownselect list="#{'england':'England', 'america':'America', 'germany':'Germany'}" name="prioritisedFavouriteCountries" headerKey="-1" headerValue="--- Please Order Them Accordingly ---" emptyOption="true" /> <!-- Example 2: more complex example --> <a:updownselect list="defaultFavouriteCartoonCharacters" name="prioritisedFavouriteCartoonCharacters" headerKey="-1" headerValue="--- Please Order ---" emptyOption="true" allowMoveUp="true" allowMoveDown="true" allowSelectAll="true" moveUpLabel="Move Up" moveDownLabel="Move Down" selectAllLabel="Select All" />  
-

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

allowMoveUpfalsetrueBooleanWhether move up button should be displayed
allowMoveDownfalsetrueBooleanWhether move down button should be displayed
allowSelectAllfalsetrueBooleanWhether or not select all button should be displayed
moveUpLabelfalse^StringText to display on the move up button
moveDownLabelfalsevStringText to display on the move down button
selectAllLabelfalse*StringText to display on the select all button
emptyOptionfalsefalseBooleanWhether or not to add an empty (--) option after the header option
headerKeyfalse Object/StringKey for first item in list. Must not be empty! "'-1'" and "''" is correct, "" is bad.
headerValuefalse Object/StringValue expression for first item in list
multiplefalsefalseBooleanCreates a multiple select. The tag will pre-select multiple values if the values are passed as an Array (of appropriate types) via the value attribute. Passing a Collection may work too? Haven't tested this.
sizefalse IntegerSize of the element box (# of elements to show)
listtrue Object/StringIterable source to populate from. If the list is a Map (key, value), the Map key will become the option "value" parameter and the Map value will become the option body.
listKeyfalse Object/StringProperty of list objects to get field value from
listValuefalse Object/StringProperty of list objects to get field content from
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/WebTable.html b/docs/tags/WebTable.html deleted file mode 100644 index 669d024c8..000000000 --- a/docs/tags/WebTable.html +++ /dev/null @@ -1,694 +0,0 @@ - - - -<a2:table /> - - - - -

Tag Name: <a2:table />

- -

Description

-

- -Instantiate a JavaBean and place it in the context. - -

- -

- -

- -

Attributes

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Name

Required

Default

Type

Description

modelNametrue StringThe name of model to use
sortColumnfalse IntegerIndex of column to sort data by
sortOrderfalseNONEStringSet sort order. Allowed values are NONE, ASC and DESC
sortablefalsefalseBooleanWhether the table should be sortable. Requires that model implements org.apache.struts2.components.table.SortableTableModel if set to true.
templateDirfalse Object/StringThe template directory.
themefalse Object/StringThe theme (other than default) to use for rendering the element
templatefalse Object/StringThe template (other than default) to use for rendering the element
cssClassfalse Object/StringThe css class to use for element
cssStylefalse Object/StringThe css style definitions for element ro use
titlefalse Object/StringSet the html title attribute on rendered html element
disabledfalse Object/StringSet the html disabled attribute on rendered html element
labelfalse Object/StringLabel expression used for rendering a element specific label
labelpositionfalse Object/Stringdefine label position of form element (top/left)
requiredpositionfalse Object/Stringdefine required position of required form element (left|right)
namefalse Object/StringThe name to set for element
requiredfalsefalseBooleanIf set to true, the rendered element will indicate that input is required
tabindexfalse Object/StringSet the html tabindex attribute on rendered html element
valuefalse Object/StringPreset the value of input element.
onclickfalse Object/StringSet the html onclick attribute on rendered html element
ondblclickfalse Object/StringSet the html ondblclick attribute on rendered html element
onmousedownfalse Object/StringSet the html onmousedown attribute on rendered html element
onmouseupfalse Object/StringSet the html onmouseup attribute on rendered html element
onmouseoverfalse Object/StringSet the html onmouseover attribute on rendered html element
onmousemovefalse Object/StringSet the html onmousemove attribute on rendered html element
onmouseoutfalse Object/StringSet the html onmouseout attribute on rendered html element
onfocusfalse Object/StringSet the html onfocus attribute on rendered html element
onblurfalse Object/StringSet the html onblur attribute on rendered html element
onkeypressfalse Object/StringSet the html onkeypress attribute on rendered html element
onkeydownfalse Object/StringSet the html onkeydown attribute on rendered html element
onkeyupfalse Object/StringSet the html onkeyup attribute on rendered html element
onselectfalse Object/StringSet the html onselect attribute on rendered html element
onchangefalse Object/StringSet the html onchange attribute on rendered html element
accesskeyfalse Object/StringSet the html accesskey attribute on rendered html element
tooltipfalseStringSet the tooltip of this particular component
tooltipConfigfalseStringSet the tooltip configuration
idfalse Object/Stringid for referencing element. For UI and form tags it will be used as HTML id attribute
- - -

-

-

Back to Taglib Index
-

- - - diff --git a/docs/tags/index.html b/docs/tags/index.html deleted file mode 100644 index 55a0f511d..000000000 --- a/docs/tags/index.html +++ /dev/null @@ -1,556 +0,0 @@ - - -Struts 2.0.0-SNAPSHOT Taglib Index - - - - -

Struts 2.0.0-SNAPSHOT Taglib Index

-

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-<doubleselect /> - - -Renders two HTML select elements with second one changing displayed values depending on selected entry of first one. - -
-<bean /> - - -Instantiate a JavaBean and place it in the context. - -
-<label /> - - -Render a label that displays read-only information - -
-<richtexteditor /> - - -Render a rich text editor element - -
-<tabbedPanel /> - - -Render a tabbedPanel widget. - -
-<else /> - - -Else tag - -
-<textfield /> - - -Render an HTML input field of type text - -
-<date /> - - -Render a formatted date. - -
-<head /> - - -Render a chunk of HEAD for your HTML file - -
-<password /> - - -Render an HTML input tag of type password - -
-<reset /> - - -Render a reset button - -
-<treenode /> - - -Render a tree node within a tree widget. - -
-<url /> - - -This tag is used to create a URL - -
-<include /> - - -Include a servlet's output (result of servlet or a JSP page) - -
-<token /> - - -Stop double-submission of forms - -
-<text /> - - -Render a I18n text message. - -
-<datepicker /> - - -Render datepicker - -
-<div /> - - -Render HTML div providing content from remote call via AJAX - -
-<set /> - - -Assigns a value to a variable in a specified scope - -
-<checkbox /> - - -Render a checkbox input field - -
-<i18n /> - - -Get a resource bundle and place it on the value stack - -
-<submit /> - - -Render a submit button - -
-<fielderror /> - - -Render field error (all or partial depending on param tag nested)if they exists - -
-<file /> - - -Render a file input field - -
-<append /> - - -Append the values of a list of iterators to one iterator - -
-<component /> - - -Render a custom ui widget - -
-<push /> - - -Push value on stack for simplified usage. - -
-<optgroup /> - - -Renders a Select Tag's OptGroup Tag - -
-<table /> - - -Instantiate a JavaBean and place it in the context. - -
-<tree /> - - -Render a tree widget. - -
-<textarea /> - - -Render HTML textarea tag. - -
-<param /> - - -Parametrize other tags - -
-<actionmessage /> - - -Render action messages if they exists - -
-<select /> - - -Render a select element - -
-<action /> - - -Execute an action from within a view - -
-<checkboxlist /> - - -Render a list of checkboxes - -
-<form /> - - -Renders an input form - -
-<actionerror /> - - -Render action errors if they exists - -
-<combobox /> - - -Widget that fills a text box from a select - -
-<optiontransferselect /> - - -Renders an input form - -
-<property /> - - -Print out expression which evaluates against the stack - -
-<hidden /> - - -Render a hidden input field - -
-<iterator /> - - -Iterate over a iterable value - -
-<merge /> - - -Merge the values of a list of iterators into one iterator - -
-<elseif /> - - -Elseif tag - -
-<radio /> - - -Renders a radio button input field - -
-<updownselect /> - - -Render a up down select element - -
-<a /> - - -Render a HTML href element that when clicked calls a URL via remote XMLHttpRequest - -
-<if /> - - -If tag - -
- -

- - -