JSF Tags Not Displayed in Eclipse Web Page Editor
-------------------------------------------------
Key: GERONIMODEVTOOLS-348
URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-348
Project: Geronimo-Devtools
Issue Type: Bug
Components: eclipse-plugin
Affects Versions: 2.1.0
Environment: Windows XP SP2, Eclipse Europa Winter Maintenance
Release, Geronimo 2.1.1, GEP 2.1.0
Reporter: Cedric Hurst
Assignee: Tim McConnell
Attachments: jsf palettes visible.jpg
Eclipse WTP tooling provides a drag-and-drop palette for various taglibs in its
Web Page Editor. When the JSF Project Facet is attached to a Dynamic Web
Project, "JSF Core" and "JSF HTML" taglibs should be added to the palette (see
screenshot). However, this is not the case when using Geronimo/GEP.
Steps to Reproduce
===
1. Create a new Dynamic Web Project using Geronimo 2.1 as the Targeted Runtime,
click "Next"
2. Add the JavaServer Faces 1.2 Facet to the Project, click "Next"
3. Accept the default web module settings, click "Next"
4. In the JSF Capabilities page, select the "Server Supplied JSF
Implementation" option and click "Finish"
5. Create a new JSP page in the "WebContent" directory
6. Right click on the new JSP page and open it with the "Web Page Editor"
7. Expand the "Palette" in the WYSIWYG pane
Expected Behavior
===
JSF Core and JSF HTML taglibs should be visible in the palette (as per attached
screenshot)
Actual Behavior
===
JSF Core and JSF HTML taglibs are not displayed
Possible Explanation
===
It seems that the taglibs are not loading properly somewhere within WTP.
Curiously enough, the following scenario works:
1. Copy the "myfaces-api" and "myfaces-impl" jar files from the repository into
some other directory on the file system.
2. Explicitly define a JSF library in the Window -> Preferences -> Web and XML
-> JavaServerFaces Tools -> Libraries page
3. Add the copied JAR files to this new library definition and check the "Is
JSF Implementation" box.
4. Repeat steps 1-7 described above, but specify this new JSF library instead
of the "Server Supplied JSF Implementation" in step 4.
Directly linking to the files "myfaces-api" and "myfaces-impl" files in the
repository when explicitly defining the JSF implementation doesn't work either.
The JSF tags only display when the files sit outside the repository. So there
must be something in the Geronimo runtime definition that is preventing these
files from being referenced.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.