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