Have you tried using If and/or Loop? The following are all valid XHTML.

eg. controlling rows...

<table>
  <tr>
    <td>
    </td>
  </tr>
  <t:if test="blah">
    <tr>
      <td>
      </td>
    </tr>
  </t:if>
</table> 

eg. controlling columns...

<table>
  <tr>
    <th>
    </th>
    <t:if test="blah">
      <th>
      </th>
    </t:if>
  </tr>
  <tr>
    <td>
    </td>
    <t:if test="blah">
      <td>
      </td>
    </t:if>
  </tr>
</table> 

eg. looping for extra columns...

<table>
  <tr>
    <th>
    </th>
    <t:if test="blah">
      <th t:type="Loop" t:source="columnNames" t:value="columnName":>
      </th>
    </t:if>
  </tr>
  <tr>
    <td>
    </td>
    <td t:type="Loop" t:source="columnNames" t:value="columnName":>
    </td>
  </tr>
</table> 


On 08/11/2012, at 2:17 PM, nhhockeyplayer nashua wrote:

> 
> Hi Folks,
> 
> Tapestry is validating html markup in the templates.
> 
> <table>
>    <tr>
>        <td>
>        </td>
>    </tr>
> </table>
> 
> If I specify something like this...
> <table>
>    <tr>
>        <td>
>        </td>
>    ${someThingSpecial}
> </table>
> 
> It flags the error... which can be nice to have.
> 
> But in that line I and to do something special... and crafty with my 
> markup... from within my java class. I cant do anything special or crafty if 
> tapestry is forcing me to put the html markup there.
> 
> Is there a way to shut off this tag checking?
> 
> Thanks alot
> Ken
>                                         


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to