dev@jsftemplating.java.net

Re: JSFTemplating: Re: weird beharviour?

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Thu, 12 Oct 2006 17:40:02 -0700

Sounds great! I've been thinking about documentation in general (mostly
the lack of it). I was considering adding a wiki where topics could be
added and maintained more easily. What do you think?

I think when I first created the project I was given the option for a
wiki... but I don't see how to configure that now, I'm sure we can
figure it out if this is desirable.

Ken

Anissa Lam wrote:
>
> 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