Somehow I tuned out your CDATA discussion, sorry.
Jim wrote:
What about:
?
Haven't touched T5 yet, but this is working for me in T4:
This has the bonus of making (most of) the section syntax-highlighted.
Jim
Josh Canfield wrote:
Neither approach really solves the problem all the way.
What about:
?
Haven't touched T5 yet, but this is working for me in T4:
This has the bonus of making (most of) the section syntax-highlighted.
Jim
Josh Canfield wrote:
Neither approach really solves the problem all the way. They both
require that the commented out section is valid code.
Neither approach really solves the problem all the way. They both
require that the commented out section is valid code.
Won't parse.
It would be convenient to be able to mark a component as containing
CDATA so that the template parser would leave it alone.
for instance, if the above were equi
Would it be possible and within Tapestry's vision to give users the
ability to annotate actual tags to designate them as
server-side? In the spirit of being able to hand a Tapestry template to
a web designer using Dreamweaver, the syntax-highlighting would be
value-added.
Otherwise, there'd
You can "simulate" a comment directive as a component:
public class Comment
{
boolean setupRender() { return false; }
}
This is a no-op component, it skips directly from the SetupRender
phase to the CleanupRender phase, rendering nothing. This is even
less work than .
On Fri, Apr 11, 2008
Good to know that it works, but I would think thats a little dangerous...
If its not commented, I always assume its live code. There should be a way
to comment properly.
I can do it in the jsps I stare at all day long... I'd think it reasonable
T5 does real comments.
*I haven't tested any of thi
That's perfect, thanks Josh.
Josh Canfield wrote:
How about just doing whatever the equivalent to is in T4?
On Fri, Apr 11, 2008 at 11:31 AM, Jim <[EMAIL PROTECTED]> wrote:
Is there a way to do server-side commenting, ala <%-- --> in JSPs? i.e. to
comment sections that you (temporarily) d
How about just doing whatever the equivalent to is in T4?
On Fri, Apr 11, 2008 at 11:31 AM, Jim <[EMAIL PROTECTED]> wrote:
> Is there a way to do server-side commenting, ala <%-- --> in JSPs? i.e. to
> comment sections that you (temporarily) don't wish to be dynamically
> processed server-side?
Is there a way to do server-side commenting, ala <%-- --> in JSPs? i.e.
to comment sections that you (temporarily) don't wish to be dynamically
processed server-side?
Adding only precludes client-side processing, of course, and if
I try to surround a template section (which contains Tapestry