Igor,

Thank you, this is very interesting.  This makes sense to me so I will try and go that route.

Thanks again,
Michael


On Apr 3, 2006, at 8:56 AM, Igor Vaynberg wrote:

one way to do this is to go with a simple RepeatingView and use fragments for the two different row styles you have.

<table>
<tr wcket:id="repeating-view">
   <span wicket:id="row"></span>
</tr>
</table>

<wicket:fragment wicket:id="regular-row">
   <td><span wicket:id="foo1"></span></td>
   <td><span wicket:id="foo2"></span></td>
   <td><span wicket:id="foo3"></span></td>
</wicket:fragment>

<wicket:fragment wicket:id="summary-row">
   <td colspan="3"><span wicket:id="summary"></span></td>
</wicket:fragment>

then just insert the proper fragment into the repeating view row webmarkupcontainer

if you want this to be dynamic, override repeating view's onbeforerender and call clear(); to clear the children generated on the previous request.

if you dont want to use fragments you can substitute them with panels.

hope this helps,
-Igor



On 4/3/06, Michael Hosier < [EMAIL PROTECTED]> wrote:
Hi,

I've been using DataView quite extensively lately to build my tables
but I'm trying to wrap my head around creating nested tables using
DataView.  What I want to do is create a table with n number of rows,
between each of these rows is a row with another table of n number of
rows that spans some, but not all of the columns.  This inner table
would have slightly different columns of data and no headers.

Is this possible with DataView?  Should I abandon DataView for
something else more suited to this problem?  Any ideas would be
greatly appreciated.

Thanks,
Michael


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user


Reply via email to