Hi,

Wicket-Extensions Tree component uses CSS themes for styling. It is very
easy to provide Bootstrap theme for it.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Sun, May 24, 2015 at 10:47 PM, Hans-Heinrich Braun <
[email protected]> wrote:

> Martin thank you problem solved.I used Ajax for making visible  new select
> fields and making the choices in dependence of the choice of other select
> fields like country location street person .Maybe i didn't use everywhere
> BasePage or didn't change all html files.I am using  a real estate
> application with wicket hibernate spring with a lot of google  mail
> calendar and contacts integration.I want now to make it accessible in
> internet responsive and therefore start to use Bootstrap.After a used my
> own solution for the management of inter page operations i want to change
> to   Wizard and Breadcrumb style.Question: I show  my datastructures in a
> tree view.I don't really see a Bootstrap tree structure. I found something
> in internet which is totally javascript.Somebody recommended HTML5 Although
> the normal wicket treestructure looks rather good on the handy. What would
> you recommend?Heiner Braun
>
>       Von: Martin Grigorov <[email protected]>
>  An: "[email protected]" <[email protected]>; Hans-Heinrich
> Braun <[email protected]>
>  Gesendet: 10:16 Sonntag, 24.Mai 2015
>  Betreff: Re: Wicket Bootstrap and Wizard
>
> Hi Henry,
>
> It is hard for me to say what is wrong.
> AFAIR wicket-extensions' Wizard uses non-Ajax buttons.
>
> Can you create a quickstart project at GitHub/BitBucket ?
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
>
>
> On Sat, May 23, 2015 at 10:57 AM, Hans-Heinrich Braun <
> [email protected]> wrote:
>
> > Hello Martin,
> > I try to include a Wizard Example in your Wicket Bootstrap environment.In
> > the center of the adaption is the Class WizardPage:
> > package braunimmobilien.bootstrap.webapp.pages.wizard;
> > import java.lang.reflect.Constructor;import
> > org.apache.wicket.request.mapper.parameter.PageParameters;import
> > braunimmobilien.bootstrap.webapp.pages.WicketExamplePage;import
> > org.apache.wicket.extensions.wizard.Wizard;
> >
> > /** * Page for displaying a wizard. *  * @author Eelco Hillenius */public
> > class WizardPage extends WicketExamplePage{ /**  * Construct.  *  *
> @param
> > <C>  *  * @param wizardClass  *            class of the wizard component
> > */ public <C extends Wizard> WizardPage(Class<C> wizardClass) {  if
> > (wizardClass == null) { throw new IllegalArgumentException("argument
> > wizardClass must be not null"); } try { Constructor<? extends Wizard>
> ctor
> > = wizardClass.getConstructor(String.class); Wizard wizard =
> > ctor.newInstance("wizard"); add(wizard); } catch (Exception e) { throw
> new
> > RuntimeException(e); } } public <C extends Wizard> WizardPage(Class<C>
> > wizardClass,Class responsepage,PageParameters pageparameters) { if
> > (wizardClass == null) { throw new IllegalArgumentException("argument
> > wizardClass must be not null"); } try { Constructor<? extends Wizard>
> ctor
> > =
> >
> wizardClass.getConstructor(String.class,Class.class,PageParameters.class);
> > Wizard wizard = ctor.newInstance("wizard",responsepage,pageparameters);
> > add(wizard); } catch (Exception e) { throw new RuntimeException(e); }
> > }}which shows  the pages but Ajax functions don't work.Even i have no
> > Bootstrap.I didn't succeed to turn the corresponding pages in inheritance
> > of BasePage.After several trials I thought it better to ask you.
> > Regards Henry.
> >
>
>
>
>

Reply via email to