From adffaces-user-return-2138-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Tue Feb 13 16:15:11 2007 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 27461 invoked from network); 13 Feb 2007 16:15:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2007 16:15:10 -0000 Received: (qmail 64905 invoked by uid 500); 13 Feb 2007 16:15:17 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 64886 invoked by uid 500); 13 Feb 2007 16:15:17 -0000 Mailing-List: contact adffaces-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-user@incubator.apache.org Delivered-To: mailing list adffaces-user@incubator.apache.org Received: (qmail 64877 invoked by uid 99); 13 Feb 2007 16:15:17 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Feb 2007 08:15:17 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [12.111.235.75] (HELO safemail.nsf.org) (12.111.235.75) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 13 Feb 2007 08:15:07 -0800 Received: from nsfaaex1.nsf.org ([192.168.125.110]) by eSafe SMTP Relay 1171346481; Sun, 13 Feb 2007 11:59:32 +0000 Content-Transfer-Encoding: 7bit Priority: normal Importance: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C74F89.F2FBBEB0" Subject: Problem with action attribute in jsf commandbutton Date: Tue, 13 Feb 2007 11:13:50 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem with action attribute in jsf commandbutton Thread-Index: AcdPifLpfK71qO6aQ0aXd7YNX0P5Gg== From: "Mistry, Apurva" To: X-ESAFE-STATUS:Mail clean X-ESAFE-DETAILS: Clean X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C74F89.F2FBBEB0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, I am having the problem with action attribute with trinidad commandbutton link. I have two action buttons, edit and update. Edit is visible first when the page is loaded with the 4 related fields in read-only mode. When the user clicks Edit button, a flag is set in backing bean to render the Update button instead of Edit, and the fields are editable. However, when the Update button is clicked, to update the modified data, the binded action is not called. The backing bean for these actions is in request scope, and as far as I know, anytime the request is made the corresponding backingbean object instance is created and the action is performed. After the request is serviced, that instance is killed. I am not sure why is the action is not called upon. Below is the code snippet. I would appreciate any help. thanks apurva. ********************************************************************* Confidentiality Notice: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by email and destroy all copies of the original message. ********************************************************************* ------_=_NextPart_001_01C74F89.F2FBBEB0--