chrisco484 edited a comment on issue #375: WICKET-6666 modal dialog
URL: https://github.com/apache/wicket/pull/375#issuecomment-569463952
 
 
   > This is my take on a new modal dialog/window for Wicket.
   
   Hi @svenmeier 
   
   Have you had a chance to check out the way Modals work in the Wicketstuff 
ModalX project? It uses Wicket core Modal classes 'as is' but makes them much 
more easy to set up and use for the developer.
   
   There may be some useful ideas in there that could improve the whole Modal 
experience for Wicket devs if brought into core Wicket.
   
   The way Wicketstuff Modal X facilitates modal dialogs makes it very easy to 
open any modal dialog from anywhere in the app just by calling the constructor 
on the class of the modal you want to open and then calling show().
   
   It supports nesting up to N levels. The 'N' can be specified by the dev.
   
   Any page that needs modal simply needs to implement the 
org.wicketstuff.modalx.ModalMgr interface (typically you do this once in a 
commonly used base page class so that the whole app becomes Modal capable very 
easily).
   
   The ModalMgr base class auto adds 'N' placeholder components to any page 
that it renders and these are then automatically allocated in sequence each 
time a new modal is nested upon another one. As the modals are closed the 
placeholders are freed up in reverse sequence until, when the last modal is 
closed, they are all freed up and the user can then proceed to open another top 
level modal etc.,

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to