struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Pita" <cp...@tycdigital.com>
Subject Re: Possible bug with form tag
Date Wed, 07 Mar 2001 21:59:41 GMT
Only

<logic:equal name="fdpProductState"
value="<%=String.valueOf(ProductStates.SHOW_SOLUTION)%>">

where fdpProductState is a bean (an Integer) in the page scope exported by a
tag of my application.

----- Original Message -----
From: "Martin Cooper" <martin.cooper@tumbleweed.com>
To: <struts-dev@jakarta.apache.org>; <cpita@tycdigital.com>
Sent: Wednesday, March 07, 2001 6:19 PM
Subject: Re: Possible bug with form tag


> Carlos,
>
> What are you testing in your <logic:equal> tag? The exception suggests you
> might be trying to test a property of the form, for which the bean would
not
> have been created yet in option (1), but would be available in option (2).
>
> --
> Martin Cooper
>
> ----- Original Message -----
> From: "Carlos Pita" <cpita@tycdigital.com>
> To: <struts-dev@jakarta.apache.org>
> Sent: Wednesday, March 07, 2001 1:10 PM
> Subject: Possible bug with form tag
>
>
> > Hi!
> >
> >     I'm having problems using the form tag nested in the equal tag. The
> > pseudo-code could be something like:
> >
> > 1)
> > <logic:equal ......>
> >   <html:form ...>
> >     <html:radio ..../>
> >     <html:radio ..../>
> >     ....
> >   </html:form>
> > <logic:equal>
> >
> > 2)
> > <html:form ...>
> >   <logic:equal ......>
> >     <html:radio ..../>
> >     <html:radio ..../>
> >     ....
> >   <logic:equal>
> > </html:form>
> >
> > 2) works fine but 1) fails reporting:
> >
> > javax.servlet.ServletException: Cannot find bean under name
> > org.apache.struts.taglib.html.BEAN
> >
> > Sorry for not being more formal with the report, but I'm in a bit of a
> hurry
> > now.
> >
> > See you,
> >     Carlos
> >
> >
>
>



Mime
View raw message