You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Julio Cesar C Neto <ju...@softsite.com.br> on 2004/11/22 19:00:54 UTC

tiles wilcard?

Hi,
 
   I would like able to use wildcards in the tiles-defs.xml. Is that
possible? Is there any patch?
 
 
Julio Cesar
 

RES: tiles wilcard?

Posted by Julio Cesar C Neto <ju...@softsite.com.br>.
Thank you Nicolas!




-----Mensagem original-----
De: Nicolas De Loof [mailto:nicolas.deloof@capgemini.com] 
Enviada em: terça-feira, 23 de novembro de 2004 07:22
Para: Struts Users Mailing List
Assunto: Re: tiles wilcard?


Here I am !

I submited a patch for this in
http://issues.apache.org/bugzilla/show_bug.cgi?id=31034

They're is no *pretty* doc on this (tutorial or sample) but you can look
at bugzilla comments for simple usage :

wildcard in struts-config.xml :

<action path="/Test*"
        forward="tiles:test.{1}"/>

wildcard in tiles-defs.xml :

<definition name="tiles:test.*" path="/testlayout.jsp">
    <put name="testName" value="{1}"/>
    <put name="def" value="tiles:another.definition.{1}"
type="definition"/>
</definition>



----- Original Message ----- 
From: "Julio Cesar C Neto" <ju...@softsite.com.br>
To: "'Struts Users Mailing List'" <us...@struts.apache.org>
Sent: Tuesday, November 23, 2004 10:55 AM
Subject: RES: tiles wilcard?


>   Yeah , I know and that´s exactly what would like to have with tiles.
> I´ve been searching the old messages and found that once Nicolas de
loof
> developed such a patch but it does not come with *any* documentation.
>
> Hey, Nicolas, are you there?
>
>
> Julio Cesar
>
> -----Mensagem original-----
> De: news [mailto:news@sea.gmane.org] Em nome de Vic
> Enviada em: segunda-feira, 22 de novembro de 2004 16:17
> Para: user@struts.apache.org
> Assunto: Re: tiles wilcard?
>
> You can do wild cards in struts-config, if that helps.
> Tiles has a diferent mechanisam to repeat.
> .V
>
> Julio Cesar C Neto wrote:
> > Hi,
> >
> >    I would like able to use wildcards in the tiles-defs.xml. Is that
> > possible? Is there any patch?
> >
> >
> > Julio Cesar
> >
> >
>
>
> ---------------------------------------------------------------------
> 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
>


This message contains information that may be privileged or confidential
and is the property of the Capgemini Group. It is intended only for the
person to whom it is addressed. If you are not the intended recipient,
you are not authorized to read, print, retain, copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all
copies of this message.


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


Re: tiles wilcard?

Posted by Nicolas De Loof <ni...@capgemini.com>.
Here I am !

I submited a patch for this in http://issues.apache.org/bugzilla/show_bug.cgi?id=31034

They're is no *pretty* doc on this (tutorial or sample) but you can look at bugzilla comments for simple usage :

wildcard in struts-config.xml :

<action path="/Test*"
        forward="tiles:test.{1}"/>

wildcard in tiles-defs.xml :

<definition name="tiles:test.*" path="/testlayout.jsp">
    <put name="testName" value="{1}"/>
    <put name="def" value="tiles:another.definition.{1}" type="definition"/>
</definition>



----- Original Message ----- 
From: "Julio Cesar C Neto" <ju...@softsite.com.br>
To: "'Struts Users Mailing List'" <us...@struts.apache.org>
Sent: Tuesday, November 23, 2004 10:55 AM
Subject: RES: tiles wilcard?


>   Yeah , I know and that´s exactly what would like to have with tiles.
> I´ve been searching the old messages and found that once Nicolas de loof
> developed such a patch but it does not come with *any* documentation.
>
> Hey, Nicolas, are you there?
>
>
> Julio Cesar
>
> -----Mensagem original-----
> De: news [mailto:news@sea.gmane.org] Em nome de Vic
> Enviada em: segunda-feira, 22 de novembro de 2004 16:17
> Para: user@struts.apache.org
> Assunto: Re: tiles wilcard?
>
> You can do wild cards in struts-config, if that helps.
> Tiles has a diferent mechanisam to repeat.
> .V
>
> Julio Cesar C Neto wrote:
> > Hi,
> >
> >    I would like able to use wildcards in the tiles-defs.xml. Is that
> > possible? Is there any patch?
> >
> >
> > Julio Cesar
> >
> >
>
>
> ---------------------------------------------------------------------
> 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
>


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


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


RES: tiles wilcard?

Posted by Julio Cesar C Neto <ju...@softsite.com.br>.
  Yeah , I know and that´s exactly what would like to have with tiles.
I´ve been searching the old messages and found that once Nicolas de loof
developed such a patch but it does not come with *any* documentation. 

Hey, Nicolas, are you there?


Julio Cesar

-----Mensagem original-----
De: news [mailto:news@sea.gmane.org] Em nome de Vic
Enviada em: segunda-feira, 22 de novembro de 2004 16:17
Para: user@struts.apache.org
Assunto: Re: tiles wilcard?

You can do wild cards in struts-config, if that helps.
Tiles has a diferent mechanisam to repeat.
.V

Julio Cesar C Neto wrote:
> Hi,
>  
>    I would like able to use wildcards in the tiles-defs.xml. Is that
> possible? Is there any patch?
>  
>  
> Julio Cesar
>  
> 


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


Re: tiles wilcard?

Posted by Vic <vi...@friendvu.com>.
You can do wild cards in struts-config, if that helps.
Tiles has a diferent mechanisam to repeat.
.V

Julio Cesar C Neto wrote:
> Hi,
>  
>    I would like able to use wildcards in the tiles-defs.xml. Is that
> possible? Is there any patch?
>  
>  
> Julio Cesar
>  
> 


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