Re: struts2 validation for only one method in action

2009-11-30 Thread axing
you can use @SkipValidation -- View this message in context: http://old.nabble.com/struts2-validation-for-only-one-method-in-action-tp9082687p26572573.html Sent from the Struts - User mailing list archive at Nabble.com. - To u

Re: struts2 validation for only one method in action

2007-10-18 Thread Igor Vlasov
Thank you for your answer. It was very helpful. Ian Roughley wrote: > > you can always use and > - then you don't need the logic to > determine which button was clicked in the execute() method, and you can > use the validation config below. > > /ian > > Igor Vlasov wrote: >> This is not

Re: struts2 validation for only one method in action

2007-10-17 Thread Ian Roughley
you can always use and - then you don't need the logic to determine which button was clicked in the execute() method, and you can use the validation config below. /ian Igor Vlasov wrote: This is not a solution. I have 2 submit button in one form: one for save and another for delete. All o

Re: struts2 validation for only one method in action

2007-10-17 Thread Igor Vlasov
This is not a solution. I have 2 submit button in one form: one for save and another for delete. All of them submit the form data to execute() method. There I can determine which button was pressed and do an appropriate bussines action. The problem is that i must to validate the data when "OK"

Re: struts2 validation for only one method in action

2007-10-17 Thread ros
For struts it's cancel,execute,delete,edit,list,print Hope this helps. ros Igor Vlasov wrote: > > And how to disable the SERVER side validation when delete button clicked ? > > > > ros wrote: >> >> Java Script validation fro button disabled by >> >> >

Re: struts2 validation for only one method in action

2007-10-17 Thread Igor Vlasov
And how to disable the SERVER side validation when delete button clicked ? ros wrote: > > Java Script validation fro button disabled by > > > onclick="document.getElementById('ticketForm').onsubmit = null;" /> > > > ros wrote: >> >> If I have in one form DELETE an

Re: struts2 validation for only one method in action

2007-10-17 Thread shan99
I have 2 mothods caled edit() and create() I used annotation based validation but tthing is i want to validate some of experssions in edit method and some of the in create() method cant use @skipValidation in this my problem is i can not difine this seperatly in my actiion class ..both methods ge