myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Lessard" <simon.lessar...@gmail.com>
Subject [TRINIDAD] PPR problem with 1.2.2 branch
Date Wed, 15 Aug 2007 20:54:15 GMT
Hello all,

The following page fail to update after the PPR event with current
1.2.2branch using RI on OC4J 11g beta (container should not be the
issue here
though, nor should RI). test managed bean is a session scoped bean with a
single r/w value property. Anyone else can reproduce the issue?

<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:tr="http://myfaces.apache.org/trinidad">
  <jsp:directive.page contentType="text/html;charset=windows-1252"/>
  <f:view>
    <tr:document title="Test">
      <tr:form>
        <tr:inputText id="testField" label="test" value="#{test.value}"
autoSubmit="true"/>
        <tr:outputText value="Ok!" partialTriggers="testField" rendered="#{
test.value == 'foo'}"/>
      </tr:form>
    </tr:document>
  </f:view>
</jsp:root>

public class TestBean
{
  private String value;

  public TestBean()
  {
  }

  public void setValue(String param)
  {
    this.value = param;
  }

  public String getValue()
  {
    return value;
  }
}

Regards,

~ Simon

Mime
View raw message