Hello:
I'm trying to organize some objects via For into a <table>, but the
number of columns is user defined, then I thought to use the index
property to open and close the <tr> tag but this error appears:
Could not parse template context:/WEB-INF/MainForm.html.
Because
Closing tag </tr> on line 297 is improperly nested with tag <span> on
line 296.
the HTML is:
<table>
<span jwcid="[EMAIL PROTECTED]" index="ognl:numIter"
source="ognl:paramSelected" value="ognl:param">
<span jwcid="@If" condition="(numIter % paramColumns)==0">
<tr> //This is valid
</span>
<td>
//Here some components
</td>
<span jwcid="@If" condition="(numIter % paramColumns)==0">
</tr> // Here is the problem because isn't appropiate
</span>
</span>
</table>
I'll try to do the next with the same results
<table>
<span jwcid="[EMAIL PROTECTED]" index="ognl:numIter"
source="ognl:paramSelected" value="ognl:param">
<tr>
<td>
//Some components
</td>
<span jwcid="@If" condition="(numIter % paramColumns)==0">
</tr> // Here is the problem because isn't appropiate
<tr>
</span>
</tr>
</span>
</table>
paramColumns indicate the number of columns that the table should have.
Exists a way to escaping this </tr>, I know that Tap analize the HTML,
and of course you cannot close a tag in an "unbalanced manner" (in this
case I "must" to close the <span> not the <tr>) but if you see the
logic, the resultant HTML code is "balanced"
Thanks
JQ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]