Hi,

The purpose of this class is to have a modal window that you can extent and
use as a form + the buttons you add on footer are inside the form (so that
they can submit it them). It would also be nice to have a modal whose body
can be replaced so that form can be reused (as default Modal Window on
wicket). Current modal is not very user friendly of flexible...


On Tue, Mar 4, 2014 at 11:30 AM, Martin Grigorov
<notifications@github.com>wrote:

> In
> bootstrap-core/src/main/java/de/agilecoders/wicket/core/markup/html/bootstrap/dialog/ModalWithForm.java:
>
> > +import org.apache.wicket.markup.html.panel.GenericPanel;
> > +import org.apache.wicket.markup.resolver.IComponentResolver;
> > +import org.apache.wicket.model.IModel;
> > +import org.apache.wicket.model.Model;
> > +import org.apache.wicket.util.string.Strings;
> > +
> > +import de.agilecoders.wicket.core.markup.html.bootstrap.behavior.BootstrapResourcesBehavior;
> > +import de.agilecoders.wicket.core.markup.html.bootstrap.behavior.CssClassNameAppender;
> > +import de.agilecoders.wicket.core.util.Attributes;
> > +import de.agilecoders.wicket.jquery.JQuery;
> > +
> > +/**
> > + * The {@code Modal} dialog is a simple component with header,
> > + * footer and body.
> > + *
> > + * @author miha
>
> What is the purpose of this new class ?
> It seems the current javadoc is copied from Modal.java.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/l0rdn1kk0n/wicket-bootstrap/pull/338/files#r10249605>
> .
>



-- 
Regards - Ernesto Reinaldo Barreiro