dev@jsftemplating.java.net

Comments on https://jsftemplating.dev.java.net/tutorials/setup.html

From: Chris Kutler <Chris.Kutler_at_Sun.COM>
Date: Fri, 06 Oct 2006 17:03:53 -0700

Hello,

Comments on https://jsftemplating.dev.java.net/tutorials/setup.html

No need to reply. These are just questions that went thru my head as I
was doing the setup.

About the web.xml:

It has the following entry. Is this meant to imply that the state saving
method must be client in order for JSFTemplating to work.

  <context-param>
   <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
   <param-value>client</param-value>
 </context-param>

The welcome file is set to index.jsf, which is odd because the setup
instructions do not use an index.jsf, but a hello.jsf instead. I tried
it with the welcome file set to hello.jsf and it works fine. Is this a
typo or is there some reason to set the welcome file to index.jsf

I am experimenting using this from Java Studio Creator IDE. My one bump
so far:

o The IDE keeps overwriting the <welcome-file> tag. Sometimes I can
trick it by setting the web.xml in the build directory. So, for
experimental apps, I am using Page1.jsp as my start page and I have a
hyperlink on that page that goes to hello.jsf, or whatever.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Chris Kutler
Sun Java Studio Creator Tutorials
http://blogs.sun.com/divas