struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ludovic Maitre <Ludovic.Mai...@fr.oleane.com>
Subject Nested taglib and JSTL
Date Thu, 12 Jun 2003 15:05:33 GMT
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


Mime
View raw message