- This topic has 3 replies, 2 voices, and was last updated 17 years, 10 months ago by Riyad Kalla.
-
AuthorPosts
-
Mark SandersMemberFirst let me say I have been learning both Java and MyEclipse for less than year now (in my spare time between work and school), and MyEclipse ROCKS!!!
Q: I was going through the JSFLoginDemo and noticed that on my faces-config.xml that I don’t have the buttons/options for HTML and XML I see in fig 7.1. What am I missing?
just a side note: I did have some issues getting the demo working, but was able find everything I needed here except one thing that might help others. I added the following lines to the two jsp pages to prevent the site from coming up with a blank page.
<%@ taglib prefix=”f” uri=”http://java.sun.com/jsf/core” %>
<%@ taglib prefix=”h” uri=”http://java.sun.com/jsf/html” %>I am so diggin on this! 8)
Riyad KallaMemberFirst let me say I have been learning both Java and MyEclipse for less than year now (in my spare time between work and school), and MyEclipse ROCKS!!!
We appreciate your support and choosing MyEclipse to learn with!
Q: I was going through the JSFLoginDemo and noticed that on my faces-config.xml that I don’t have the buttons/options for HTML and XML I see in fig 7.1. What am I missing?
You aren’t missing anything. That was actually a design oversight with an earlier version. JSF has to forward to JSP pages, so it didn’t make sense for us to offer HTML and XML files as targets on that screen, those buttons were removed.
<%@ taglib prefix=”f” uri=”http://java.sun.com/jsf/core” %>
<%@ taglib prefix=”h” uri=”http://java.sun.com/jsf/html” %>When you use File > New > JSP and select the “Default JSF Template” those should already be at the top of the page. Can confirm this form me?
Mark SandersMemberYou are correct. The mistake I was making in the demo was when creating my jsp pages. It was set to Default JSP template not Defaul JSF template in step 7 Fig 7.1
Thanks for the feedback on the question and thanks for the lessons learned – it’s a continuous process. 😀
Riyad KallaMemberKeep us posted with what you are finding easy and what you are finding hard. Having feedback from first-time users is very helpful.
-
AuthorPosts