struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Martin" <Andrew.Mar...@ictu.nl>
Subject RE: Tiles: attribute values within nested JSP's!
Date Wed, 11 Oct 2006 14:25:01 GMT
Opps, sorry typo in my example, they should of course have different names! 

  <definition extends="sub1.definition" name="page.overview">
 	<put name="title" value="Page Title 1"/>
 	<put name="body" value="/WEB-INF/jsp/page1.jsp"/>
  </definition>   

  <definition extends="sub2.definition" name="subpage2.overview">
 	<put name="title" value="Page Title 2"/>
 	<put name="body" value="/WEB-INF/jsp/page2.jsp"/>
  </definition>   

  <definition extends="sub2.definition" name="subpage3.overview">
 	<put name="title" value="Page Title 3"/>
 	<put name="body" value="/WEB-INF/jsp/page3.jsp"/>
 	<put name="content" value="/WEB-INF/jsp/subcontent3.jsp"/>
  </definition>  

-----Oorspronkelijk bericht-----
Van: Antonio Petrelli [mailto:apetrelli@apache.org]
Verzonden: woensdag 11 oktober 2006 16:26
Aan: Struts Users Mailing List
Onderwerp: Re: Tiles: attribute values within nested JSP's!


Andrew Martin ha scritto:
>  <!-- Finally I extend the sub definitions with content pages -->
>
>  <definition extends="sub1.definition" name="page.overview">
> 	<put name="title" value="Page Title 1"/>
> 	<put name="body" value="/WEB-INF/jsp/page1.jsp"/>
>  </definition>   
>
>  <definition extends="sub2.definition" name="page.overview">
> 	<put name="title" value="Page Title 2"/>
> 	<put name="body" value="/WEB-INF/jsp/page2.jsp"/>
>  </definition>   
>
>  <definition extends="sub2.definition" name="page.overview">
> 	<put name="title" value="Page Title 3"/>
> 	<put name="body" value="/WEB-INF/jsp/page3.jsp"/>
> 	<put name="content" value="/WEB-INF/jsp/subcontent3.jsp"/>
>  </definition>  
>   

Three definitions with the same name???
This is a bug, my friend :-)

---------------------------------------------------------------------
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


Mime
View raw message