[RSS]

How do I configure Creator Components for Client Side State Saving?

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

  1. In the Files window, Expand the project's Web > WEB–INF node.
  2. Right click web.xml and select Open.
  3. Expand the Context Parameters
  4. The first parameter should be javax.faces.STATE_SAVING_METHOD with a param value of server.
  5. Select the parameter, and press the Edit button.
  6. Change the param value from server to client and press OK. The changes should update
  7. Press Ctrl–S to save the changes.

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