0 Replies Latest reply on Jul 8, 2008 4:05 PM by Paul Pantages

    a4j:poll mismatched meta tag

    Paul Pantages Novice

      Using:
      richfaces 3.1.4
      jboss seam 2.0.1.GA

      Hello Forum, I am seeing an error when using a4j:poll.

      My pollers look like the following. The action is used to check if the
      user is still logged in, and if not, the action returns a non-null jsf
      outcome to redirect him to the login page. This is to catch the case
      where the operator has a few tabs or FF windows open and logs out of
      one of them.

      <a4j:region id="pollRegion" renderRegionOnly="false">
       <a4j:poll
       id="systemStatusPoller"
       interval="4000"
       action="#{login.checkLoggedin}"
       status="pollingStatus"
       enabled="true"
       eventsQueue="ajaxQueue"
       reRender="mainPanel">
       </a4j:poll>
      </a4j:region>
      


      This all worked fine with Ajax 1.1.1 + Tomahawk 1.1.6.

      Since then I have moved to richfaces 3.1.4, and when the operator logs out, I see the follwoing error in my FF
      error console, when the user logs out:
      "mismatched tag. Expected </meta>" This error references line 4 of my page source.
      

      The poller stops polling.
      Clicking the link in the error console brings me into the source:
       <title>System > Status</title>
      


      Clearly not a meta tag.

      My template.xhtml contains the following:
       <head>
       <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
      
       <title><ui:insert name="page_title">This window needs a title!</ui:insert></title>
       <link href="#{theme.css}" rel="stylesheet" type="text/css" />
       <link href="#{theme.alarm}" rel="stylesheet" type="text/css" />
      
       </head>
      


      I tried removing the meta tag completly, but this does not change the error msg. The message seems to be a red-herring.

      Any clues? I have no idea what is wrong. Any help will, as usual, be appreciated.

      PdP