Ok for the select ;-) But what about the tr in a table?
<table> <tr> <td>Header 1</td> <td>Header 2</td> <td>Header 3</td> </tr> <span jwcid="@My2TrJwc"> <tr> <td>something</td> <td>to put</td> <td>somewhere here</td> </tr> <tr> <td>Data info 1</td> <td>Data info M</td> <td>Data info 3X</td> </tr> </span> <tr> <td colspan="3">Footer</td> </tr> </table> 2006/7/17, Murray Collingwood <[EMAIL PROTECTED]>:
For a select control use SelectionModel to pass the options to your component. Then you don't need any @For loop in your html. In your table component you could code your Tapestry on the <tr> statement. eg <table...> <tr jwcid="xxxxxx"> Cheers mc On 17 Jul 2006 at 11:13, Blackwings wrote: > Hi, > > I noticed something interresting about DOCTYPE. In fact, if a designer give > me a XHTML1.0 transitional compliant html template, when I mark the tag and > add some tags <span> the html is not anymore compliant : > > <select jwcid="[EMAIL PROTECTED]" id="searchCriteria.requester" name=" > searchCriteria.requester" size="1" tabindex="6" class="comboBox9pt"> > <span jwcid="@Foreach" source="ognl:requesters" value="ognl: > searchCriteria.requester"> > <option value="1" jwcid="@Option" label="ognl: requesters.requesterCode > ">elem1</option> > <option value="2" jwcid="$remove$">elem2</option> > <option value="3" jwcid="$remove$">elem3</option> > <option value="4" jwcid="$remove$">elem4</option> > </span> > </select> > > The <span> cannot be place after a <select> and this is warned. > > I have the same problem when I want to mark a bloc of <tr>, not all, in a > <table>. I have to put a <span> tag between to a </tr> and a <tr> that is > not "permit" by the DOCTYPE definition, normally. > > Is there another DOCTYPE that manage "Tapestry template" or do we have to > let the warn like that? > FOCUS Computing - web design Mob: 0415 24 26 24 [EMAIL PROTECTED] http://www.focus-computing.com.au -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/389 - Release Date: 14/07/2006 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]