> Does Clay support something similar to $remove$ and $content$ in
> Tapestry? It's great to keep the preview mode usable.
> 


Clay has two similar ideas.  I've never used Tapestry so I'm sure that this 
statement is questionable.

Clay has an "allowBody" attribute that you can use to indicate the body and any 
other nested tags are ignored.
<span jsfid=outputText value="#{messages[city.label]}">Mock City Label</span>

Clay also has a reserved "ignore" jsfid that allows you to override the eleven 
implicit mappings.  This is accomplished by surrounding the HTML that you would 
like to ignore with a well formed tag like a span tag.  The surrounding tag 
will not be rendered but the child content will be rendered verbatim.
<span jsfid="ignore">
      <form method="POST" action="j_security_check">
      </form>
</span>

Gary




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to