Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JSP/JSF autocomplete
JSP/JSF autocomplete [message #502675] Wed, 09 December 2009 11:25 Go to next message
MJ is currently offline MJFriend
Messages: 8
Registered: December 2009
Junior Member
Hi All,
I'm just starting out looking at java faces and trying to work through the brief tutorial in the eclipse documentation

("WTP Tutorials - JavaServer Faces Tools Tutorial" in

However when I try to use autocomplete, nothing happens. If I place the cursor between the brackets listed below and hit ctrl-space, there's no autocomplete box coming up, where I would have expected it to show at least the backing bean I created as part of the tutorial.

<?xml version="1.0" encoding="ISO-8859-1" ?>
<jsp:root xmlns:jsp="" xmlns:f="" xmlns:h="" version="2.0">
    < language="java"
        contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" />
        <![CDATA[ <?xml version="1.0" encoding="ISO-8859-1" ?> ]]>
        <![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> ]]>
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Insert title here</title>

		<h:panelGrid border="1" columns="2">
			<h:outputText value="name"></h:outputText>
			<h:inputText value="#{}"></h:inputText>
			<h:outputText value="password"></h:outputText>
			[B]<h:inputSecret value="#{}"></h:inputSecret>[/B] 
		<h:commandButton value="Login" action="login"></h:commandButton>

The faces xml config is

<?xml version="1.0" encoding="UTF-8"?>



Also, for the faces library (project properties->project facets->java server faces), I'm presently using the weblogic shared library. I also tried downloading "JSF 1.2 (sun RI)", but that doesn't seem to make much difference and I don't know how to properly add JSTL to match since the tutorial was incomplete.

Lastly, I also have the compilation warning "cannot find fully qualified class: com.sun.facelets.FaceletViewHandler"

Any ideas??
Re: JSP/JSF autocomplete [message #503608 is a reply to message #502675] Mon, 14 December 2009 23:15 Go to previous message
MJ is currently offline MJFriend
Messages: 8
Registered: December 2009
Junior Member
And the answer...

- remove 'facelet' from the project facets
- remove com.sun.facelets.FaceletViewHandler from the faces-config.xml

and autocomplete works just fine.
Previous Topic:Re: Incomplete EAR creation/deloyment
Next Topic:JSP files not syntax highlighting
Goto Forum:

Current Time: Sat Apr 21 04:39:07 GMT 2018

Powered by FUDForum. Page generated in 0.01911 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software