On Tue, 28 Aug 2007 11:24:03 -0300, Marcos Chicote <[EMAIL PROTECTED]> wrote:

In the test, the EventListener is properly called (when the value of the
PropertySelection is changed), but the selections are not updated. When
called from Test.onChange(), Test.getA() returns 'null' instead of the selected
value.

Try to make A persistent:

@Persist
public abstract String  getA();

Your getA() returns null because the request that renders the form is one and the EventListener call is another. ;) Any value stored in Tapestry class properties, unless explicitly made persistent, is lost when the request finishes.

--
Thiago H. de Paula Figueiredo
Desenvolvedor, Instrutor e Consultor de Tecnologia
Eteg Tecnologia da Informação Ltda.
http://www.eteg.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to