You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Sharath Reddy (JIRA)" <de...@myfaces.apache.org> on 2006/09/30 08:39:20 UTC

[jira] Created: (TOMAHAWK-721) Toggle component for sandbox. This component allows the user to switch between View/Edit modes

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


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

        

[jira] Resolved: (TOMAHAWK-721) Toggle component for sandbox. This component allows the user to switch between View/Edit modes

Posted by "Cagatay Civici (JIRA)" <de...@myfaces.apache.org>.
     [ 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