Subject: Tiles/use of parameter in the components composition
From: "PitBull" <[EMAIL PROTECTED]>
 ===
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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to