No Visual JSF Editor, No AutoComplete Using Eclipse
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
No Visual JSF Editor, No AutoComplete Using Eclipse  XML
Forum Index -> Tools
Author Message
sdoca

Joined: 22/01/2007 00:00:00
Messages: 10
Offline


Hi,

I posted this question on the Eclipse forums but haven't got any responses. Hoping someone here may have an answer...


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:
Code:
 <?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!

Link to Eclipse forum thread:
http://www.eclipse.org/forums/index.php?t=msg&th=169467&start=0&
sdoca

Joined: 22/01/2007 00:00:00
Messages: 10
Offline


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!
 
Forum Index -> Tools
Go to:   
Powered by JForum 2.1.7ice © JForum Team