webtier@glassfish.java.net

Re: [webtier] Re: ValueChangeListeners+ajax

From: Jim Driscoll <Jim.Driscoll_at_Sun.COM>
Date: Mon, 27 Jul 2009 10:32:12 -0700

To make callbacks, you'll need the event API:

http://weblogs.java.net/blog/driscoll/archive/2009/05/jsf_2_ajax_even_1.html

May I recommend that you go back through and read my blog? There's a
lot of stuff in there that isn't yet reflected in any documentation.
Ryan's blog is similarly useful.

Also, DO NOT DO NOT mix ajax validation with a standard submit. If
you're doing ajax validation, you'll need to do an ajax submit, too,
since that way, the submit is queued after the validate calls. If you do
a standard submit, it'll stomp the queued validation calls, and you
won't get what you want (as I understand it).

Jim

On 7/27/09 7:16 AM, webtier_at_javadesktop.org wrote:
> Sounds good. Instead of returning js from server, can i declare a calllback function in the client side?
> [Message sent by forum member 'gabox01' (gabox01)]
>
> http://forums.java.net/jive/thread.jspa?messageID=357695
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>