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
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
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
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"
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
>>
>> >
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
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
7 matches
Mail list logo