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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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
> >
> >
>
>


Reply via email to