You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Tim Stadinski <TS...@register.com> on 2003/04/29 17:26:45 UTC

Tiles Definition Clarification

According to the documentation, a tile definition requires the "id" attribute, but every example I have seen and from my own usage, I have been using "name" instead.  Which is correct?  Is one deprecated ?  This is also the case with "path" versus "template"...??

http://jakarta.apache.org/struts/userGuide/struts-tiles.html

I am using Struts 1.1 RC1

<definition name="mytile" path="/WEB-INF/pages/template/temp1.jsp">

OR

<definition id="mytile" template="/WEB-INF/pages/template/temp1.jsp">

?

Thanks.

Timothy Stadinski
Senior Software Engineer
tstadinski@register.com
 

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