struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
Subject Re: use of s:head
Date Thu, 30 Aug 2007 07:26:07 GMT
Pedro Herrera wrote:
> What´s the meaning o s:head. In wich cases I use it ??

http://struts.apache.org/2.x/docs/head.html

Basically, the tag will render appropriate HTML for the page's theme to 
include resources such as style sheets, javascript and do forth. The 
best way to see what it's going it to include it in a page and then use 
View Source to examine the markup produced.

The most important use case is when using the 'ajax' them (for the whole 
page or for any particular form tag within the page); it's the s:head 
tag that gets the required Javascript loaded.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message