On Wed, 31 Oct 2007, Cristi Manole wrote: > Tks a lot for your reply, but how do I do "get wicket to change the style > color" of that speciffic row, exactly? that part I don't know... :(
Something like final Component row = ... row.add(new AttribubuteModifier("class", true, new AbstractReadOnlyModel() { public Object getObjext() { if (isSelected(row)) { return "trhighlight"; } return "trdefault"; } }); or if you don't want to change the style attribute by default, you can only enable the attributemodifier as needed row.add(new AttribubuteModifier("class", true, new AbstractReadOnlyModel() { public Object getObjext() { return "trhighlight"; } } @Override public boolean isEnabled() { return isSelected(row); } }); Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oy <URL: http://www.ri.fi/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]