don't forget the typos! :)

On Wed, Aug 24, 2011 at 5:24 PM, Josh Canfield <joshcanfi...@gmail.com> wrote:
> I just happen to have thrown it in my self...
>
> Throw this in your template
>
>        <t:alerts/>
>
>  @Inject
>    private AlertManager alertManager;
>
> and
>
>        alertManager.info("Not to self, explore options.");
>
> This puts a message once. You can use the
>
>        alertManager.alert(Duration.TRANSIENT, Severity.WARN, "Not to
> self, explore options.");
>
> if you want it to disappear after a short time.
>
> I haven't played with messages through ajax yet.
>
> Josh
>
> On Wed, Aug 24, 2011 at 5:15 PM, TG <tapestry...@hotmail.com> wrote:
>> I would like to use the transient alert in the new T 5.3, but I could not
>> find any sample codes anywhere. Does it exists? Could someone kindly send me
>> a sample or two? :)
>>
>> TIA
>>
>> --
>> View this message in context: 
>> http://tapestry.1045711.n5.nabble.com/T-5-3-Alert-and-AlertManager-Tutorials-tp4732469p4732469.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>

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

Reply via email to