1 Reply Latest reply on Mar 30, 2010 2:06 AM by Charlie Yang

    About file Config Web.xml!

    Thang Phan Apprentice

      Hello everybody!

      Can anybody help me to explain this code in file web.xml for me?

       

      <context-param>
              <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
              <param-value>org.jboss.portletbridge.application.FaceletPortletViewHandler</param-value>
      </context-param>

       

      <context-param>
              <param-name>javax.portlet.faces.renderPolicy</param-name>
              <param-value>NEVER_DELEGATE</param-value>
      </context-param>

       

      <context-param>
                <param-name>javax.portlet.faces.renderPolicy</param-name>
               <param-value>ALWAYS_DELEGATE</param-value>
      </context-param>

       

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

      Can anybody explain the different between NEVER_DELEGATE and ALWAYS_DELEGATE above my code?

      Thank you very much!

       

      Thangphan!