Package org.apache.struts2.components

Interface Summary
Param.UnnamedParametric Tags can implement this to support nested param tags without the name attribute.
 

Class Summary
ActionComponent  
ActionError Render action errors if they exists the specific layout of the rendering depends on the theme itself.
ActionMessage Render action messages if they exists, specific rendering layout depends on the theme itself.
Anchor A tag that creates a HTML <a href='' /> that when clicked calls a URL remote XMLHttpRequest call via the dojo framework.
AppendIterator  
Bean  
Checkbox Renders an HTML input element of type checkbox, populated by the specified property from the OgnlValueStack.
CheckboxList Creates a series of checkboxes from a list.
ClosingUIBean ClosingUIBean is the standard superclass for UI components such as div etc.
ComboBox The combo box is basically an HTML INPUT of type text and HTML SELECT grouped together to give you a combo box functionality.
Component Base class to extend for UI components.
Date Format Date object in different ways.
DatePicker Renders datepicker element.
Debug  
Div 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

DoubleListUIBean DoubleListUIBean is the standard superclass of all Struts double list handling components.
DoubleSelect Renders two HTML select elements with second one changing displayed values depending on selected entry of first one.
Else  
ElseIf  
FieldError Render field errors if they exists.
File Renders an HTML file input element.
Form

Renders HTML an input form.

The remote form allows the form to be submitted without the page being refreshed.

FormButton FormButton.
GenericUIBean Renders an custom UI widget using the specified templates.
Head Renders parts of the HEAD section for an HTML file.
Hidden Renders an HTML input element of type hidden, populated by the specified property from the OgnlValueStack.
I18n Gets a resource bundle and place it on the value stack.
If  
Include  
IteratorComponent  
Label 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.
ListUIBean DoubleListUIBean is the standard superclass of all Struts list handling components.
MergeIterator  
OptGroup Create a optgroup component which needs to resides within a select tag.
OptionTransferSelect 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.
Panel Render a panel for tabbedPanel.
Param  
Password Render an HTML input tag of type password.
Property Used to get the property of a value, which will default to the top of the stack if none is specified.
Push  
Radio Render a radio button input field.
RemoteCallUIBean RemoteCallUIBean is superclass for all components dealing with remote calls.
Reset Render a reset button.
Select Render an HTML input tag of type select.
Set  
Submit Render a submit button.
TabbedPanel 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).
Text Render a I18n text message.
TextArea Render HTML textarea tag.
TextField Render an HTML input field of type text
TimePicker Renders timepicker element.
Token Stop double-submission of forms.
Tree 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

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

UIBean UIBean is the standard superclass of all Struts UI componentns.
UpDownSelect Create a Select component with buttons to move the elements in the select component up and down.
URL  
 



Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.