You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Struts-dev Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/05/02 18:10:01 UTC
Tiles/use of parameter in the components composition
Subject: Tiles/use of parameter in the components composition
From: "PitBull" <co...@ksolutions.it>
===
Hi all,
I have the following situation:
<%@ taglib uri="/WEB-INF/conf/tiles.tld" prefix="tiles" %>
<tiles:insert page="/Layout.jsp" flush="true">
<tiles:put name="title" value="My page" />
<tiles:putList name="jsList">
....................
</tiles:putList>
<tiles:put name="object" value="/object.jsp"/>
?? <tiles:put name="MODE" value="OBJECTSELECT" />??
<tiles:put name="objectSrc" value="/objectSrc.jsp"/>
</tiles:insert>
I put "<tiles:put name="MODE" value="OBJECTSELECT" />" because i need
"OBJECTSELECT" and "CHOICE" as parameters to manage two different contexts
inside the jsp "objectSrc.jsp".
e.g.: In the file objectSrc.jsp I have to do something like that:
<logic:equal name="MODE" value="OBJECTSELECT">
do A
</logic:equal>
<logic:equal name="MODE" value="CHOICE">
do B
</logic:equal>
That not run.
Can anyone help me to solve this problem plz? Thanx
Pit
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Tiles/use of parameter in the components composition
Posted by Cedric Dumoulin <ce...@lifl.fr>.
Hello,
See my reply in struts-user list.
This kind of question must be asked in struts user list. Please, avoid
crosspost across lists.
Cedric
"Struts-dev Newsgroup (@Basebeans.com)" wrote:
> Subject: Tiles/use of parameter in the components composition
> From: "PitBull" <co...@ksolutions.it>
> ===
> Hi all,
>
> I have the following situation:
> <%@ taglib uri="/WEB-INF/conf/tiles.tld" prefix="tiles" %>
>
> <tiles:insert page="/Layout.jsp" flush="true">
> <tiles:put name="title" value="My page" />
> <tiles:putList name="jsList">
> ....................
> </tiles:putList>
> <tiles:put name="object" value="/object.jsp"/>
> ?? <tiles:put name="MODE" value="OBJECTSELECT" />??
> <tiles:put name="objectSrc" value="/objectSrc.jsp"/>
> </tiles:insert>
>
> I put "<tiles:put name="c" value="OBJECTSELECT" />" because i need
> "OBJECTSELECT" and "CHOICE" as parameters to manage two different contexts
> inside the jsp "objectSrc.jsp".
> e.g.: In the file objectSrc.jsp I have to do something like that:
> <logic:equal name="MODE" value="OBJECTSELECT">
> do A
> </logic:equal>
> <logic:equal name="MODE" value="CHOICE">
> do B
> </logic:equal>
> That not run.
> Can anyone help me to solve this problem plz? Thanx
>
> Pit
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>