1 Reply Latest reply on Apr 20, 2010 9:36 PM by Tak-po Li

    bypass richface load strategies

    Tak-po Li Newbie

      I am new and use seam-gen to generate the base for my application.  I modify some of the generated pages into a non-richface one (dojox gfx) and found that dojox event handler is in conflict with something else.  I observe (from Firebug) both style sheet and javascript from richface are loaded for ALL pages when they are loaded.  I notice the following in the web.xml:



      <context-param>

        <param-name>org.richfaces.LoadStyleStrategy
      </param-name>


        <param-value>ALL</param-value>

        </context-param>



      <context-param>

        <param-name>org.richfaces.LoadScriptStrategy </param-name>

        <param-value>ALL</param-value>

        </context-param>




      How can I modify the above that the loading of script is bypassed for non-richface pages?


      Thanks,


      Tak