You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Adam Czysciak <ad...@gmail.com> on 2005/08/04 19:53:41 UTC

Page property nullified after component action triggered.

Hi,

  I seem to have a problem with tapestry 4.0 beta3.

I have a page with property (defined as public java variable with
accessors). This page contains PageWrapper component, and page wrapper
contains Login component. Login is a simple form with login field, password
and a submit button.

I go to this page from some other page, and there I set the property using
the setter.

Now - when user types login and password, the login form's listener is
invoked properly. It is public void, therefore the same page should be
returned (now Login component displays logout link, but it doesn't matter).

The problem is, that now the page property is null.

Login component has tapestry 4 dtd (I think it was working ok with tap 3).
The page still has tapestry 3 dtd, I'm on my way migrating.

How to solve this problem?

-- 
Greets,
  Adam Czysciak
  adam.czysciak@gmail.com
  Sun Certified Programmer for the Java 2 Platform, SE 5


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org