I think the approach similar to one used in CheckGroup would work. I just
wondered if it has already been implemented.


Newgro wrote:
> 
> Vladimir Kovalyuk schrieb:
>> Do wicket has a generic approach to handling the following scenario?
>>
>> 1. user opens a page with details of some entity, for instance a user.
>> 2. user starts to type in fields
>> 3. user clicks some link, then she is informed that the form contains
>> unsaved data and asked to press "discard and proceed", "save and proceed"
>> or
>> "cancel".
>>
>>   
> Nope. How should wicket decide on that? It's business logic. And so you 
> have to present the dialog
> (modal window?) yourself. Alternatively you could an javascript alert.
> 
> Cheers
> Per
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/confirm-leave-page-when-a-page-contains-unsaved-data-tp23312432p23313202.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to