Search code examples
jsf-2.2java-6

How to disable clientwindow feature in jsf 2.2


I am running an jsf2.2 application and using Primefaces with JAVA 1.6, i am trying to disable the client window feature which removes the jfwid.Please suggest me how i can handle this issue.


Solution

  • I believe the ClientWindow feature is disabled by default. The following JavaDoc details the behavior:

    http://docs.oracle.com/javaee/7/api/javax/faces/lifecycle/ClientWindow.html#CLIENT_WINDOW_MODE_PARAM_NAME

    Also I'm not sure why disableClientWindow would be expected on a p:commandButton(h:commandButton) as that is a POST request whereas the p:button(h:button) would be a GET request.

    Looking at the vld docs for the h:commandButton you'll see there is not a disableClientWindow attribute but on the h:button there is.