Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » No Visual JSF Editor, No AutoComplete (ICEFaces Portlet Project)
No Visual JSF Editor, No AutoComplete (ICEFaces Portlet Project) [message #538097] Fri, 04 June 2010 23:41 Go to next message
Shelli Orton is currently offline Shelli OrtonFriend
Messages: 101
Registered: September 2009
Senior Member
I have Eclipse 3.5 with WTP and have installed these additional plugins:

- Portlet Tools
- ICEFaces
- Java EE IDE (part of WTP?)

I am working on a portlet that uses ICEFaces. I have set my project up to use these facets:

- Java v6.0
- Dynamic Web Module v2.5
- Portlet Module (JSR) v2.0
- JavaServer Faces v.12.
- ICEFaces v1.8

What else do I have to do make available/open the Visual JSF editor? I can't find anything under Views or Perspectives.

I can open my web files withthe "Web Page Editor". Is this the same as the Visual JSF editor? It does have visual component but I was under the impression the JSF editor had drag/drop capabilities.

However, even in this view, I do not get any autocomplete functionality when I type in a tag (as one gets in NetBeans and IntelliJ).

For example, this is my file view.xhtml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<f:view xmlns:f="http://java.sun.com/jsf/core" 
        xmlns:ice="http://www.icesoft.com/icefaces/component"
        xmlns:ui="http://java.sun.com/jsf/facelets">
    <ice:portlet>
        <ice:form>
            <ice:outputStyle href="/xmlhttp/css/xp/xp-portlet.css" />
            <ice:outputStyle href="/css/style.css" />
            <div id="header">
                <h1><ice:outputText value="View Page"/></h1>
                <p>This is the view page</p>
            </div>
        </ice:form>
    </ice:portlet>
</f:view>


If I type in "<ice:", I would expect an autocomplete list of ICEFaces component names to choose from to be displayed. Should I not expect this or is there some further configuration that I need to do? Does it have anything to do with my files being .xhtml and not .jsp?

Thanks in advance!
Re: No Visual JSF Editor, No AutoComplete (ICEFaces Portlet Project) [message #538529 is a reply to message #538097] Mon, 07 June 2010 21:06 Go to previous messageGo to next message
Shelli Orton is currently offline Shelli OrtonFriend
Messages: 101
Registered: September 2009
Senior Member
Apparently I had all but one piece set up for the visual editor. I needed to open the Palette view and the components are now available for drag and drop.

However, it would be really nice to have the auto-complete on the tags. Does anyone know if this is possible in Eclipse?

Thanks again!
Re: No Visual JSF Editor, No AutoComplete (ICEFaces Portlet Project) [message #538696 is a reply to message #538529] Tue, 08 June 2010 12:47 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 6/7/2010 3:07 PM, sdoca wrote:
> Apparently I had all but one piece set up for the visual editor. I
> needed to open the Palette view and the components are now available for
> drag and drop.
>
> However, it would be really nice to have the auto-complete on the tags.
> Does anyone know if this is possible in Eclipse?
>
> Thanks again!

You may have figured this out, but you'll also need the Properties view
as well. If you wonder why, please see
http://www.vogella.de/articles/JavaServerFaces/article.html# navigationrule

Best of luck,

Russ Bateman
Previous Topic:use in-container in wtp?
Next Topic:Error uploading EAR file to OC4J server.
Goto Forum:
  


Current Time: Thu Mar 28 09:56:29 GMT 2024

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

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

Back to the top