Maybe someone has used some Javascript to do this? I saw in TiddlyWiki
that they use an onUnload event to ask if the user wants to save changes
and it comes up prior to closing the browser or the tab in firefox.
--
Michael Binette
David Sean Taylor wrote:
On Oct 31, 2007, at 5:03 AM, Michael Binette wrote:
I have a portal "Folder" that has multiple "Pages". Lets say I was
storing customer information and I wanted to split this information
up over the pages using multiple portlets. The information isn't
that connected so it is likely that a user would edit things on one
page at a time anyway. Each page has its own Edit button that when
clicked, puts the portal in Edit mode and gives them a Save and
Cancel button.
My problem is that they can enter a bunch of information after
clicking Edit and then before they Save, click on another tab, taking
them to another page. They then lose everything they typed in. What
is the best solution for this? I really want to force them to click
either the Save or Cancel button before continuing. Or, I would at
least like to have the chance to save the information before they
leave the page so that it can be restored when they go back to that
page. Another option would be to hide the other tabs so that they
can't change pages.
My portlets inherit from GenericPortlet so no framework is being used.
Are any of these options possible?
Not really. All navigational elements of the portal would need to have
knowledge of all forms inside portlet content
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]