webtier@glassfish.java.net

Re: CommandButton does not work in DataTable

From: <webtier_at_javadesktop.org>
Date: Wed, 20 Oct 2010 07:57:02 PDT

hmmm... not sure why it wouldn't fire. You could try removing the 'immediate' attribute from the edit command button. It may be that your request-scoped bean isn't yet created when the JSF run-time attempts to call the edit method. Since the immediate attribute is set, JSF will attempt to call the bean method during the 'Apply Request Values' phase of processing and not during the 'Invoke Application' phase where it would normally be called.
[Message sent by forum member 'andrewlaughlin']

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