I am trying to use SortablePagableExportable table listed in wicket example 1.1 rc2, especialy, "ExamplePse". Table header is created by SortableListViewHeaders.java as

add(new SortableListViewHeaders("header", table) {...}

hardcoded in html as below:

   <thead wicket:id="header">
     <tr>
       <th wicket:id="city" class="sortable">City</th>
       <th wicket:id="project" class="sortable">Project</th>
       <th>Hours</th>
       <th>Task</th>
     </tr>
  </thead>

I have a table (name1, name2,..., column 0: value1, value2, ..., column 1: value1, value2,....) passed at runtime as String[]. I guess there is a way to supply the table header at runtime using <span>. But I didn't succeed. If someone ever tried this, please give me a hand. Thank you.

Vivi

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to