Changes for page Struts2 Tag Guide
on 2012/03/02 19:30
on 2012/03/02 22:25
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -5,7 +5,7 @@ 5 5 1. Data 6 6 1. Form 7 7 1. Control 8 -1. Non-Form U 8 +1. Non-Form UI 9 9 1. Ajax 10 10 11 11 **Data** tags are used to output data to a jsp, typical uses include displaying values collected by the action and displaying links to other actions. ... ... @@ -12,3 +12,8 @@ 12 12 13 13 **Form** tags can display data like Data tags as they can supply a default value, but are used to render html form elements. **Note**: Struts2 Form tags render using a //theme //so if you find it difficult to lay out the page as you would expect I would recommend //[[changing the theme to //simple//>>doc:Struts2 Themes]]//. 14 14 15 +**Control** tags cover conditions, iteration and tags to manipulate collections before iterating over them. 16 + 17 +**Non-Form UI** tags allow you to display action messages, errors for fields or for the action and lets you render custom components they you have made in other JSPs, freemarker or velocity. 18 + 19 +**Ajax** tags **DON'T USE THEM** they have been [[deprecated>>url:http://struts.apache.org/2.2.3/docs/ajax-tags.html]]. People hearing this decide that the Struts2 jQuery Tag library is the way to go, this too is generally not the case.