RE: Wicket Modals and Bootstrap Modals - sizing issues
Would the l0rdn1kk0n / wicket-bootstrap community have dealt with this issue already or do they not support Wicket/Bootstrap modal windows in 'responsive' mode? Regards, Chris -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Tuesday, 18 February 2014 6:32 PM To: users@wicket.apache.org Subject: Re: Wicket Modals and Bootstrap Modals - sizing issues Hi, I think you will need to tweak some CSS rules. Wicket's ModalWindow main CSS class is 'wicket-modal'. So you have to provide CSS rule that sets the width for any .form-control in .wicket- modal. You can either use LESS/SASS to generate different rules for the different screens or with CSS media queries. Martin Grigorov Wicket Training and Consulting On Tue, Feb 18, 2014 at 8:04 AM, Chris Colman chr...@stepaheadsoftware.comwrote: We are using Wicket with Bootstrap which is fine except for modal window. With Wicket it appears as though the modal window provides all the markup for the out modal 'window'. We can provide HTML for the panels within that but the outer modal seems to be Wicket generated. This seems to be causing problems when using responsive Bootstrap because the calculations of the grid sizes are based on the screen and not the width of the modal window and so the form fields end up being wider than the form itself. Has anyone else had this problem? Is there a work around? We're not using the Wicket 'enable bootstrap' flag in the settings as we support bootstrap and non bootstrap markup within the same wicket app. Regards, Chris - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket Modals and Bootstrap Modals - sizing issues
No. l0rdn1kk0n/wicket-bootstrap provides Wicket component for TB's Modal widget. It doesn't try to fix/workaround any issues with Wicket's ModalWindow. There are tickets like https://github.com/l0rdn1kk0n/wicket-bootstrap/issues/228 but I doubt we will implement them. Martin Grigorov Wicket Training and Consulting On Tue, Feb 18, 2014 at 11:38 AM, Chris Colman chr...@stepaheadsoftware.com wrote: Would the l0rdn1kk0n / wicket-bootstrap community have dealt with this issue already or do they not support Wicket/Bootstrap modal windows in 'responsive' mode? Regards, Chris -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Tuesday, 18 February 2014 6:32 PM To: users@wicket.apache.org Subject: Re: Wicket Modals and Bootstrap Modals - sizing issues Hi, I think you will need to tweak some CSS rules. Wicket's ModalWindow main CSS class is 'wicket-modal'. So you have to provide CSS rule that sets the width for any .form-control in .wicket- modal. You can either use LESS/SASS to generate different rules for the different screens or with CSS media queries. Martin Grigorov Wicket Training and Consulting On Tue, Feb 18, 2014 at 8:04 AM, Chris Colman chr...@stepaheadsoftware.comwrote: We are using Wicket with Bootstrap which is fine except for modal window. With Wicket it appears as though the modal window provides all the markup for the out modal 'window'. We can provide HTML for the panels within that but the outer modal seems to be Wicket generated. This seems to be causing problems when using responsive Bootstrap because the calculations of the grid sizes are based on the screen and not the width of the modal window and so the form fields end up being wider than the form itself. Has anyone else had this problem? Is there a work around? We're not using the Wicket 'enable bootstrap' flag in the settings as we support bootstrap and non bootstrap markup within the same wicket app. Regards, Chris - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Wicket Modals and Bootstrap Modals - sizing issues
We are using Wicket with Bootstrap which is fine except for modal window. With Wicket it appears as though the modal window provides all the markup for the out modal 'window'. We can provide HTML for the panels within that but the outer modal seems to be Wicket generated. This seems to be causing problems when using responsive Bootstrap because the calculations of the grid sizes are based on the screen and not the width of the modal window and so the form fields end up being wider than the form itself. Has anyone else had this problem? Is there a work around? We're not using the Wicket 'enable bootstrap' flag in the settings as we support bootstrap and non bootstrap markup within the same wicket app. Regards, Chris - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket Modals and Bootstrap Modals - sizing issues
Hi, I think you will need to tweak some CSS rules. Wicket's ModalWindow main CSS class is 'wicket-modal'. So you have to provide CSS rule that sets the width for any .form-control in .wicket-modal. You can either use LESS/SASS to generate different rules for the different screens or with CSS media queries. Martin Grigorov Wicket Training and Consulting On Tue, Feb 18, 2014 at 8:04 AM, Chris Colman chr...@stepaheadsoftware.comwrote: We are using Wicket with Bootstrap which is fine except for modal window. With Wicket it appears as though the modal window provides all the markup for the out modal 'window'. We can provide HTML for the panels within that but the outer modal seems to be Wicket generated. This seems to be causing problems when using responsive Bootstrap because the calculations of the grid sizes are based on the screen and not the width of the modal window and so the form fields end up being wider than the form itself. Has anyone else had this problem? Is there a work around? We're not using the Wicket 'enable bootstrap' flag in the settings as we support bootstrap and non bootstrap markup within the same wicket app. Regards, Chris - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org