check the getter and setter naming convention in the bean
getPrivilegeLevel ( )
setPrivilegeLevel ( )
----- Original Message -----
From: Rehana Sheikh (Contractor) <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: Struts (E-mail) <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 10:22 AM
Subject: RE: Select / drop-down box
> Thank-you for replying. The <html:select> tag is inside the <html:form>
> tag....I used the property attribute as the API did not give a use for the
> 'name' attribute in this instance. I have the get/set methods for
> privilegeLevel....it still doesn't compile and gives me the same error
>
> -----Original Message-----
> From: Martin Cooper [mailto:[EMAIL PROTECTED]]
> Sent: 07 July 2001 23:20
> To: [EMAIL PROTECTED]
> Subject: Re: Select / drop-down box
>
>
> Is your <html:select> tag inside a <html:form> tag? Since you are not
> specifying the 'name' attribute, Struts will look for the property on the
> associated form bean.
>
> --
> Martin Cooper
>
>
> ----- Original Message -----
> From: "Rehana Sheikh (Contractor)" <[EMAIL PROTECTED]>
> To: "Struts (E-mail)" <[EMAIL PROTECTED]>
> Sent: Friday, July 06, 2001 6:16 AM
> Subject: Select / drop-down box
>
>
> > Hi, I'm having a problem with implementing a drop-down select box using
> > taglibs in my jsp.....code I's using:
> >
> > <td align="right" valign="top"><bean:message
> > key="createGroup.privilegeLevel" /> : </td>
> > <td><html:select property="privilegeLevel">
> > <html:option value="p1" key="createGroup.p1" />
> > <html:option value="p2" key="createGroup.p2" />
> > <html:option value="p3" key="createGroup.p3" />
> > </html:select></td>
> > </tr>
> >
> > I get "runtime failure in Custom Tag 'select'".....any ideas or code???
> >
> > Regards.
> >