Wednesday, October 28, 2009

STEP 16: Update web.xml

This is the final step.

Add Navigation Rules to faces-config.xml

Projects (tab) | Expand ICEfacesLiferay001 | Expand Configuration Files | Double Click web.xml | XML

Edit web.xml and add the <context-param> element, shown in bold, just before the closing </web-app> tag. Then save the file. This will turn off compression so that the JSF navigation we defined works.

    <context-param>
        <param-name>com.icesoft.faces.compressResources</param-name>
        <param-value>false</param-value>
    </context-param>

No comments:

Post a Comment