Em Thu, 22 Jan 2009 13:58:54 -0300, Sid Ferreira <sid....@gmail.com> escreveu:

Im sorry but, I readed twice today, more two or tree times before... I can't see a reason to not work.

The key sentence is this: "Any other component or page that declares a field of the *same type*, regardless of name, and marks it with the ApplicationState annotation will share the same value. It's that simple."

In one page, you put @ApplicationState in a Clientes field. In the other, you put that annotation in a field with another type. They should have the same type (in this case, Clientes).

By the way, if Clientes is a class that represents a single client, not a collection of them, name it Cliente, not Clientes.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to