Johannes Fahrenkrug 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?

What does ListView have to do with your HTML output ? From what I know, I've repeated divs, spans, not only TRs with ListView so I suppose it applies virtually to any HTMl tag so it depends on you to make it XHTML compatible. I suppose :-)


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_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