1 Reply Latest reply on Nov 21, 2007 10:37 AM by Carlos Garcia

    Ajax4JSF and cookies

    Carlos Garcia Newbie

      When I turn off cookies in the deploy/jboss-web.deployer/context.xml file, the Ajax4JSF framework does not work.

      <Context cookies="false"...

      Is there any way to fix this?

      Thanks in advance.

        • 1. Re: Ajax4JSF and cookies
          Carlos Garcia Newbie

          I can bring more information now.

          I've used firebug in order to find what the problem is and it says that there is an error in the first line of the org.ajax4jas.framework.ajax.AjaxScript.jsf file. The strange thing is that this file has the following content:

          <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
           <html xmlns="http://www.w3.org/1999/xhtml">
           <head>
           <link rel="stylesheet" type="text/css" href="/ClientMng/css/metal/loginStyle.css" />
           <link rel="stylesheet" type="text/css" href="/ClientMng/css/metal/commons.css" />
          ...
          


          Which is a JSF page instead of all the JavaScript stuff.