AW: DynaValidatorForm
"Bernhard Woehrlin" <[email protected]>
| Newsgroups | gmane.comp.java.strutscx.user |
|---|---|
| Organization | IT.CappuccinoNet.com |
| Message-ID | <000301c38cb3$122eafb0$4c01a8c0@javaws> |
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