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
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
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
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
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
5 matches
Mail list logo