2 Replies Latest reply on Dec 6, 2010 10:49 AM by Steven Jonas

    Doctype unset after ajax redirect

    Steven Jonas Newbie

      I was instructed to take over a seam powered application and am currently delving into the depth of this framework therefore please excuse my question if it is a bit noobish.

      In the application mentioned, while changing the localeSelector, the user receives the content of another page via ajax. Strangely enough, the ajax response doesn't contain the doctype definition (but everything else needed), therefore the page renders wrong. Manually reloading the page will render the page correctly as the Doctype-definition is included in the main template. Therefore, I am searching for ways to make seam send the doctype-definition together with the rendered content.

      <html id="document:html" lang="de">

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      <html id="document:html" lang="de">

      Do you have any idea where to begin with investigation?

      My setup:
      - Seam 2.1.2.CR1
      - ICEfaces 1.8.0
      - JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)]

      Any feedback is greatly appreciated.

      Thanks for reading.