Would it be possible for you to use javax.servlet.jsp.tagext.TagAdapter to
expose your SimpleTag as a Tag?

Quoting Bernhard Slominski <[EMAIL PROTECTED]>:

> Hi,
> 
> I want to create a set of two taglibs for a Navigation Box with the Simple
> Tag API and for my magivation items I need to know  the parent item.
> The problem is if I have a JSTL tag inbetween my Simple tags then I cannot
> get any more to MY next parent.
> 
> Example: 
> <zplib:navigationBox title="Title">
>         <zplib:navigationItem name="Item1"/>
>         <c:if test="true">
>             <zplib:navigationItem name="Item2"/>
>         </c:if>
>         <zplib:navigationItem name="Item3">
>             <zplib:navigationItem name="Item4"/>
>         </zplib:navigationItem>
> </zplib:navigationBox>
> 
> >From "Item 2" I cannot get to the "navigationBox" Simple Tag, because a
> classic one (JSTL c:if) is inbetween.
> So as soon as you're using JSTL you're lost, and that's really bad, so I
> have to go back to the Classic Tag API, which I don't want to do.
> 
> So my question: Are there plans to implement the JSTL 1.1. with the Simple
> Tag API? Does it already exist?
> 
> Thanks
> 
> Bernhard
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to