Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 84025 invoked from network); 2 Jun 2005 14:27:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Jun 2005 14:27:14 -0000 Received: (qmail 7294 invoked by uid 500); 2 Jun 2005 14:27:13 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 7253 invoked by uid 500); 2 Jun 2005 14:27:12 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 7240 invoked by uid 99); 2 Jun 2005 14:27:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Jun 2005 07:27:09 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 14637198 for ; Thu, 2 Jun 2005 16:26:52 +0200 (CEST) Message-ID: <1124139149.1117722412082.JavaMail.jira@ajax.apache.org> Date: Thu, 2 Jun 2005 16:26:52 +0200 (CEST) From: "Bruno Aranda (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (MYFACES-268) inputText displays wrong value. In-Reply-To: <241143483.1117721098995.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/MYFACES-268?page=comments#action_66860 ] Bruno Aranda commented on MYFACES-268: -------------------------------------- This is not a bug, try to add the attribute immediate="true" in your cancelButton and then the values won't get updated, Bruno > inputText displays wrong value. > ------------------------------- > > Key: MYFACES-268 > URL: http://issues.apache.org/jira/browse/MYFACES-268 > Project: MyFaces > Type: Bug > Versions: 1.0.9 beta > Environment: WinXP, MyFaces 1.0.9 beta > Reporter: Konstantin Nikolaev > > In my project I have a form for editing a user profile. There are three inputTexts (login, password, e-mail) and two commandButtons (Save profile, Cancel) on it. When I change data in inputTexts and press "Save profile" my application first saves a new data to the database and then navigates to a form displaying a user profile with changes (It's OK). > But if I change data in inputTexts and then decide to NOT save a new data I press "Cancel" and simply navigate to a form displaying a user profile. But profile displays with changes. This is not what expected. If I cancel changes the form should display a profile with no changes. > Does anyone have an idea how I can tune MyFaces to solve this problem? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira