Hello 

I have a simple repeater that dynamically assemblies a row of a table from 
default  components (labels, panels, buttons etc) The row is part of the 
dataview.


        RepeatingView row = new RepeatingView("row");

        [in Dataview's populateItem I set components]
        row.add(some_component);
        row.add(some_other_component);
        [..]



Markup is this: 

<tr wicket:id="dataview">
        <td wicket:id="row"></td>
<tr>

Now, in the dataview's onPopulateItem, i'd like to set attribute to the <td> 
tag based on some property of the populated object.

Sadly there's no markup id for the <td>, nor any accessible component in that 
tag that I could handle with AttributeAppender.
Is there any other way to do that? Can I somehow get the <td> handle? 

Regards
Michal




Reply via email to