You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/10/11 09:15:48 UTC
[Myfaces Wiki] Update of "SubmitPageOnValueChange" by MarioIvankovits
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.
The following page has been changed by MarioIvankovits:
http://wiki.apache.org/myfaces/SubmitPageOnValueChange
------------------------------------------------------------------------------
##language:en
== How To Submit a page when an input control value changes (action) ==
Note: This task requires javascript.
+
+ '''The description below has been collected into a new component: SubmitOnEvent'''
To submit a page when an input control value changes, add an onchange attribute to call a javascript function which will click a commandButton. The commandButton submits the form which contains the control. The javascript function must reference the fully-qualified button name (in the example below, `myForm:myUpdateButton`)