webtier@glassfish.java.net

Re: [webtier] Ajax request+onclick

From: <webtier_at_javadesktop.org>
Date: Thu, 30 Jul 2009 00:45:52 PDT

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