8 Replies Latest reply on Feb 3, 2010 2:32 PM by maxandersen

    Composite components support breaks the editor?

    ilya_shaikovsky

      I'm creating simple JSF project using standar tools wizard. I'm using JSF 2 and deploying to glassfishV3 - so modified application config files and removed all the libs. All goes just fine from the beginning

       

      Later in WebContent folder I created resources folder to add a few composition components. Then created xhtml file in the folder to define component template.

       

      Problems:

      • The page in resources folder does not opens in any editor (HTML, Jboss Tools HTML, Web Page editor)
      • Icon for the file as for faces-config file in Web Projects view

       

      Errors in log after I cleared it and tried to open file:

      !ENTRY org.eclipse.wst.sse.ui 2 2 2010-02-02 17:16:40.833

      !MESSAGE StructuredTextEditor being used without StructuredDocument

       

      !ENTRY org.eclipse.wst.sse.ui 2 2 2010-02-02 17:16:40.833

      !MESSAGE          Input Name: panel.xhtml

       

      !ENTRY org.eclipse.wst.sse.ui 2 2 2010-02-02 17:16:40.833

      !MESSAGE         Unexpected IDocumentProvider implementation: org.eclipse.ui.editors.text.TextFileDocumentProvider

       

      !ENTRY org.eclipse.wst.sse.ui 2 2 2010-02-02 17:16:40.833

      !MESSAGE         Unexpected IDocument implementation: document was null