I tried again, and it worked. There is still one error ( i.e. a page that
worked before but no longer does ), but that may be legitimate.
2 more problems:
- I have a
<bean:define id="a" name="foo"/>
The generated code is:
a = (java.lang.Object) pageContext.findAttribute("a");
a = (java.lang.Object) pageContext.findAttribute("a");
a = (java.lang.Object) pageContext.findAttribute("a");
( i.e. 3 times the same line ).
Not a bug, but strange.
- in the same case, the 'a' variable is declared at the top
of the file, even if it is AT_END. That brakes previous <iterate>
that used the 'a' id. I believe this is a bug.
Costin
On Tue, 25 Jun 2002, Jan Luehe wrote:
> Costin,
>
> > On Mon, 24 Jun 2002, Kin-Man Chung wrote:
> >
> > > With the Jan's patch last Friday, jasper 2 should handle those cases
> > > that used to work for japser1, as well as those those that cannot be
> > > handled by jasper1. If this is not the case, please let me know.
> >
> > The current failing case is ( used to work fine in jasper1 ):
> > The original problem with 2 nested iterate is solved, thanks Jan.
> >
> >
> > <%@ 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>
> >
> > Costin
>
> Correct me if I'm wrong, but the above compiles fine for me
> with Friday's patch. In fact, I had tested the above example
> to make sure the patch worked. Attached is the generated servlet.
>
> What is the error message you are getting?
>
>
>
> Jan
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>