-
Von: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com]
Gesendet: Montag, 2. Februar 2009 12:31
An: users@wicket.apache.org
Betreff: Re: How to personalise HTML content with Wicket ?
Hi Stefan,
All wanted to stress is the fact that there are very few cases where you
will want to generate the
; Von: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com]
> Gesendet: Montag, 2. Februar 2009 12:04
> An: users@wicket.apache.org
> Betreff: Re: How to personalise HTML content with Wicket ?
>
> For this case why not have "" in a panel (or
> fragment) and use i
reier...@gmail.com]
Gesendet: Montag, 2. Februar 2009 12:04
An: users@wicket.apache.org
Betreff: Re: How to personalise HTML content with Wicket ?
For this case why not have "" in a panel (or
fragment) and use it instead of generating the string "by hand"? IMHO that
wou
Object("Anonymous part");
> >
> >
> >
> >
> >
> > Or in JAVA
> > if (user=='admin'=
> > add(new Label("content", ("Admin part"));
> > else if (user == 'anonymous')
> >add(new Label("c
dd(new Label("content", ("Anonymous part"));
>
>
> -Ursprüngliche Nachricht-
> Von: cmoulliard [mailto:cmoulli...@gmail.com]
> Gesendet: Montag, 2. Februar 2009 11:10
> An: users@wicket.apache.org
> Betreff: How to personalise HTML content with
us part"));
>
>
> -----Ursprüngliche Nachricht-
> Von: cmoulliard [mailto:cmoulli...@gmail.com]
> Gesendet: Montag, 2. Februar 2009 11:10
> An: users@wicket.apache.org
> Betreff: How to personalise HTML content with Wicket ?
>
>
> Hi,
>
> I
;
> Regards,
>
> Charles
>
>
>
>
> -
> Charles Moulliard
> SOA Architect
>
> My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/
> --
> View this message in context:
> http://www.nabble.com/How-to-persona
Several Ways to to this. The easiest way for your example
HTML:
In Java
Model contentModel = new Modelmailto:cmoulli...@gmail.com]
Gesendet: Montag, 2. Februar 2009 11:10
An: users@wicket.apache.org
Betreff: How to personalise HTML content with Wicket ?
Hi,
I would like to know how we can
Admin part
if ( user == 'anonymous')
Anonymous part
Regards,
Charles
-
Charles Moulliard
SOA Architect
My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/
--
View this message in context:
http://www.nabble.com/How-to-personalise-HTML-content-with-Wicket--