AW: How to personalise HTML content with Wicket ?

2009-02-02 Thread Stefan Lindner
- 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

Re: How to personalise HTML content with Wicket ?

2009-02-02 Thread Ernesto Reinaldo Barreiro
; 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

AW: How to personalise HTML content with Wicket ?

2009-02-02 Thread Stefan Lindner
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

Re: How to personalise HTML content with Wicket ?

2009-02-02 Thread Ernesto Reinaldo Barreiro
Object("Anonymous part"); > > > > > > > > > > > > Or in JAVA > > if (user=='admin'= > > add(new Label("content", ("Admin part")); > > else if (user == 'anonymous') > >add(new Label("c

RE: How to personalise HTML content with Wicket ?

2009-02-02 Thread Stefan Lindner
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

RE: How to personalise HTML content with Wicket ?

2009-02-02 Thread cmoulliard
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

Re: How to personalise HTML content with Wicket ?

2009-02-02 Thread Ernesto Reinaldo Barreiro
; > 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

RE: How to personalise HTML content with Wicket ?

2009-02-02 Thread Stefan Lindner
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

How to personalise HTML content with Wicket ?

2009-02-02 Thread cmoulliard
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--