Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 81588 invoked from network); 14 Oct 2006 12:12:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Oct 2006 12:12:23 -0000 Received: (qmail 67704 invoked by uid 500); 14 Oct 2006 12:12:22 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 67651 invoked by uid 500); 14 Oct 2006 12:12:22 -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 67638 invoked by uid 99); 14 Oct 2006 12:12:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Oct 2006 05:12:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Oct 2006 05:12:21 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 113C87142F7 for ; Sat, 14 Oct 2006 05:11:36 -0700 (PDT) Message-ID: <13075498.1160827896068.JavaMail.jira@brutus> Date: Sat, 14 Oct 2006 05:11:36 -0700 (PDT) From: "Cagatay Civici (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Resolved: (TOMAHAWK-721) Toggle component for sandbox. This component allows the user to switch between View/Edit modes In-Reply-To: <15236284.1159598360757.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/TOMAHAWK-721?page=all ] Cagatay Civici resolved TOMAHAWK-721. ------------------------------------- Fix Version/s: 1.1.5-SNAPSHOT Resolution: Fixed The component is added to the sandbox > Toggle component for sandbox. This component allows the user to switch between View/Edit modes > ---------------------------------------------------------------------------------------------- > > Key: TOMAHAWK-721 > URL: http://issues.apache.org/jira/browse/TOMAHAWK-721 > Project: MyFaces Tomahawk > Issue Type: New Feature > Environment: sandbox > Reporter: Sharath Reddy > Assigned To: Sharath Reddy > Priority: Minor > Fix For: 1.1.5-SNAPSHOT > > > Sylvain and I discussed this. this is when we would need to use it: > Toggling between View/Edit modes: > We have an output text wrapped in an href, and an input text that is initially hidden. both are bound to the same backing bean property. when the user clicks on the href, javascript is executed that hides the output text and displays the input text. > The problem occurs when input validation fails, and the page is re-loaded. The page needs to 'remember' to hide the output text and display the input text, since we are now still in edit mode. we want to accomplish this without using 'onload' javascript, hence the need for a JSF component. -- 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