You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Stephan R. Mueller" <st...@stud.leuphana.de> on 2010/01/17 06:44:48 UTC

Struts2 Tiles: specify the part of template that is to be rendered

Hi list.

I'm playing with tiles and currently, I'm only able
insert the full code of a template. Is there a way
to define what part of a template is about to be
inserted? like:
<html>
 <title>template</title>
 <body>
  random stuff
   <insert_the_following>
    only this section will be inserted
   </insert_the_following>
  other random stuff
 </body>
</html>

I'm missing this, since I've played with wicket before
and now I'm wondering, if tiles2 allows this too.

I'm using tiles-2.0.6.

Regards,
Stephan

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


Re: Struts2 Tiles: specify the part of template that is to be rendered [SOLVED]

Posted by "Stephan R. Mueller" <st...@stud.leuphana.de>.
Am 17.01.2010 um 09:08 schrieb Antonio Petrelli:

> 2010/1/17 Stephan R. Mueller <st...@stud.leuphana.de>:
>> Hi list.
>> 
>> I'm playing with tiles and currently, I'm only able
>> insert the full code of a template. Is there a way
>> to define what part of a template is about to be
>> inserted? like:
>> <html>
>>  <title>template</title>
>>  <body>
>>  random stuff
>>   <insert_the_following>
>>    only this section will be inserted
>>   </insert_the_following>
>>  other random stuff
>>  </body>
>> </html>
>> 
>> I'm missing this, since I've played with wicket before
>> and now I'm wondering, if tiles2 allows this too.
> 
> Short answer: no.
> For the long answer please ask the Tiles Users mailing list:
> http://tiles.apache.org/mail.html
> 
> Antonio

Thank you. Will head for the tiles-list.

Stephan

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


Re: Struts2 Tiles: specify the part of template that is to be rendered

Posted by Antonio Petrelli <an...@gmail.com>.
2010/1/17 Stephan R. Mueller <st...@stud.leuphana.de>:
> Hi list.
>
> I'm playing with tiles and currently, I'm only able
> insert the full code of a template. Is there a way
> to define what part of a template is about to be
> inserted? like:
> <html>
>  <title>template</title>
>  <body>
>  random stuff
>   <insert_the_following>
>    only this section will be inserted
>   </insert_the_following>
>  other random stuff
>  </body>
> </html>
>
> I'm missing this, since I've played with wicket before
> and now I'm wondering, if tiles2 allows this too.

Short answer: no.
For the long answer please ask the Tiles Users mailing list:
http://tiles.apache.org/mail.html

Antonio

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