Re: DynaForms and EL (dynabean.map not working)

2005-08-24 Thread John Hutchinson
Figured it out. dynabean.map.prop should be .map. Where is the name of your form from struts-config. You can't actually use 'dynabean'. On 8/24/05, John Hutchinson <[EMAIL PROTECTED]> wrote: > I was under the impression that the form bean itself is a 'gimmie' and > does not explicitly ne

Re: DynaForms and EL (dynabean.map not working)

2005-08-24 Thread John Hutchinson
I was under the impression that the form bean itself is a 'gimmie' and does not explicitly need to be set in the request scope (or any other scope for that matter). For example, the tag works without needing the 'name' property, so somehow the tag knows to look in the form bean in this case. I

Re: DynaForms and EL (dynabean.map not working)

2005-08-24 Thread Hubert Rabago
You should try using the name you're using for the form when you pass it from your action to your JSP. > final DynaBean dynaForm = (DynaBean)form; > dynaForm.set("displayName", "test"); If you're using request.setAttribute("displayForm", dynaForm); then try > In my JSP, I have a element that

Re: DynaForms and EL (dynabean.map not working)

2005-08-24 Thread Hubert Rabago
What name did you use to pass this form from action to jsp? Hubert On 8/24/05, John Hutchinson <[EMAIL PROTECTED]> wrote: > Hi there. > > I have a form that uses org.apache.struts.validator.LazyValidatorForm. > > When I pre-populate this form before displaying it, I use code like > the followin

DynaForms and EL (dynabean.map not working)

2005-08-24 Thread John Hutchinson
Hi there. I have a form that uses org.apache.struts.validator.LazyValidatorForm. When I pre-populate this form before displaying it, I use code like the following in the action: final DynaBean dynaForm = (DynaBean)form; dynaForm.set("displayName", "test"); In my JSP, I have a element that loo