You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Donald Woods (JIRA)" <ji...@apache.org> on 2008/06/13 14:30:44 UTC

[jira] Closed: (GERONIMODEVTOOLS-348) JSF Tags Not Displayed in Eclipse Web Page Editor

     [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods closed GERONIMODEVTOOLS-348.
-----------------------------------------

    Resolution: Fixed
      Assignee: B.J. Reed  (was: Tim McConnell)

applied patch as r667502.  BJ, thanks for the patch.

> 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: B.J. Reed
>             Fix For: 2.1.1
>
>         Attachments: GERONIMODEVTOOLS-348.patch, jsfPalette.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.