dev@jsftemplating.java.net

Re: weird beharviour?

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Thu, 12 Oct 2006 15:26:23 -0700

Hi Senthil,

This is by design. Only lines starting with "#include" will be processed
as an include. Otherwise the '#' will be treated as a comment that
extends to the EOL.

FYI, the "#include" functionality comes from "IncludeInputStream" which
only looks at the first character of each line to implement this.

While this could change, I do not think it should...

Kne

Senthil Chidambaram wrote:
> Ken,
> I've an included JSF file with some fields in it. The behaviour I'm
> observing is #include has to start at the beginning of the line for
> the fields in the included file to appear, meaning this line shouldn't
> begin with a tab, or an extra space like that. Is it a parsing issue,
> not eating up the tabs?
>
> thx
> Senthil