AW: Using DynaValidatorForms in StrutsCX
"Bernhard Woehrlin" <[email protected]>
| Newsgroups | gmane.comp.java.strutscx.user |
|---|---|
| Message-ID | <[email protected]> |
Hi David, I guess this is not a problem of the DynaValidatorForms. Just check out the sample application and you'll experience the same effect: No errors under the 'errors' tag - even if you are sure that your form contains some errors. This is because you type the 'debugxml=true' just in the location field of your browser, aren't you? For testing forms add this parameter to the action of your form. Just then the server has access to all the necessaray parameters in hidden fields and form fields. Regards, Berny > -----Ursprungliche Nachricht----- > Von: [email protected] > [mailto:[email protected]]Im Auftrag von David > Stabel > Gesendet: Montag, 7. April 2003 16:13 > An: [email protected] > Betreff: [Strutscx-user] Using DynaValidatorForms in StrutsCX > > > Hello all, > > I have a question concenring the DynaValidatorForm in StrutsCX. > I specified a form with its properties in struts-config.xml and related > it to an Action. > The form is of type 'org.apache.struts.validator.DynaValidatorForm'. > (Using the 'com.cappuccinonet.strutscx.validator.DynaValidatorForm' > resulted in no validation at all...?) > In validator.xml I have specified for each form property (field) a > validation rule. > > When I invoke the corresponding Action, the form gets validated. > Till here there's no problem..... > > But then the validator catches a field that doesn't satisfy the > corresponding validation-rule. > I would expect that the returned XML data (catched with 'debugxml=true') > contains this error under the 'errors' tag. > However there's nothing :( > > Can somebody tell me what's going wrong....? > > Thanks, David. > -- > [email protected] > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Strutscx-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/strutscx-user > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf