webtier@glassfish.java.net

Re: JSF 2.0: Default Events for Various Components?

From: <webtier_at_javadesktop.org>
Date: Fri, 02 Oct 2009 11:12:40 PDT

Yes, in my tutorial I emphasize that both action and changeValue do more than directly correspond to a single JavaScript event, and that this is a real benefit (yet another nice JSF 2.0 feature). In JSF 1.0, one of the best (IMHO) JSF books tested their code only with Firefox, and their valueChangeListener examples with select boxes all failed on IE.

I also emphasize that it is value[u]C[/u]hange, whereas the standard JavaScript events are all lower case (keyup and mouseover, not keyUp and mouseOver).

Cheers-

- Marty
http://www.coreservlets.com
[Message sent by forum member 'martyhall' (hall_at_coreservlets.com)]

http://forums.java.net/jive/thread.jspa?messageID=366595