You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jordan Redner <jr...@shopping.com> on 2005/01/05 19:45:41 UTC

Way to privately comment HTML templates?

Does anyone know a way to comment the templates such that the comments
don't get rendered out when the page or component is rendered?

Thanks!


Jordan



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Way to privately comment HTML templates?

Posted by Todd O'Bryan <to...@mac.com>.
I think Cyril meant something more like

<span jwcid="$remove$">
<!-- This comment and the span around it won't make it to the rendered 
page. -->
</span>

at least based on the description before the example. :-)

Todd

On Jan 5, 2005, at 1:52 PM, Cyril Godefroy wrote:

> I usually use a $remove directive as well as the usual <!-- html thingy
>
> for example:
> <head jwcid="$remove$">
> 	<title>PSP</title>
> </head>
>
> eCOMPOSITE
> J2EE & Multimedia
> cyril@ecomposite.fr
> Tel 06 63 16 45 41
> On Jan 5, 2005, at 7:45 PM, Jordan Redner wrote:
>
>> Does anyone know a way to comment the templates such that the comments
>> don't get rendered out when the page or component is rendered?
>>
>> Thanks!
>>
>>
>> Jordan
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Way to privately comment HTML templates?

Posted by Cyril Godefroy <cy...@ecomposite.fr>.
I usually use a $remove directive as well as the usual <!-- html thingy

for example:
<head jwcid="$remove$">
	<title>PSP</title>
</head>

eCOMPOSITE
J2EE & Multimedia
cyril@ecomposite.fr
Tel 06 63 16 45 41
On Jan 5, 2005, at 7:45 PM, Jordan Redner wrote:

> Does anyone know a way to comment the templates such that the comments
> don't get rendered out when the page or component is rendered?
>
> Thanks!
>
>
> Jordan
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Way to privately comment HTML templates?

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
You could wrap them in the @Border (or some other custom non-rendering) 
component :)

	Erik

On Jan 5, 2005, at 1:45 PM, Jordan Redner wrote:

> Does anyone know a way to comment the templates such that the comments
> don't get rendered out when the page or component is rendered?
>
> Thanks!
>
>
> Jordan
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org