dev@jsftemplating.java.net

Re: JSFTemplating: important questions on jsf templating projects

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Thu, 01 Feb 2007 22:34:26 -0800

Michael Phoenix wrote:
> Hi,
>
> This post is a combination of a couple of other posts I sent to this
> group, seeking answers on creating web projects using jsf templating.
> I really need some answers to the questions below in order to be able
> to get a better idea of how this jsf templating is used. So I would
> appreciate it if someone could help me out here.
>
> I want to be able to use NetBeans to run and debug my projects.
> Currently I can only do builds on the command-line. The build scripts
> with the demo application like the JSF Templating scripts are
> extremely complicated and, from my limited experience with ant, not
> very standard. I have been unable to get the jsf templating build to
> work under NetBeans and nobody has responded to my post with reqards
> as to how to figure out why this problem occurs or how to debug the
> build script/NetBeans configuration. I assume that this means nobody
> has any more clue than I, concerning what the problem is. As the demo
> build script is similar to jsf templating build script, it is likely
> that it would have similar problems. To the best of my knowledge the
> product of the jsf templating build is not executable on its own,
> building it outside of NetBeans is not a problem. However, if I build
> an jsft application, I'm going to want to be able to use my IDE's
> debugging capabilities, which requires it be runnable under the IDE.
> This is why I am asking the questions below, to try to get a
> "hgigh-level" understnding of how jsf templating works with web projects.
Many people have gotten this to work, but I am not personally familiar
with how this was done as I have not had to help them. There is
documentation on the site on how to use NetBeans, this may be out of
date. Anissa has volunteered to review and update this documentation as
necessary. She had hoped to get to it by Friday (tomorrow)... if it
doesn't happen by then, it will happen shortly afterward.

Also these questions were answered on 1/28/07 at 9:36PM and 10:11 PM in
email messages to this list by Anissa and by Me.
 
> 1. I was looking at my succesfully built demo application. and the
> structure just does not seem to reflect standard web application. The
> build directory does not contain a WEB-INF subdirectory or a web.xml
> file. It resembles no standard build directory that I have ever seen
> in a web project. Is there a reason for not going along with the J2EE
> standard on this? How would you create a WAR file?
>
> 2. How is the first page that in demo accessed when you enter
> localhost:8080/demo into your browser, what tells the application
> which page to bring up first? There's no index file of any sort in demo.
I answered the above 2 questions on the same day you asked them
(1/28/07). Check your email and look for 2 responses from me around
10:20PM and 10:22PM. These were sent to the JSFTemplating dev alias, so
you can check the archives on the web site if you can't find them.
>
> 3. Let me make sure I understand. All that I need to use JSF
> Templating in a new project is to put the jsf templating and jsf
> templating dynafaces jar, along with any Ui components I chose to use
> under WEB-INF\lib. Is that correct? Do I need to do anything else? If
> so, what?
Yes that is correct. This was also answered in an email from me on
1/28/07 @ 10:11PM.
> Some answers whoudl be greatly appreciated.
If you are having problems receiving email, please let me know so I can
look into it. You may also want to check your spam filters, or other
email settings to see if you are missing email. If you receive digest
email, perhaps you missed the responses in the email b/c you didn't read
all of it.

Good luck, I hope these answers help you!

Ken Paulsen
>
> Mike