incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <hirsch.d...@gmail.com>
Subject Re: Problem with [ESME-221]
Date Fri, 03 Sep 2010 13:02:11 GMT
Fixed it as well - it is now set at 3 secs

On Fri, Sep 3, 2010 at 2:55 PM, Imtiaz Ahmed H E <in.imtiaz@gmail.com> wrote:
> Tried it. It works. The fade-out is too soon after display though with the
> current values used...
>
> Imtiaz
>
> ----- Original Message ----- From: "Richard Hirsch" <hirsch.dick@gmail.com>
> To: <esme-dev@incubator.apache.org>
> Sent: Friday, September 03, 2010 6:07 PM
> Subject: Re: Problem with [ESME-221]
>
>
> On Fri, Sep 3, 2010 at 2:33 PM, Imtiaz Ahmed H E <in.imtiaz@gmail.com>
> wrote:
>>
>> I found,
>>
>> comment out this line as follows:
>>
>> //import TimeHelpers.intToTimeSpanBuilder
>>
>> and use
>>
>> LiftRules
>> .noticesAutoFadeOut
>> .default
>> .set(Vendor((noticeType:NoticeType.Value) => Full((1 seconds, 2
>> seconds))))
>
> Thanks.
>
>>
>>
>> It compiles/builds successfully.
>>
>> Don't know if it gets you what you want !!
>>
>> Don't know if it's related...but teh API tests ran very slow after the
>> change.
>
> Strange - shouldn't have any impact on our tests inasmuch as it is
> purely a UI change. It just makes the lift error warning disappear
> automatically instead of requiring a page refresh.
>
>>
>> I could execute add new pool on the web ui.
>>
>> Imtiaz
>>
>> ----- Original Message ----- From: "Richard Hirsch"
>> <hirsch.dick@gmail.com>
>> To: <esme-dev@incubator.apache.org>
>> Sent: Friday, September 03, 2010 5:32 PM
>> Subject: Problem with [ESME-221]
>>
>>
>>> I'm trying to do a quick change (I just added one line to Boot.scala)
>>> but I get a strange error.
>>>
>>> Here is the line
>>>
>>> LiftRules.noticesAutoFadeOut.default.set((noticeType:
>>> NoticeType.Value) => Full((1 seconds, 2 seconds)))
>>>
>>> and here is the error
>>>
>>> INFO] Compiling 1 source files to
>>> D:\apache\esme_patch\trunk\server\target\clas
>>> es
>>> WARNING]
>>> D:\apache\esme_patch\trunk\server\src\main\scala\bootstrap\liftweb\Boo
>>> .scala:126: error: type mismatch;
>>> WARNING] found : (net.liftweb.http.NoticeType.Value) =>
>>> net.liftweb.common.F
>>> ll[(net.liftweb.util.TimeHelpers.TimeSpan,
>>> net.liftweb.util.TimeHelpers.TimeSpa
>>> )]
>>> WARNING] required:
>>> net.liftweb.util.Vendor[(net.liftweb.http.NoticeType.Value)
>>> => net.liftweb.common.Box[(net.liftweb.util.Helpers.TimeSpan,
>>> net.liftweb.util.
>>> elpers.TimeSpan)]]
>>> WARNING] LiftRules.noticesAutoFadeOut.default.set((noticeType:
>>> NoticeType.
>>> alue) => Full((1 seconds, 2 seconds)))
>>> WARNING]
>>> ^
>>> WARNING] one error found
>>>
>>> Am I missing an import?
>>>
>>> D.
>>
>>
>
>

Mime
View raw message