Wicket has very powerful means to do skinning... See
http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html

for a start... Besides that you could do all kind of tricks working with
panels and component visibility: depending on conditions show one (hide
one/replace with another) panel. The difference is the logic will be on the
Java side and not in the JSP page...

Best

Ernesto

On Mon, Feb 2, 2009 at 11:09 AM, cmoulliard <[email protected]> wrote:

>
> Hi,
>
> I would like to know how we can personalize the content with Wicket ?
>
> With framework like Struts, ... it is possible in a JSP page to display
> different HTML contents (let's say personalize content) according to
> conditions (e.g. profile user, ...).
>
> if (user == 'admin')
>
> <H2>Admin part<H2/>
>
> if ( user == 'anonymous')
>
> <H2>Anonymous part</H2>
>
> 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---tp21787067p21787067.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to