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