You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ludovic Maitre <Lu...@fr.oleane.com> on 2003/06/12 17:05:33 UTC
Nested taglib and JSTL
Hello,
Could somebody answer to 2 little questions :
1- why there is no nested-el taglib ?
Because i want to do something like :
* in one page :
<nested:iterate property="AccesTelecom">
<jsp:directive.include file="/pages/nests/AccesTelecomNest.jsp"/>
</nested:iterate>
* in AccesTelecomNest.jsp :
<jsp:root xmlns="..." ...>
<nested:equal property="id" value="0">
<nested-el:submit value="addAccesTelecom" property="action"/>
</nested:equal>
<nested:notEqual property="id" value="0">
<!-- it's here that i want a nested-el tag -->
<nested-el:submit value="delAccesTelecom${id}" property="action"/>
</nested:notEqual>
</jsp:root>
you think that this is possible to do something like this ?
if this is stupid, why ?
2- Is it possible to reference the current nested property in an
el-expression ? Because actually i cannot use JSTL in my nests.
I would write a tag for doing this (put the current nest in page scope
where he's accessible by jstl tag [i think]) but perhaps there is a
better solution (which is already coded).
--
Ludovic Maître
Factory Productions | Tél: (33) 04 93 07 08 00
149, avenue des mimosas | Fax: (33) 04 93 07 04 02
06700 Saint-Laurent-du-Var (France) | Web: http://www.factory.fr
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org