Re: DynaValidatorForm
"Nitin Gaur" <[email protected]>
| Newsgroups | gmane.comp.java.strutscx.user |
|---|---|
| Message-ID | <[email protected]> |
They r easy to write but what about not writing at all !!! Though, I agree with benefit of method name help in Eclipse which I also use. regards -Nitin ----- Original Message ----- From: "Bernhard Woehrlin" <[email protected]> To: "'Nitin Gaur'" <[email protected]>; <[email protected]> Sent: Tuesday, October 07, 2003 2:42 PM Subject: AW: [Strutscx-user] DynaValidatorForm > Hi Nitin, > > As far as I know Dynamic ActionForms behave basically the same way like > other ActionsForms. - The StrutsCX DynaForm support is still > experimental... actually I prefer classic ActionsForms. They are easy to > write and I can see the method names in the bubble help - thanks to my > IDE (eclipse)... > > Regards, > > Berny > > -----Ursprüngliche Nachricht----- > Von: [email protected] > [mailto:[email protected]] Im Auftrag von Nitin > Gaur > Gesendet: Dienstag, 7. Oktober 2003 09:01 > An: [email protected] > Betreff: [Strutscx-user] DynaValidatorForm > > Hello, > Earlier I was using ActionForm, that gets serialized into xml so I could > fetch value from it as > /root/actionForm/LoginForm/txtusername > > But now I am using DynaValidatorForm, it gets serialzed bu doesn't > contain the values of the properties, its like this > - <actionform> > - <DynaValidatorForm> > <class>class > com.cappuccinonet.strutscx.validator.DynaValidatorForm</class> > - <DynaActionFormClass> > <class>class org.apache.struts.action.DynaActionFormClass</class> > <name>LoginForm</name> > </DynaActionFormClass> > - <HashMap> > <class>class java.util.HashMap</class> > <empty>false</empty> > </HashMap> > <multipartRequestHandler /> > <page>0</page> > - <HashMap> > <class>class java.util.HashMap</class> > <empty>true</empty> > </HashMap> > - <ActionServletWrapper> > <class>class org.apache.struts.action.ActionServletWrapper</class> > </ActionServletWrapper> > - <ValidatorResults> > <class>class org.apache.commons.validator.ValidatorResults</class> > - <HashMap> > <class>class java.util.HashMap</class> > <empty>true</empty> > </HashMap> > </ValidatorResults> > </DynaValidatorForm > > How to retreive the form properties values now? thru request ? > > -Nitin > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf