Re: WiQuery: positioning a dialog when reusing it

2014-08-20 Thread Martin Dietze
I have looked into that issue a bit further. On 17 August 2014 17:23, Mihir Chhaya mihir.chh...@gmail.com wrote: I have used WQuery Dialog for Wicket 1.4 and could make it work in center using setMinimumHeight and setMinimumWidth methods when adding dialog. That's true, but this is part of the

Re: WiQuery: positioning a dialog when reusing it

2014-08-20 Thread Mihir Chhaya
In fact I have found WiQuery dialog more helpful. I am sharing my code with you; just to show my version of using the dialog. Not necessarily the best way, but is working for me and very helpful. (I HAVE DEVELOPED MY VERSION USING ERNESTO REINALDO'S ORIGINAL SUGGESTION FOR DIALOG BOX CREATION,

Re: WiQuery: positioning a dialog when reusing it

2014-08-17 Thread Mihir Chhaya
Martin, I have used WQuery Dialog for Wicket 1.4 and could make it work in center using setMinimumHeight and setMinimumWidth methods when adding dialog. Have you tried those? You could pass different values for height and width from the source when creating to match your requirements. For

WiQuery: positioning a dialog when reusing it

2014-08-15 Thread Martin Dietze
In my application I am using WiQuery's 'Dialog' for a global page dialog that gets constructed in my page base class. Each time I want to show a dialog I embed a different panel in it and then show it. Usually I would like to display smaller dialogs that fit on the screen using