0 Replies Latest reply on Dec 1, 2009 9:40 PM by reyjexter.reyjexter.gmail.com

    Content assist with seam-gen (Seam 2.2.0.GA) and JBoss Tools

    reyjexter.reyjexter.gmail.com
      I've created a war project using seam-gen and created a new project using File > Other > General > Project and used the same name that I used on seam-gen.

      Here's my xhtml file:

      <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
          xmlns:s="http://jboss.com/products/seam/taglib"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:rich="http://richfaces.org/rich"
          template="layout/template.xhtml">

      <ui:define name="body">
          <h:form>     
              <rich:panel>
                      <f:facet name="header">Registration Form</f:facet>
                     
                      <h:panelGrid columns="2">
                              Username: <h:inputText value="#{user.username}"/>
                              Real Name: <h:inputText value="#{user.name}"/>
                              Password: <h:inputText value="#{user.password}"/>
                      </h:panelGrid>
              </rich:panel>

              <div class="actionButtons">
                 <h:commandButton value="Submit" action="#{register.register()}"/>
              </div>

          </h:form>

      </ui:define>
      </ui:composition>

      But for some reason, only <rich:panel> tag shows content assist help. Other tags such as h, f, rich:form or even rich: doesnt show a content assist.

      Is content assist possible with seam-gen (Seam 2.2.0.GA), JBoss Tools (for eclipse 3.5 milestone release) and Eclipse 3.5