facebook

Facelet composite components in Web Fragment not recognized

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #344606 Reply

    eric.r.glass
    Participant

    We are evaluating replacing JBoss Tools with MyEclipse and have found that the JSF editor does not recognize Facelet composite components that are contained in a Web Fragment project. We are wondering if we do not have something configured correctly, so that we can get this to work like it does with JBoss Tools. Our projects are all Maven enabled; and package and deploy to the server with no issue.

    Here is my installation information.

    *** Date:
    Tuesday, November 19, 2013 1:11:32 PM EST

    *** System properties:
    OS=Windows7
    OS version=6.1.0
    OS arch=x86
    Profile arch=x86
    Window system=win32
    Java version=1.6.0_43
    Workspace=file:/C:/dev/Workspaces/MyEclipseProfessional/
    VM Args=-Xms512m
    -Xmx1024m
    -XX:PermSize=128m
    -XX:MaxPermSize=256m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -Djava.class.path=C:\dev\MYECLI~1\plugins/OR47CC~1.JAR

    *** Subscription information
    Your 30-day trial period expires on Dec 18, 2013

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 2013 SR2
    Build id: 11.0.2-20130823

    Blueprint: N/A

    com.genuitec.eclipse.mobile.feature – 11.0.2.201309031939
    com.genuitec.myeclipse.database – 11.0.2.me201309021924
    com.genuitec.myeclipse.desktop – 11.0.2.me201309021924
    com.genuitec.myeclipse.enterprise.workbench – 11.0.2.me201309021924
    com.genuitec.myeclipse.geronimo – 11.0.2.me201309021924
    com.genuitec.myeclipse.glassfish – 11.0.2.me201309021924
    com.genuitec.myeclipse.icefaces.feature – 11.0.2.me201309021924
    com.genuitec.myeclipse.imageeditor – 11.0.2.me201309021924
    com.genuitec.myeclipse.jboss – 11.0.2.me201309021924
    com.genuitec.myeclipse.jetty – 11.0.2.me201309021924
    com.genuitec.myeclipse.jonas – 11.0.2.me201309021924
    com.genuitec.myeclipse.jrun – 11.0.2.me201309021924
    com.genuitec.myeclipse.jsf – 11.0.2.me201309021924
    com.genuitec.myeclipse.maven – 11.0.2.me201309021924
    com.genuitec.myeclipse.oracle – 11.0.2.me201309021924
    com.genuitec.myeclipse.orion – 11.0.2.me201309021924
    com.genuitec.myeclipse.persistence – 11.0.2.me201309021924
    com.genuitec.myeclipse.reports – 11.0.2.me201309021924
    com.genuitec.myeclipse.resin – 11.0.2.me201309021924
    com.genuitec.myeclipse.struts – 11.0.2.me201309021924
    com.genuitec.myeclipse.sun – 11.0.2.me201309021924
    com.genuitec.myeclipse.tomcat – 11.0.2.me201309021924
    com.genuitec.myeclipse.uml2 – 11.0.2.me201309021924
    com.genuitec.myeclipse.visualvm – 11.0.2.me201309021924
    com.genuitec.myeclipse.visualvm.server – 11.0.2.me201309021924
    com.genuitec.myeclipse.weblogic – 11.0.2.me201309021924
    com.genuitec.myeclipse.websphere – 11.0.2.me201309021924
    com.genuitec.myeclipse.ws – 11.0.2.me201309021924
    org.eclipse.birt – 4.2.1.me201309021924
    org.eclipse.datatools.connectivity.feature – 1.10.1.me201309021924
    org.eclipse.datatools.enablement.feature – 1.10.1.me201309021924
    org.eclipse.datatools.modelbase.feature – 1.10.1.v201208161415-7707FCcNBHLCgLUEdUb
    org.eclipse.datatools.sqldevtools.feature – 1.10.1.me201309021924
    org.eclipse.emf – 2.8.1.v20120917-0436
    org.eclipse.gef – 3.8.1.201208200205
    org.eclipse.graphiti.feature – 0.9.2.v20130211-0913
    org.eclipse.jpt.jpa.feature – 3.2.1.me201309021924
    org.eclipse.jpt.jpadiagrameditor.feature – 1.1.1.me201309021924
    org.eclipse.jst.common.fproj.enablement.jdt – 3.4.0.me201309021924
    org.eclipse.jst.enterprise_ui.feature – 3.4.0.me201309021924
    org.eclipse.jst.server_adapters.ext.feature – 3.3.101.me201309021924
    org.eclipse.jst.server_adapters.feature – 3.2.200.me201309021924
    org.eclipse.jst.server_ui.feature – 3.4.0.me201309021924
    org.eclipse.jst.ws.axis2tools.feature – 1.1.200.me201309021924
    org.eclipse.m2e.feature – 1.2.0.me201309021924
    org.eclipse.sapphire.platform – 0.3.0.201106221325
    org.eclipse.wst.common.fproj – 3.4.0.me201309021924
    org.eclipse.wst.server_adapters.feature – 3.2.201.me201309021924
    org.eclipse.xsd – 2.8.0.v20120917-0436
    org.springframework.ide.eclipse.feature – 2.9.1.me201309021924

    AnyEditTools – 2.4.4.201307082032
    com.tetrade.eclipse.plugins.easyshell.feature – 1.4.1
    de.anbos.eclipse.logviewer.feature – 0.9.8.8
    de.bitexpert.eclipse.yuicompressor.feature – 0.0.4
    fr.obeo.acceleo.bridge.feature – 2.6.0.me201309021924
    jd.edi.eclipse.feature – 0.1.3
    org.apache.ivy.feature – 2.3.0.final_20130110142753
    org.apache.ivyde.feature – 2.2.0.beta1-201203282058-RELEASE
    org.eclipse.cvs – 1.3.201.v20130116-085741-7B79FJKAkF7BG7NGE4IAJT
    org.eclipse.draw2d – 3.8.1.201208200205
    org.eclipse.epp.mpc – 1.1.1.I20110907-0947
    org.eclipse.equinox.p2.core.feature – 1.1.0.v20121211-153934-8297FndFWmE7h7Bpz-vcqkxyKz0
    org.eclipse.equinox.p2.discovery.feature – 1.0.100.v20120524-0542-4-Bh9oB58B5W8E28KKNEK
    org.eclipse.equinox.p2.extras.feature – 1.1.0.v20121211-153934-7A6FEcDiVOTg2RYDuZuFz-L2z00w
    org.eclipse.equinox.p2.rcp.feature – 1.1.0.v20121211-153934-785EoBqNKNZz-DW7sUc8hFwz00wd
    org.eclipse.equinox.p2.user.ui – 2.2.0.v20121212-204731-62DG9JXTlTj-UXcQ2y3NLn6U4Z3H
    org.eclipse.help – 1.4.1.v20120912-145617-8R7xFOXFLWUl7PpMEeZNIGkb4
    org.eclipse.jdt – 3.8.2.v20130116-090414-8-8nFu3FNOfwKLRttdWQJ-2z-_83
    org.eclipse.jsf.feature – 3.4.1.me201309021924
    org.eclipse.ocl – 3.1.0.v20110606-1427
    org.eclipse.pde – 3.8.2.v20130116-091538-7c7wFj0FFt6Zr9bc77L7JFNNa
    org.eclipse.platform – 3.8.1.v20130118-180812-9jF7oIBFG8eU2pim-VbIlTuQjY0RWWK3x-bv4I
    org.eclipse.rcp – 3.8.2.v20130118-180157-96BuGOZFxwOAeG8Ofmqicz0tPK
    org.eclipse.wb.core.feature – 1.6.0.r42x201305211944
    org.eclipse.wb.core.java.feature – 1.6.0.r42x201305211947
    org.eclipse.wb.core.ui.feature – 1.6.0.r42x201305211950
    org.eclipse.wb.core.xml.feature – 1.6.0.r42x201305211955
    org.eclipse.wb.doc.user.feature – 1.6.0.r42x201305212003
    org.eclipse.wb.layout.group.feature – 1.6.0.r42x201305212007
    org.eclipse.wb.rcp.SWT_AWT_support – 1.6.0.r42x201305212048
    org.eclipse.wb.rcp.doc.user.feature – 1.6.0.r42x201305212036
    org.eclipse.wb.rcp.feature – 1.6.0.r42x201305212028
    org.eclipse.wb.swing.doc.user.feature – 1.6.0.r42x201305212039
    org.eclipse.wb.swing.feature – 1.6.0.r42x201305212042
    org.eclipse.wb.swt.feature – 1.6.0.r42x201305212024
    org.eclipse.wb.xwt.feature – 1.6.0.r42x201305212050
    org.sonatype.m2e.mavenarchiver.feature – 0.15.0.201207090125
    realignment.jd.ide.eclipse.feature – 1.1.2

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\dev\MyEclipseProfessional\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\dev\MyEclipseProfessional\plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
    -startup
    C:\dev\MyEclipseProfessional\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
    -install
    C:\dev\MyEclipseProfessional
    -vm
    C:\dev\MyEclipseProfessional\binary\com.sun.java.jdk.win32.x86_1.6.0.u43\jre\bin\client\jvm.dll

    #344638 Reply

    eric,

    Sorry that you are seeing this issue.

    > Can you please mention the exact steps in details (right from creating a project) to help us replicate the issue at our end ?

    > If possible, please attach a sample project which exhibits this issue to help us investigate further ?

    > Clear the contents of the .log file located at <Workspace dir>/.metadata/.log file, replicate the issue and attach the log file here to help us investigate further.

    #344701 Reply

    eric.r.glass
    Participant

    I have created 4 Maven projects through the wizards as follows and they are contained in the attachment.

    ergMain – This project is a parent/master Maven pom
    ergFragment – This project is a JEE6 Web Fragment with Maven support
    ergWAR – This project is a JEE6 Web with Maven support
    ergEAR – This project is a JEE6 Enterprise Application with Maven support

    The ergFragment project was updated to have support for JSF and managed beans; and all of the deployment descriptor/configuration files are located in the Maven standard resources directory: src/main/resources/META-INF/

    The ergFragment project also contains a JSF Facelet template and composite component as follows.
    template: src/main/resources/META-INF/resources/common/template/layoutStandard.xhtml
    composite component: src/main/resources/META-INF/resources/common/component/commonContent.xhtml

    The ergWAR project is the standard Maven project structure for WAR, it was updated to have JSF support, and it also has a Facelet composite component.
    src/main/resources/META-INF/resources/erg/ergContent.xhtml

    The ergWAR project has the Web page default.html that redirects to the JSF page default.faces, which is the source file src/main/webapp/default.xhtml.

    This project builds and deploys with no issue to any JEE6 certified server, we are using WebLogic 12c 12.1.1.4.

    The issue is editing the JSF source file default.xhtml. There is no support for the template, or either of the composite components. There is no content assist or hyperlinking available in the editor. These are features that are must have for our development staff since we have several templates and a large number of composite components both shared within a Web Fragment and within the actual WAR project.

    There are no errors generated in the .log file for this issue.

    Attachments:
    You must be logged in to view attached files.
    #344747 Reply

    eric,

    Thanks for the details provided. We will investigate the issue and get back to you soon.

    #344791 Reply

    eric,

    We already have a bug report for this issue. The fix will be available in the next release due in couple of weeks.

    Sorry for the inconvenience caused.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Facelet composite components in Web Fragment not recognized

You must be logged in to post in the forum log in