Hi,

I've a case on markup inheritance where I'm unsure:

Given the following markup

 <tr wicket:id="rows">
   <td wicket:id="cells"><span wicket:id="cell">[cell]</span></td>
 </tr>

which is an excerpt from Datatable.

I add an OddEvenItem in newRowItem for each row. So far so good.

Now: On clicking a row, I want to change the display with some logic, especially I want to have the normal row from above /plus/ a second row (which in my case would contain a context menu):

 <tr wicket:id="rows">
   <td wicket:id="cells"><span wicket:id="cell">[cell]</span></td>
 </tr>
 <tr wicket:id="action-row">
   <td wicket:id="action-cells"><span wicket:id="action-cell"></span></td>
 </tr>

I thought I could eventually replace the original from the DataTable by defining an extended OddEvenItem which has it's own Markup (and indicating this by returning 'true' from 'hasAssociatedMarkup' - but this actually get ignored as it seems. Also, would this actually replace the markup from the DataTable for the given rows-definition (including everything in between)?

Is there any way to accomplish this?

Best regards, --- Jan.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to