[jbosstools-issues] [JBoss JIRA] (JBIDE-9767) Change LoadStyleStrategy and LoadScriptStrategy in RichFaces portlet project
Max Rydahl Andersen (Commented) (JIRA)
jira-events at lists.jboss.org
Thu Oct 6 09:14:16 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632746#comment-12632746 ]
Max Rydahl Andersen commented on JBIDE-9767:
--------------------------------------------
will that work with both with Portlet Bridge 1 and 2 ?
> 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
>
> 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