posts - 431,  comments - 344,  trackbacks - 0

          In this section we will introduce you with the tags provided along with Struts 2 framework. It is necessary to understand all the tags provided along with Struts 2 framework. In this page we will have listed all the Struts 2 Tags and in subsequent sections we will provide you the examples of the these tags in detail.

          The Struts 2 Tags can be divided into two types:

          • Struts Generic Tags
            The struts generic tags are used to control the execution flow when pages are rendered. Another use of struts generic tags are data extraction.
            Further Generic Tags are classified into Control Tags and Data Tags
            Control Tags: The Control Tags are used for flow control, such if, else and iterate.
            Here are the list of Control Tags:
            * if
            * elseIf
            * else
            * append
            * generator
            * iterator
            * merge
            * sort
            * subset
            Data Tags: The Data Tags are used for data manipulation or creation, such as bean, push, and i18n.
            Here are the list of Data Tags:
            * a
            * action
            * bean
            * date
            * debug
            * i18n
            * include
            * param
            * push
            * set
            * text
            * url
            * property
               
          • Struts UI tags
            Struts UI Tags are mainly designed to use the data from your action/value stack or from Data Tags. These tags are used to display the data on the HTML page. The UI tags are driven by templates and themes. 
            Struts UI Tags are of two types Form Tags and Non - Form tags.
            Form Tags are as follows:
            * autocompleter
            * checkbox
            * checkboxlist
            * combobox
            * datetimepicker
            * doubleselect
            * head
            * file
            * form
            * hidden
            * label
            * optiontransferselect
            * optgroup
            * password
            * radio
            * reset
            * select
            * submit
            * textarea
            * textfield
            * token
            * updownselect

            Non-Form UI Tags are:
            * actionerror
            * actionmessage
            * component
            * div
            * fielderror
            * table
            * tabbedPanel
            * tree
            * treenode

          The main difference between Struts Generic Tags and Struts UI Tags are:

          • The generic tags simply output some content directly from the tag while the UI tags uses templates and often group the output together with theme
          posted on 2007-07-11 18:20 周銳 閱讀(529) 評論(0)  編輯  收藏 所屬分類: Struts
          主站蜘蛛池模板: 南涧| 永州市| 邵东县| 登封市| 綦江县| 江津市| 肃宁县| 西畴县| 武邑县| 广东省| 横山县| 陵水| 丰镇市| 新巴尔虎右旗| 临沂市| 嘉禾县| 汝城县| 郑州市| 胶州市| 齐河县| 五台县| 四子王旗| 阿瓦提县| 江川县| 泸溪县| 五大连池市| 庆安县| 天峻县| 浦北县| 沁源县| 芮城县| 靖西县| 阿图什市| 禹城市| 谢通门县| 廊坊市| 西乌珠穆沁旗| 玉门市| 定西市| 涿鹿县| 固安县|