I am not CSS expert but what I'd do is:
- copy windows.css to theme.paper.css
- edit theme.paper.css to match with the sizes and colors defined
bootswatch.paper.css
- do the same for all other Bootswatch themes I need to support

With Less (http://lesscss.org/) it would be easier for you to re-use
Bootswatch's themes variables/parameters and thus make it future proof. But
you will have to introduce a build step for Less->CSS, or do it at runtime.
This will add extra complexity for you.

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

On Tue, May 26, 2015 at 10:46 AM, hansheinrichbraun <
[email protected]> wrote:

> Everything what is defined in the folder human or windows for a folder for
> example flatly
>
>
> Von Samsung Mobile gesendet
>
> <div>-------- Ursprüngliche Nachricht --------</div><div>Von: Martin
> Grigorov <[email protected]> </div><div>Datum:26.05.2015  08:09
> (GMT+01:00) </div><div>An: [email protected] </div><div>Betreff:
> Re: Re: Re: Wicket Bootstrap and Wizard </div><div>
> </div>What parameters?
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, May 26, 2015 at 8:24 AM, hansheinrichbraun <
> [email protected]> wrote:
>
> > Must I define the parameters for the css files myself or  does ther
> > already exist something anywhere?
> >
> >
> > Von Samsung Mobile gesendet
> >
> > <div>-------- Ursprüngliche Nachricht --------</div><div>Von: Martin
> > Grigorov <[email protected]> </div><div>Datum:25.05.2015  22:10
> > (GMT+01:00) </div><div>An: [email protected] </div><div>Betreff:
> > Re: Re: Wicket Bootstrap and Wizard </div><div>
> > </div>Hi,
> >
> > I'd use the theme name.
> > E.g. create tree.paper.css, tree.flatly.css, ...
> > Also create BootswatchTreeBehavior, which #renderHead() will use
> > BootstrapSettings.getActiveThemeProvider().getTheme().getName() to
> > construct the name of the CSS tree theme.
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Mon, May 25, 2015 at 6:14 PM, hansheinrichbraun <
> > [email protected]> wrote:
> >
> > > Hello Martin,
> > > I made a first trial to bring the bootswatch Themes to the tree
> > > component.In the  wicket component there are 2 themes HumanTheme and
> > > WindowsTheme which are added as Behaviors.In Your Bootstrap adaption
> the
> > > Boutswatch Themes are interfaced by ITheme.I didn't yet get out how
> they
> > > are brought in the Components and my first trial to turn them in
> > Behaviors
> > > didn't work.I tried to use the renderHead of the ITheme and to add
> class=
> > > theme-theme.name() to the Treecomponent.Maybe you  can give me a hint.
> > > Heiner Braun
> > >
> > >
> > > Von Samsung Mobile gesendet
> > >
> > > <div>-------- Ursprüngliche Nachricht --------</div><div>Von: Martin
> > > Grigorov <[email protected]> </div><div>Datum:25.05.2015  08:45
> > > (GMT+01:00) </div><div>An: [email protected],Hans-Heinrich
> Braun <
> > > [email protected]> </div><div>Betreff: Re: Wicket Bootstrap
> and
> > > Wizard </div><div>
> > > </div>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