Not sure if that works. Probably the best way is to see if you can create a simple wrapper BootstrapModal component that takes the Panel from your Wicket 6 code.
Another option, but I'm not sure how well that would work is to provide different HTML to the ModalWindow (e.g. a _style with _bootstrap.html) and setting the style for the ModalWindow to use the other markup file Martijn On Sun, Aug 5, 2018 at 6:12 PM Chris Colman <chr...@stepaheadsoftware.com> wrote: > > We use modals extensively in one of our apps that uses Wicket 6.x but > the HTML rendered is obviously not tailored for bootstrap and so the > modal does not act responsively (responsibly :) ) on smaller devices. > > > > I'm aware of the excellent Wicket - Bootstrap library (as we use that on > another project) but this project does not use Wicket - Bootstrap (well > not "yet" at least). > > > > I know it's possible to customize the CSS for a modal in core wicket but > is it possible/easy to, say, have the html customized so that the > sections of the modal can rendered with: > > > modal-header > modal-body > > modal-footer > > > > which I think is all that is needed to get the modals behaving > responsively in bootstrap? > -- Become a Wicket expert, learn from the best: http://wicketinaction.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org