[jbosstools-issues] [JBoss JIRA] Created: (JBDS-1862) Add RichFaces tag library declaration to RichFaces portlet project

Miroslav Cupak (JIRA) jira-events at lists.jboss.org
Fri Sep 23 07:01:27 EDT 2011


Add RichFaces tag library declaration to RichFaces portlet project
------------------------------------------------------------------

                 Key: JBDS-1862
                 URL: https://issues.jboss.org/browse/JBDS-1862
             Project: Developer Studio (JBoss Developer Studio)
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
    Affects Versions: 4.1.0.GA
            Reporter: Miroslav Cupak
            Priority: Minor


When you generate a JSF portlet project with RichFaces libraries, the RichFaces part is not really as ready for use as it could be - e.g. LoadStyleStrategy and LoadScriptStrategy are set to NONE so you have to include the relevant scripts manually and when you add a JSF portlet to the project, the pages which are created do not contain RichFaces tag library declaration. I don't see any JSF template containing the declaration for RichFaces either, which means you have to find and add it by yourself.

My suggestion would be to have templates for JSF pages with RichFaces among other JSF/JSP templates and/or have something like this

{code:xml}
 <ui:composition
      xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich">
...
{code}

instead of something like this

{code:xml}
<ui:composition
      xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">
...
{code}

in generated JSF pages when the RichFaces libraries are included in the project.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list