0 Replies Latest reply on Aug 6, 2007 8:45 AM by Stephan Heffner

    File save as dialog instead of a rendered page

    Stephan Heffner Newbie

      Sometimes after a restart of the JBoss Server, accessing our Seam based application results in a file save as dialog instead of the rendered login page. Restarting the server again solved this usually.

      To get a better understanding whats going on, I activated Charles in my Firefox and get the attached session Infos. The redirect happens and the page data will be send, but the last response is this:

      <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      <ui:composition xmlns="http://www.w3.org/1999/xhtml"

      <ui:define name="main">

      <h:form id="login">

      <rich:panel styleClass="loginPanel">
      <f:facet name="header">Login</f:facet>

      Bitte melden Sie Sich an:

      <s:decorate template="/layout/display.xhtml">
      <ui:define name="label">Username</ui:define>
      <h:inputText id="username" value="#{identity.username}"/>

      <s:decorate template="/layout/display.xhtml">
      <ui:define name="label">Passwort</ui:define>
      <h:inputSecret id="password" value="#{identity.password}"/>

      <s:decorate template="/layout/display.xhtml">
      <ui:define name="label"></ui:define>
      <h:selectBooleanCheckbox id="rememberMe" value="#{identity.rememberMe}"/>
      <h:outputLabel for="rememberMe">Auf diesem Computer merken</h:outputLabel>

      <h:commandButton value="Login" action="#{identity.login}"/>




      As you can see, the server sends the source instead of a rendered page.

      Any ideas what's going on? Wich components could be involded with this?