Em Fri, 23 Oct 2009 19:05:25 -0200, Mite <mitemeis...@gmail.com> escreveu:
import org.apache.tapestry5.annotations.InjectPage;
public class Index
{
private String message;
Tapestry uses redirect-after-post, so the action request is not the same
as the request that generates HTML. You'll need to persist the field value
in some way.
You can do that adding the @Persist(PersistenceConstants.FLASH) annotation
to the message field:
@Persist(PersistenceConstants.FLASH)
private String message;
More details here:
http://tapestry.apache.org/tapestry5.1/guide/persist.html
--
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