VwpFAQGeneralClientSide

How do I configure Visual Web Pack applications for Client Side State Saving?

By default, Visual Web Pack uses Server Side State Saving. To configure VWP for Client side state saving do the following:

1. Click on the Project Navigator > Files tab.
2. Expand the project > Web > WEB–INF folder.
3. Right click and Open the web.xml file.
4. Expand the + Context Parameters
5. The first parameter should be javax.faces.STATE_SAVING_METHOD with a param value of server.
6. Select the parameter.
7. Press the Edit button.
8. Change the param value from server to client and press OK. The changes should update
9. Ctrl–S to save the changes.

Now when you redeploy the application it will use Client site state saving.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo