dev@jsftemplating.java.net

Re: JSFTemplating: Re: weird beharviour?

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Thu, 12 Oct 2006 16:24:11 -0700

Maybe its time to have an FAQ or trouble shooting guide for jsftemplating.
eg.
-Why i don't see my #include files included ?
-What happen to my request parameter when i navigate to a page ?
...

thanks
Anissa

Ken Paulsen wrote:
>
> 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