Re: DynaActionForm and html:hidden

2005-09-21 Thread Martin Gainty
K- corrections are prefixed by 'Note correction' in both the JSP and struts-config.xml.. Hi All, I am trying to find a way to populate a DynaActionForm after the form has been submitted. For example, I have the following: public class MyBean implements serializable { public String name,

Re: DynaActionForm and html:hidden

2005-09-21 Thread Jason King
document.forms[0]["mybean.name"].value = "myname" ; will work [EMAIL PROTECTED] wrote: I haven't tried it, however, I would have to see if JavaScript would handle it. I am updating the hidden field using javascript, so I am not sure if it would like: document.forms[0].myBean.name.value = "myn

Re: DynaActionForm and html:hidden

2005-09-21 Thread kandryc
I haven't tried it, however, I would have to see if JavaScript would handle it. I am updating the hidden field using javascript, so I am not sure if it would like: document.forms[0].myBean.name.value = "myname"; ... ... ~K Quoting Michael Jouravlev <[EMAIL PROTECTED]>: > Are you saying that

Re: DynaActionForm and html:hidden

2005-09-21 Thread Michael Jouravlev
Are you saying that combination of nested properties and dynaform does not work for nested fields? Have you tried this: Michael. On 9/21/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi All, > > I am trying to find a way to populate a DynaActionForm after the form has been > submitted. Fo

DynaActionForm and html:hidden

2005-09-21 Thread kandryc
Hi All, I am trying to find a way to populate a DynaActionForm after the form has been submitted. For example, I have the following: public class MyBean implements serializable { public String name, address; public MyBean() { name = new String(); address = new String(); }