Struts 2 > UI Components |

Struts 2
UI Components
Edit Page Browse Space Add Page Add News
Added by plightbo, last edited by Ted Husted on Sep 02, 2006 (view change)

WebWork has wide support for various view technologies, including JSP, FreeMarker, Velocity, JasperReports, and others. Much of the view support is abstracted out to a common set of "UI components" that have hooks in for specific technologies, such as JSP tags or FreeMarker "transform models". In this section, we'll describe the generic UI components, what they do, and what they're supported parameters are. Then, separately, we'll describe how the various view technologies hook in to these components.

| Technology-specific features Some view technologies have features or tags unique only to them. These are also outlined in detail in their respective sections. For example, some features may only be available in JSP. Over time, if there is enough demand, these features might be pulled up to the generic UI components so that every view technology can use them.

1. Generic UI Components
2. View technology hooks
   1. JSP Tags
   2. FreeMarker Tags
   3. Velocity Directives