Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9767

Change LoadStyleStrategy and LoadScriptStrategy in RichFaces portlet project

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 3.3.0.Beta1
    • 3.2.1.Final
    • portal-gatein
    • None

      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:

        <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>
      

      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.

            snjeza_jira Snjezana Peco (Inactive)
            mcupak Miroslav Cupak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: