You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Buics <rb...@pc.ntep.nec.co.jp> on 2003/02/21 09:36:23 UTC
Help in html option tag
anybody could help me this one,
it takes me 2 days to figure this out and wheeeww 'til now I dont have a
solution.
<html:select property="creditCardType" size="1">
<html:options collection="<%= Constants.CCTYPES_ARRAY_KEY %>"
property="value"
labelProperty="label"/>
</html:select>
org.apache.jasper.JasperException: Cannot find bean under name
org.apache.struts.taglib.html.BEAN
Thank you in advance ..
--buics
--
It's good to be slow and steady; but it's better to be fast and reliable.
Re: Help in html option tag
Posted by Nicolas De Loof <ni...@cgey.com>.
It looks like your <html:select> is not in the body of a <html:form> tag
<html:form> puts the formbean in page scope under
"org.apache.struts.taglib.html.BEAN" for others <html:xxx> to use it.
Nico.
> anybody could help me this one,
> it takes me 2 days to figure this out and wheeeww 'til now I dont have a
> solution.
>
> <html:select property="creditCardType" size="1">
> <html:options collection="<%= Constants.CCTYPES_ARRAY_KEY %>"
> property="value"
> labelProperty="label"/>
> </html:select>
>
>
>
> org.apache.jasper.JasperException: Cannot find bean under name
> org.apache.struts.taglib.html.BEAN
>
>
> Thank you in advance ..
>
> --buics
>
>
> --
> It's good to be slow and steady; but it's better to be fast and reliable.
>
>
>
>
----------------------------------------------------------------------------
----
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org