Hi,
To answer your question I am quoting the book "Practical Apache Struts 2 Web 2.0 Projects"
by Ian Roughley :
Using the component tag is similar to using an include tag of either the Struts 2 or JSP variety.
The difference is conceptual, in that the component tag is meant to be a user interface widget
rather than already preformatted text. As such, it includes the Struts 2-specific theme attribute,
as well as the JavaScript event attributes, CSS attributes, and HTML attributes found on the
other Struts 2 tags.
Celinio Fernandes
-----Message d'origine-----
De : François Rouxel [mailto:rouxelec@yahoo.com]
Envoyé : mercredi 31 décembre 2008 23:04
À : Struts Users Mailing List
Objet : s:component vs s:include
Struts 2.x
Can anybody tell me the difference between s:component and s:include ?
thanks a lot
happy new year
fr
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
|