Does anybody knows how to skip the validation on immediate attributes? I have a cancel button which is immediate and works fine when my required attributes are not immediate. However, I need them to be immediate as well in order to achieve some other functionality (which I spent all day trying to achieve it without using immediate but I couldn't).
When I click the button, the validation triggers on the immediate attributes...
Thank you but I read it. I think I have read all the post related with this issue. Is there anything I can do to resolve my issue? That link doesn't have my use case which would be
Immediate AutoSubmit Required
FirstInput true true true
SecondInput true true true
CommandButton true X X
What do you think about this link? http://adfpractice-fedor.blogspot.co.uk/2012/04/how-to-avoid-validation-of-immediate.html
It seems to solve my issue but I need to press F5 after clicking the button. This button has an action == "cancel" and actionListener method in my bean.
When I press the button the page doesn't refresh as is supposed but if I press f5 it seems like it is when the action "cancel" is being sent. It solved my problem but it didn't.
Solved by adding resetActionListener on my cancel button.
Edited by: Alejandro T. Lanz on 04-Dec-2012 14:46