[jbosstools-issues] [JBoss JIRA] (JBIDE-9767) Change LoadStyleStrategy and LoadScriptStrategy in RichFaces portlet project
Snjezana Peco (JIRA)
jira-events at lists.jboss.org
Wed Feb 1 16:29:48 EST 2012
[ https://issues.jboss.org/browse/JBIDE-9767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Snjezana Peco resolved JBIDE-9767.
----------------------------------
Fix Version/s: 3.3.0.Beta1
(was: 3.3.x)
Resolution: Cannot Reproduce Bug
I can't reproduce the issue using EPP 5.1/5.2.
The JSF Portlet facet selects the org.richfaces.LoadStyleStrategy and org.richfaces.LoadScriptStrategy based on a portletbridge version.
See PortletPostInstallListener.java, lines 188-201.
> 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
> Components: Portal/GateIn
> 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
> Assignee: Snjezana Peco
> Fix For: 3.3.0.Beta1
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list