Thanks to Robert for picking up the JIRA for the hardcoded "Dismiss all"
label (https://issues.apache.org/jira/browse/TAP5-1633)

I created another one for a more customizable duration of transient messages
(https://issues.apache.org/jira/browse/TAP5-1640)

--
Dusko

On Wed, Sep 7, 2011 at 8:30 PM, Dusko Jovanovski <[email protected]> wrote:

> Hello, Igor
>
> I tried the alert method, but it doesn't offer any way to define the
> duration of the shown alert when using Duration.TRANSIENT, instead this
> duration is hardcoded at 15sec. I personally find this a bit too long, and
> would like to customize it for each shown alert separately. This seems easy
> enough to implement, and I'm sure many would find it useful.
>
> Dusko
>
>
> On Wed, Sep 7, 2011 at 5:59 PM, Igor Drobiazko 
> <[email protected]>wrote:
>
>> Hi Dusko,
>>
>>
>> On Wed, Sep 7, 2011 at 4:43 PM, Dusko Jovanovski <[email protected]>
>> wrote:
>>
>> > Hello, the current implementation of AlertManager and the whole alerts
>> > system is great, with two limitations:
>> >
>> > There is no clean way to:
>> >
>> >   - define the duration of the shown message
>> >
>>
>> Did you try the alert method?
>>
>>
>> https://builds.apache.org/job/tapestry-trunk-freestyle/javadoc/org/apache/tapestry5/alerts/AlertManager.html#alert(org.apache.tapestry5.alerts.Duration
>> ,
>> org.apache.tapestry5.alerts.Severity, java.lang.String)
>>
>>
>> >   - change/translate the Dismiss all label, it's currently hardcoded in
>> >   t5-alerts.js
>> >
>>
>> Please fill a JIRA issue for that.
>>
>> >
>> > I'm running 5.3-beta2. Is this planned to be included further on, before
>> > the
>> > release of 5.3 or should I open a JIRA for this?
>> >
>>
>>
>>
>> --
>> Best regards,
>>
>> Igor Drobiazko
>> http://tapestry5.de
>>
>
>

Reply via email to