RE: DynaValidationForm

2003-11-13 Thread Nimish Chourey , Tidel Park - Chennai
You can make two action mappings say For Retrieveing details action path=/RetrieveAccDetails type=com.AccountAction scope=request name=AccountForm parameter=method validate=false forward name=success path=/message.jsp / /action For Editing action

Re: DynaValidationForm

2003-06-30 Thread Matthias Wessendorf
thank you, but my problem is, i can not create a instance of a DynaActionForm in my execute() i have something like this: ... BusinessData bd = Application.getBusinessObject(); Hashtable ht = new Hashtable(); ht.put(Name, bd.getName()); ht.put(Foo, bd.getFoo()); request.setAttribute(data,ht);

Re: DynaValidationForm -DynaActionForm

2003-06-30 Thread Matthias Wessendorf
just again a question about the creation of a dynaAtionForm... now i have this code to create a form: FormBeanConfig fbc = new FormBeanConfig(); fbc.setName(myForm); DynaActionFormClass dafc = DynaActionFormClass.createDynaActionFormClass(fbc);

Re: DynaValidationForm

2003-06-27 Thread sangappan
If your object has the same properties as the form, the quick way to get it to the form is BeanUtils.copyProperties.. The matched properties are copied and the unmatching properties do not. Or you can use dynaActionForm.set(param1, parameter1);