You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Fanzhen <fa...@gmail.com> on 2010/09/07 06:33:08 UTC

Friendly message headache!!!

  hey friends get a stupid question here:

     want to return a friendly message to the current page after a event 
link or form submit !!!

    but tapestry do a redirect operation ,and  couldn't get _msg field 
which I set in the end of event method!!

   I try set a @persist on the _msg field,this time _msg can really be 
got, but the stupid thing is it always show

when refresh the page!!!

could anyone tell me a good way to show friendly message to my users!! 
such as _form.record("xxxxxxxxxxxxxx");

thanks in advance.

Fanzhen


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


Re: Friendly message headache!!!

Posted by ningdh <ni...@gmail.com>.
Just persist flash.

@Persist("flash")

----- Original Message ----- 
From: "Fanzhen" <fa...@gmail.com>
To: <us...@tapestry.apache.org>
Sent: Tuesday, September 07, 2010 12:33 PM
Subject: Friendly message headache!!!


>  hey friends get a stupid question here:
> 
>     want to return a friendly message to the current page after a event 
> link or form submit !!!
> 
>    but tapestry do a redirect operation ,and  couldn't get _msg field 
> which I set in the end of event method!!
> 
>   I try set a @persist on the _msg field,this time _msg can really be 
> got, but the stupid thing is it always show
> 
> when refresh the page!!!
> 
> could anyone tell me a good way to show friendly message to my users!! 
> such as _form.record("xxxxxxxxxxxxxx");
> 
> thanks in advance.
> 
> Fanzhen
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
>