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