ajax - How to call an action from input component's onchange? -


For example, seeing a SelectOneMenu, I can trigger the valueChangeListeners or reproduce the piece of the page f: Ajax:

  & lt; H: SelectOpenMenuPageElector = "..." ... & gt; & Lt; F: Ajax render = "@form" execution = "@ form" /> & Lt; / H: selectOneMenu & gt;  

This is good, but when I change the box (if verification is passed) then I want to do some more complex stuff. Are there any chances to call the action method on any bean? Ajax is not connected to the UI command component? Or, if not, how can I call the bean method in the "selection application" phase when the value of the selection box changes?

& lt; F: ajax & gt; A listener's attribute is an attribute of the listener, with API docs:

The method used to refer to a method that is called when an Ajax-wide event has been broadcasted for the listener < / P>


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -