Re: [appfuse-user] struts2 validator

2009-04-07 Thread tibi
about the adding up of the error messages and the hanging of error messages. make sure the action has this part: scope="prototype in the applicationCOntext. example: tibi wrote: > thanks matt!! > > > > > > > Matt Raible wrote: > >> If you look in struts.xm

Re: [appfuse-user] struts2 validator

2007-12-18 Thread dxjsunday
you can modify you pojo object with xdolet label. and find the file "validate.xml",then hand modify the file accord the jsp form element.or see the article http://www.pben.cn/main.bbscs?action=read&bid=33&postID=8a8a8a8f16e1d3270116e87fe7811ebd how to use appfuse2.0 with struts2 tibi wrote:

Re: [appfuse-user] struts2 validator

2007-12-18 Thread tibi
thanks matt!! Matt Raible wrote: > If you look in struts.xml, you'll see that the validator is excluded > from certain methods: > > > name="excludeMethods">cancel,execute,delete,edit,list > > > Matt > > On Dec 14, 2007, at 12:48 AM, tibi

Re: [appfuse-user] struts2 validator

2007-12-17 Thread Matt Raible
If you look in struts.xml, you'll see that the validator is excluded from certain methods: name="excludeMethods">cancel,execute,delete,edit,list Matt On Dec 14, 2007, at 12:48 AM, tibi wrote: hi, can someone enlight me on struts valid

Re: [appfuse-user] struts2 validator

2007-12-14 Thread tibi
and how can i reset these errors. ones there is an error and i go back this errors tend to add up insted of reset... tanks tibi tibi wrote: > hi, > > can someone enlight me on struts validator. > > when i have a struts validator on a form and i call a method the > validator cicks in before i sub

[appfuse-user] struts2 validator

2007-12-14 Thread tibi
hi, can someone enlight me on struts validator. when i have a struts validator on a form and i call a method the validator cicks in before i submit the form. that is not what i want. when i move the code to the execute method the validator does not cick in and my app works fine. example: this w