Thanks.
This is what I needed.

Dmitry.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Igor
Vaynberg
Sent: Tuesday, July 17, 2007 7:43 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] one component class , many markap

see component.getvariation() override that, then the markup file used is

componentname_variation.html

but the component hierarchy still has to match. if you want different
hierarchies within the component then use fragments

-igor


On 7/17/07, Дмитрий Ржевский <[EMAIL PROTECTED]> wrote:
>
> Hello All.
>
> Is it possible to create component which:
>
> 1) Component has one java class.
>
> 2) Component choose markup file depending on his state.
>
>
>
>
>
> Dmitry.
>
>
>
>
------------------------------------------------------------------------
-
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to