Home | Ajax | BioInformatics | Dojo | EAI | EJB | Hibernate | J2ME | Java | Java Glossary | Java Servlets | JavaScript | Jboss | JDBC | JDO | Jmeter | JSF | JSP | JUnit | Maven | MySQL | Spring Framework | SQL | Struts | Technology | WAP | Web Services | XML
 
 
Search All Tutorials
  

 
Programming Tutorials: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML
 
Struts
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification
  Java Applet
Questions
Comments

Struts 2 Tags (UI Tags) Examples

                         

  1. Form Tags
           
    1. 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.
                  
    2. 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.
          
    3. 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.
        
    4. 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.
         
    5. 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.
           
    6. 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.
            
    7. 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.
             
    8. 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.
             
    9. 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.
             
    10. 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.
            
    11. 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>.
               
    12. 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.
           
    13. 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.
               
    14. 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.
          
    15. 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.
             
    16. 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.
          
    17. 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.
           
    18. 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.
           
    19. 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.
                 
  2. Non-Form UI Tags
         
    1. 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.
             
    2. 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.
          
    3. 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).

    4. 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.
          
    5. 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:

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Hot Web Programming Job

Java String toLowerCase Example
Java String toCharArray Example
Java String substring Example
Java String indexOf Example
Java String startsWith Example
Java String hashCode Example
Java String matches Example
Java String length Example
Java String lastIndexOf Example
Java String isEmpty Example
Java String equalsIgnoreCase Example
Java String equals Example
Java String endsWith Example
Java String copyValueOf Example
Java String contentEquals Example
  EAI Articles
  Java Certification
Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2007. All rights reserved.