Juergen Donnerstag wrote:

Not without ListView, but ListView is not all limited to tables. You
can attach it to any tag <div>, <span>, <ul>.
Great! That's good to know, thank you.
XHTML compliance, here we come!

- Johannes.

Juergen

On 11/25/05, Johannes Fahrenkrug <[EMAIL PROTECTED]> wrote:
Hi,

I had a conversation yesterday with some webdesigners that looked at the
html code that my wicket application produces.
They said that a lot would have to be changed in order for it to be
XHTML compliant. One thing they said was that you should only use tables
when it really is a table that you want to display. I use ListViews in a
couple of cases to repeat items. For example overviews of customers'
bookings: I have a Listview that looks something like this:

<table><tr wicket:id="customerBooking"><td>
<table>
  <tr><td>Name:</td><td><span wicked:id="custName">Johnny
Cash</span></td></tr>
  <tr><td>Airport:</td><td><span
wicked:id="custAirport">SFO</span></td></tr>
  <tr><td>Insurance:</td><td><span
wicked:id="custInsurance">something</span></td></tr>
  <tr><td>Price:</td><td><span wicked:id="custPrice">999</span></td></tr>
</table>
</td></tr></table>

That enables me to repeat the inner table for each customer.
Is there a way to do this without using a ListView?

Cheers,

Johannes.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to