webtier@glassfish.java.net

Re: [webtier] Ajax request+onclick

From: Jim Driscoll <Jim.Driscoll_at_Sun.COM>
Date: Fri, 31 Jul 2009 11:39:23 -0700

Yes, it works for me.

Of course, I'm using the latest version (nightly) of JSF, as well as the
latest version of GlassFish.

There were problems with tables and IE in older JSF versions - so that
may be one problem. Could you try it with the nightly?

Also, to repeat my question: What are you seeing with Firebug?

Jim

On 7/30/09 12:45 AM, webtier_at_javadesktop.org wrote:
> It works for you??
>
> Well, not for me.
>
> If i comment out the line:
>
> numButton.setOnclick("jsf.ajax.request(this, event, {execute: this.id, render: 'dataTable'}); return false;");
>
> then it makes a submit, and a new button appears as expected.
> If the this line is there, there is no call to the serverside. At least i should see an 'add' message, but it looks like add() is not invoked.
> [Message sent by forum member 'gabox01' (gabox01)]
>
> http://forums.java.net/jive/thread.jspa?messageID=358183
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>