2 Replies Latest reply on Oct 11, 2007 10:27 AM by Ilya Shaikovsky

    Content in Browser not changed after changes in JSF-Source

    Wolfgang Klaus Newbie


      I have a simple page with contains a rich:panel and so on.
      When changing the content in the rich:panel then
      the page which shows the browser is not changed.
      For example the following JSF-Page

      <%@ page contentType="text/html; charset=Cp1252"%>
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
      <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
      <%@ include file="/inc/header.inc"%>
       <h:form id="form">
       <h:panelGrid id="grid" columnClasses="cols1,cols2" columns="2">
       <rich:panelMenu id="menu" style="width:200px;" mode="server">
       <rich:panelMenuGroup id="stammdaten" expanded="true"
       <rich:panelMenuItem id="partner" action="go_Partner"
       <rich:panelMenuItem id="artikel" action="go_Artikel"
       <rich:panelMenuGroup id="finanzen" expanded="true" label="Finanzen">
       <rich:panelMenuItem id="auftraege" action="go_Auftraege"
       <rich:panelMenuItem id="rechnugen" action="go_Rechnungen"
       <rich:panel id="echo" header="Simple1 Echo">
       <h:outputText id="out" value="test4" />
       <h:inputText id="inp" value="#{testBean.testval}">
       <a4j:support id="a" event="onkeyup" reRender="rep" />
       <h:outputText value="#{testBean.testval}" id="rep" />
       <h:commandButton id="c" type="submit" action="#{testBean.printVal}"

      When changing the value from "Testen5" to "Testen6" of the h:commandButton and then press CTRL-F5 for reload in the browser the old value "Testen5" is shown.
      After restarting tomcat the new value will be shown.
      This behaviour is very bad when developing. I don't want restart
      tomcat after some changes.

      Everything outside rich:panel is immediately changed as expected.
      I've already set enable-cache to false but it doesn't help.

      My enviroment is:
      Tomcat 5.5.25
      MyFaces 1.1.5
      RichFaces 3.1.1

      Does somebody have this problem too?
      Is there another caching in RichFaces? How could it be disabled.