You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Joshua Jackson <jo...@gmail.com> on 2008/03/21 06:11:14 UTC
T5: Display action message
Dear all,
How do we implement action message in T5? I want to display a message
after an event occur, whether on success or on failure. Can anyone
give me and insights on this. I've searched the document for the
component reference but I could not find it.
Thank you in advance
--
Let's show the world what we've got.
Blog: http://joshuajava.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: Display action message
Posted by Angelo Chen <an...@yahoo.com.hk>.
Hi Joshua,
if you use submit then you can specify a zone in the form, here is untested
code:
.tmp:
<t:form t:id="test" zone="myzone">
</t:form>
<t:zone t:id="myZone"/>
<t:block id="myBlock">
message goes here...
</t:block>
.java:
@Inject
private Block myBlock;
Object onSuccess {
return myBlock;
}
Joshua Jackson-3 wrote:
>
> I don't understand.
>
> Can you please give me a code snippet? Because I don't use ActionLink
> to submit form, I use Submit button.
>
> Thanks in advance
>
> O
>
--
View this message in context: http://www.nabble.com/T5%3A-Display-action-message-tp16193997p16218377.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: Display action message
Posted by Joshua Jackson <jo...@gmail.com>.
I don't understand.
Can you please give me a code snippet? Because I don't use ActionLink
to submit form, I use Submit button.
Thanks in advance
On 3/22/08, Angelo Chen <an...@yahoo.com.hk> wrote:
>
> how about let the actionLink pointing to a zone?
>
>
--
Let's show the world what we've got.
Blog: http://joshuajava.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: Display action message
Posted by Angelo Chen <an...@yahoo.com.hk>.
how about let the actionLink pointing to a zone?
Joshua Jackson-3 wrote:
>
> Dear all,
>
> How do we implement action message in T5? I want to display a message
> after an event occur, whether on success or on failure. Can anyone
> give me and insights on this. I've searched the document for the
> component reference but I could not find it.
>
> Thank you in advance
>
> --
> Let's show the world what we've got.
>
> Blog: http://joshuajava.wordpress.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/T5%3A-Display-action-message-tp16193997p16214814.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org