You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jan Luehe <Ja...@sun.com> on 2002/06/22 00:41:35 UTC

Re: Jasper2: serious problem with tag declarations

Costin,


>         > If those variable declaration problems are fixed, I'll release a new 
>         > 4.1.6 milestone as soon as I can fix the JNDI problems.
> 
>         Not yet...
> 
>         I attached the failed jsp.
> 
>         Costin
> 
>         [...]
>
>         <%@ page language="java" %>
>         <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
> 
>         <logic:iterate id="a" name="foo" property="bar">
>         </logic:iterate>
> 
>         <logic:present name="b">
>         <logic:iterate id="a" name="foo" property="bar">
>         </logic:iterate>
>         </logic:present>


last and final attempt! :)
The attached patch should fix the last issue you brought up.

Since I am still waiting for my commit privileges, Kin-Man
has again volunteered to apply the patch. Thanks Kin-Man!


Jan


Re: Jasper2: serious problem with tag declarations

Posted by co...@covalent.net.
Thanks, I'll try it out.

I'm a bit worried here - most of the stuff is pretty basic and 
common use of tags. Watchdog and the test suite was supposed
to detect that withou any problems. 

I'll vote for 'alpha' status for the next build, 
and I hope more people will check their apps against it - 
I like the changes that are going on, but we need a bit 
more testing.

How do we deal with nested tags of different type ? I don't have 
a test case, but I assume someone may have a NESTED tag 
'foo' in 2 different tags, with different declared types ( String and 
Integer ). The current generator seems to not create { }, 
and I'm not sure how this will work.

( no test case - but I'm sure you can find such tags )

Costin


On Fri, 21 Jun 2002, Jan Luehe wrote:

> Costin,
> 
> 
> >         > If those variable declaration problems are fixed, I'll release a new 
> >         > 4.1.6 milestone as soon as I can fix the JNDI problems.
> > 
> >         Not yet...
> > 
> >         I attached the failed jsp.
> > 
> >         Costin
> > 
> >         [...]
> >
> >         <%@ page language="java" %>
> >         <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
> > 
> >         <logic:iterate id="a" name="foo" property="bar">
> >         </logic:iterate>
> > 
> >         <logic:present name="b">
> >         <logic:iterate id="a" name="foo" property="bar">
> >         </logic:iterate>
> >         </logic:present>
> 
> 
> last and final attempt! :)
> The attached patch should fix the last issue you brought up.
> 
> Since I am still waiting for my commit privileges, Kin-Man
> has again volunteered to apply the patch. Thanks Kin-Man!
> 
> 
> Jan
> 
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>