The basic renderer for basicCollection automatically adds multiple tables for the most basic list. For example a simple layout:collection may look like this in the JSP
<layout:collection name="..." styleClass="LIST"> <layout:collectionItem name="exampleName" /> <layout:collectionItem name="exampleDescription" /> </layout:collection> the HTML created contains TWO tables, the inner table containing the collection has fixed cellspacing/padding defined! <table cellspacing="0" cellpadding="0" align="CENTER" width="100%" class="LIST"> <tr> <td> <table cellspacing="1" cellpadding="1" align="CENTER" width="100%"> <tr> <td>name</td> <td>description</td> </tr> </table> </td> </tr> </table> Looks ok, but I do not see the reasoning behind the outer table! I managed to incorporate this structure into an already complicated CSS / HTML layout. It would have been much easier if there was only one table created in the first place or by enabling all attribute of the tables to be defined in the css. I am still curious to know if there are other alternatives to struts layout available. Andrew -----Oorspronkelijk bericht----- Van: nagesh.kumar [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 22 december 2006 13:10 Aan: 'Struts Users Mailing List' Onderwerp: RE: Struts Layout Extension Library & Alternatives solutions There is no any hard coded we have implemented Struts:layout Ui changes u can done by changing the DataGrid.css file TABLE.DATAGRID { background-color:#cbe2fa; /this is for header background border-width=2px; border-color: #FFFFFF; } Try this -----Original Message----- From: Andrew Martin [mailto:[EMAIL PROTECTED] Sent: Friday, December 22, 2006 5:21 PM To: Struts Users Mailing List Subject: Struts Layout Extension Library & Alternatives solutions We are thinking about integrating the Struts Layout Extension Library into our current struts project. At the moment I have the basic functionality working, but I have noticed that there are some UI restrictions (hardcoded style attributes in the basic collection table interface) which are annoying. I am curious if many people have used this extension library, if so how did you find it. Ideally we only want to use certain functionality within the extension library (navigation, sorting etc) so if there are better alternatives extensions which can provide the same functionality please let me know. thanks, Andrew --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]