[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9767) Change LoadStyleStrategy and LoadScriptStrategy in RichFaces portlet project
Miroslav Cupak (JIRA)
jira-events at lists.jboss.org
Fri Sep 23 05:12:26 EDT 2011
Change LoadStyleStrategy and LoadScriptStrategy in RichFaces portlet project
----------------------------------------------------------------------------
Key: JBIDE-9767
URL: https://issues.jboss.org/browse/JBIDE-9767
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Affects Versions: 3.2.1.Final
Environment: JBDS 4.1.0.GA, EPP 5.2.0.ER01, Sun JDK 1.6.0_27
Reporter: Miroslav Cupak
When I generate a JSF portlet project (_Dynamic Web Module_, _Java_, _JavaServer Faces_, _JBoss Core Portlet_ and _JBoss JSF Portlet_ facets) with RichFaces libraries in JBDS to deploy on EPP, its _web.xml_ contains the following lines:
{code:xml}
<context-param>
<param-name>org.richfaces.LoadStyleStrategy</param-name>
<param-value>NONE</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.LoadScriptStrategy</param-name>
<param-value>NONE</param-value>
</context-param>
{code}
This was OK with Portlet Bridge 1.0 (see _JBoss Portlet Bridge 1.0 Reference Guide_, section _RichFaces Setup and Configuration Options_), but doesn't make much sense with Portlet Bridge 2.x (again, see _JBoss Portlet Bridge 2.x Reference Guide_, section _RichFaces Setup and Configuration Options_). I think it would be better and more convenient to set the generated value for both _LoadStyleStrategy_ and _LoadScriptStrategy_ to _DEFAULT_ (or _ALL_) so that RichFaces components can be used in portlets without needing to include the relevant scripts manually.
--
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