7 Replies Latest reply: Jan 9, 2013 12:25 PM by Muralikrishna Mandala RSS

    Richfaces 4 ui:include not load Javascript and CSS files

    Danilo Mourão Newbie

      Hi all,

       

      Sorry about my poor english.

       

      I´m using dynamic pages with

       

      <ui:include src="#{controller.somepage}"/>
      

       

      The problem is that some files like: datatable.ecss, datascroller.ecss, popupPanel.ecss, calendar.ecss, collapsiblePanel.ecss and their javascript not loading when I acess the page by the first time.

       

      To solve this problem I decided to create a static page with this code:

       

      <a4j:outputPanel rendered="false">
          <rich:dataTable >
          <rich:dataScroller/>
          </rich:dataTable>
          <rich:popupPanel/>
          <rich:calendar/>
          <rich:collapsiblePanel/>
      </a4j:outputPanel>
      

       

      So I put all the components that I used in my dynamic pages.  I try in the webl.xml the param: org.richfaces.LoadScriptStrategy = ALL, but not work too.

       

      Some suggestion to solve this problem or it´s my problem with some configuration?

       

      Thanks in advance