Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 95406 invoked from network); 28 Feb 2007 16:25:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Feb 2007 16:25:24 -0000 Received: (qmail 17302 invoked by uid 500); 28 Feb 2007 16:25:29 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 17149 invoked by uid 500); 28 Feb 2007 16:25:28 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 17138 invoked by uid 99); 28 Feb 2007 16:25:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 08:25:28 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 08:25:16 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HMRbr-0002qC-U5 for users@myfaces.apache.org; Wed, 28 Feb 2007 08:24:55 -0800 Message-ID: <9207151.post@talk.nabble.com> Date: Wed, 28 Feb 2007 08:24:55 -0800 (PST) From: Davy Vermeir To: users@myfaces.apache.org Subject: tabbedPane backing bean not updated with multiple tabs MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: coppain@hotmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm having a page with 2 components: a "save" button and a tabbedPane with serverSideTabSwitch set to "true". The tabbedpane contains 2 tabs and in each tab there is an inputfield whose value is linked to a backing bean. If the user enters a value in the input field of the first tab, then clicks the second tab, enters a value in the input field of the second tab and then clicks the "save" button, only the value entered in the last chosen tab is set in the backing bean (and thus saved) Is there a solution for this problem , so that the information in all tabs is set in the backing bean (and also validated) ? A snippet of my JSP: ... ... My backing bean: public class TestTabBean { private String text1; private String text2; public String getText1() { return text1; } public void setText1(String text1) { this.text1 = text1; } public String getText2() { return text2; } public void setText2(String text2) { this.text2 = text2; } public String save() { return null; } } I'm using myfaces 1.1.4 and tomahawk 1.1.5-snapshot. Greetings, Davy -- View this message in context: http://www.nabble.com/tabbedPane-backing-bean-not-updated-with-multiple-tabs-tf3309951.html#a9207151 Sent from the MyFaces - Users mailing list archive at Nabble.com.