Thanks Jeremy. Just what i was looking for.

On Tue, Aug 10, 2010 at 8:01 PM, Jeremy Thomerson <jer...@wickettraining.com
> wrote:

> Session.setStyle("mobile")
>
> On Tue, Aug 10, 2010 at 8:55 AM, Josh Kamau <joshnet2...@gmail.com> wrote:
>
> > Thanks Jeremy.
> > Am just wondering, how will the application know which template to pick?
> >
> > regards
> > Joshua
> >
> > On Tue, Aug 10, 2010 at 4:15 PM, Jeremy Thomerson <
> > jer...@wickettraining.com
> > > wrote:
> >
> > > Use Wicket's style for the templates and you'll have two sets of html
> > > files,
> > > like foopage.html and foopage_mobile.html.
> > >
> > > Jeremy Thomerson
> > > http://wickettraining.com
> > > -- sent from my "smart" phone, so please excuse spelling, formatting,
> or
> > > compiler errors
> > >
> > > On Aug 10, 2010 2:10 AM, "Josh Kamau" <joshnet2...@gmail.com> wrote:
> > >
> > > Hello team;
> > >
> > > I am creating an application that will be accessible via desktop and
> via
> > > the
> > > mobile devices. I understand i can have the same java code and
> different
> > > html templates for mobile and desktop. My question is how to i do this.
> > How
> > > do i make separate templates that will be used when the device is
> mobile
> > > and
> > > not a desktop? Or should i compile separate war files one with each set
> > of
> > > templates.
> > >
> > > I hope my question is clear enough.
> > >
> > > Kind regards
> > > Josh.
> > >
> >
>
>
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>

Reply via email to