voyent
Messages posted by: JanD  XML
Profile for JanD -> Messages posted by JanD [2]
Author Message
I have tried that. In my case, however, the desired button was "clicked" (via JavaScript) and the field was submitted (default behaviour). Consequently, when invalid input is entered, I get an error message for about half a second (first ajax update), which is removed immediately by the second ajax update.


How can I prevent the default ajax action?
When pressing Enter on an h:inputText or an ace:textEntry, it only submits the content of the field but does not invoke an actual form submit (e.g., invoking the action of the first button).
This also clears the displayed value of an h:inputSecret, unless redisplay="true" is specified (which I now have, but hopefully only as a workaround).

This does not seem right. Is this behaviour expected? Am I missing an option to define something like a default action for an entire form?
 
Profile for JanD -> Messages posted by JanD [2]
Go to:   
Powered by JForum 2.1.7ice © JForum Team