myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "SubmitPageOnValueChange" by MarioIvankovits
Date Thu, 24 Nov 2005 07:07:56 GMT
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 ==
+ == How To Submit a page when an input control value changes (action) ==
  Note:  This task requires javascript.
  
  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`)
@@ -45, +45 @@

  
  In the previous example, if you don't want your button to be seen, use the style style="visibility:hidden;",
so the button is hidden and the effect is better :-)
  
- == How To Submit a page when an input control value changes (simplified) ==
+ == How To Submit a page when an input control value changes (valueChangeListener) ==
  
  If you do not need navigation rules to apply, you can do this:
  

Mime
View raw message