No you don't because they are form elements then the form to which they are
associated is inferred by the action path.

An element will attempt to populate itself with the get method of the form.
Make sure that you either declare the variable and give it a starting value
(even if it just blank - anything but null) or have your getter return a
non-null default value if the variable is currently null.

-----Original Message-----
From: Karr, David [mailto:[EMAIL PROTECTED]]
Sent: 26 November 2002 16:52
To: Struts Users Mailing List
Subject: RE: Struts-el strange behav.


You need to provide the name of your form bean in the "name" attribute.

> -----Original Message-----
> From: kiuma [mailto:[EMAIL PROTECTED]]
> 
> hello,
> I'm having the following problem (Furtunately I've found the 
> solution).
> 
> if i use
> <html-el:hidden property='selectedCode'/>
> The container reply with an error
> 
> WARNING: Exception for /webappointments/secure/specialitylistview.jsp
> javax.servlet.jsp.JspException: No getter method for property 
> selectedCode of bean org.apache.struts.taglib.html.BEAN

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only.  It may contain proprietary material, confidential information and/or be subject 
to legal privilege.  It should not be copied, disclosed to, retained or used by, any 
other party.  If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender.  Thank you.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to