|
|
Struts 2 Tags (UI Tags) Examples
- Form Tags
- Auto
Completer Example
In this section, we are going to describe the autocompleter tag. The autocompleter tag always displays a dropdown list with the options
that have at least a partial match with entered text in the textbox. If
the user clicks on the dropdown button then all options shown in the
dropdown list.
- Checkbox Tag
(Form Tag) Example
In this section, we are going to describe the checkbox tag. The
checkbox tag is a UI tag that is used to render an HTML input
element of type checkbox, populated by the specified property from the
ValueStack.
- Checkboxlist
Tag (Form Tag) Example
In this section, we are going to describe the checkboxlist tag. The
checkboxlist tag is a UI tag that creates a series of checkboxes from a
list. Setup is like <s:select /> or <s:radio />, but creates
checkbox tags.
- Combobox Tag
(Form Tag) Example
In this section, we are going to describe the combobox tag. The
combo box is basically an HTML INPUT of type text and HTML SELECT
grouped together to give you a combo box functionality.
- Datetimepicker
Tag (Form Tag) Example
In this section, we are going to describe the datetimepicker tag.
The datetimepicker tag is a UI tag that is used to render a date/time
picker in a dropdown container.
- Doubleselect
Tag (Form Tag) Example
In this section, we are going to describe the doubleselect tag. The
doubleselect tag is a UI tag that renders two HTML select elements with
second one changing displayed values depending on selected entry of
first one.
- File Tag (Form Tag)
Example
In this section, we are going to describe the file tag. The file
tag is a UI tag that renders an HTML file
input element achieved through browsing.
- Form Tag Example
In this section, we are going to describe the form tag. The form
tag is a UI tag that renders HTML an input form.
- Label Tag (Form
Tag) Example
In this section, we are going to describe the label tag. The label
tag is a UI tag that is used to render an HTML LABEL that allow to
output label:name type of combinations that has the same
format treatment as the rest of UI controls.
- Optiontransferselect
Tag (Form Tag) Example
In this section, we are going to describe the Optiontransferselect
tag. The Optiontransferselect tag is a UI tag that create an option
transfer select component.
- Optgroup Tag
(Form Tag) Example
In this section, we are going to describe the optgroup tag. The
optgroup tag is a UI tag that creates an optgroup component which needs
to resides within a select tag <s:select>.
- Password Tag
(Form Tag) Example
In this section, we are going to describe the password tag. The
password tag is a UI tag that renders an HTML input tag of type
password.
- Radio Tag (Form
Tag) Example
In this section, we are going to describe the radio tag. The radio
tag is a UI tag that renders a radio button input field.
- Reset Tag (Form
Tag) Example
In this section, we are going to describe the reset tag. The reset
tag is a UI tag that is used together with the form tag to provide
form resetting.
- Select Tag (Form
Tag) Example
In this section, we are going to describe the select tag. The select
tag is a UI tag that is used to render a HTML input tag of type select.
- Submit Tag (Form
Tag) Example
In this section, we are going to describe the submit tag. The submit
tag is a UI tag that is used to render a submit button. The submit tag
is used together with the form tag to provide asynchronous form
submissions.
- Textarea Tag
(Form Tag) Example
In this section, we are going to describe the textarea tag. The
textarea tag is a UI tag that is used to render HTML textarea.
- Textfield Tag
(Form Tag) Example
In this section, we are going to describe the textfield tag. The
textfield tag is a UI tag that is used to render an HTML input field of
type text.
- Updownselect
Tag (Form Tag) Example
In this section, we are going to describe the updownselect tag. The
updownselect tag is a UI tag that creates a select component with
buttons to move up and down the elements in the select component.
- Non-Form UI Tags
- Actionerror
and Actionmessage Tags (Non-Form UI Tags) Example
In this section, we are going to describe the actionerror and
actionmessage tags. The actionerror tag is a UI tag that renders
action errors(in the jsp pages.) if they exists while the actionmessage
tag renders action messages if they exists.
- Fielderror Tag
(Non-Form UI Tags) Example
In this section, we are going to describe the fielderror tags. The
fielderror tag is a UI tag that renders field errors if they exists.
-
TabbedPanel (Ajax Tag) Example
In this section, you will learn about the tabbedPanel tag. This is an Ajax
component, where each tab is either a local content or a remote content
(refreshed each time when user selects that tab).
- tree and
treenode (Ajax Tag) tags Example
In this section, you will learn about the tree and treenode tags.
These both work with the Ajax support.
- Div (Ajax Tag) tag
Example
In this section, you will learn about the div tag. The div
tag is an Ajax component that is used with Ajax refreshes the contents
of a particular section without refreshing the entire page.
|
|
Facing Programming Problem?
|
| Add This
Tutorial To: |
Del.icio.us |
Digg |
Google |
Spurl |
Blink |
Furl |
Simpy |
Y! MyWeb |
|
|
Current Comments
0 comments so far (post your own) View All Comments Latest 10 Comments: