On 11/24/05, Kanuri, Chand <[EMAIL PROTECTED]> wrote: > how can i go back to webconstants and get the name? > thats the main problem i got now. > > <input type="hidden" name="itemt.name" value="<bean:write name="itemType" > property="name"/>"> > as itemType giving me the last name value(in the collection) at the moment .
My take on this is that you don't need the hidden field. Let the user submit the form, which will include the 'code'. If you really need the 'name' in the form bean, then do that after the form is submitted, in the Action-- look up the name in WebConstants using the submitted 'code' and set the form property. But I don't even think you need that... what do you eventually use 'name' for after the form is submitted? -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]