]
Alexey Kazakov updated JBIDE-9768:
----------------------------------
Component/s: JSF
Add RichFaces tag library declaration to RichFaces portlet project
------------------------------------------------------------------
Key: JBIDE-9768
URL:
https://issues.jboss.org/browse/JBIDE-9768
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: JSF
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: