Hi,
I am using <rich:simpleTogglePanel> panel .
In that panel i am having some richfaces comonets
like text box and two buttons(Example :<a4j:commandButton>
If i click on button i need to check one flag and if that flag is true,
i need to show an alert message to the user.
i need to check that condition on more than 5 componets in that panel,
I need to check on SimpleTogglePanel instead of each componet,
I am getting the alert message but the ajax request is going to action class,
how to restrict that ajax request if my js function returns false.
please help me in this regards,
Thanks,
rmanchi
provide the code you using please.