You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Leos Literak <li...@miger.netron.cz> on 2002/07/12 11:29:18 UTC
method not called with 1.3
Hi,
I tried to run my site with newest release
and I realized, that one part is not rendered
correctly. I didn't have time to invetsigate
deeply, but it seems to me, that method
(List, int, int) is not called.
I have such (ugly) construct:
#set($links=$UTIL.sublist($UTIL.sortByDateDescending($LINKS.get($server)),0,2))
I am able to to catch invoking of sortByDateDescending
with correct parameters in debugger. It works fine and
it returns List.
Then I set breakpoint in sublist(List,int,int)
but it is never reached.
I've seen similar problem description in the list,
is this the same problem?
Thanks
Leos
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: method not called with 1.3
Posted by "Geir Magnusson Jr." <ge...@adeptra.com>.
On 7/12/02 5:29 AM, "Leos Literak" <li...@miger.netron.cz> wrote:
> Hi,
>
> I tried to run my site with newest release
> and I realized, that one part is not rendered
> correctly. I didn't have time to invetsigate
> deeply, but it seems to me, that method
> (List, int, int) is not called.
>
> I have such (ugly) construct:
>
>
#set($links=$UTIL.sublist($UTIL.sortByDateDescending($LINKS.get($server)),0,2)>
)
>
> I am able to to catch invoking of sortByDateDescending
> with correct parameters in debugger. It works fine and
> it returns List.
>
> Then I set breakpoint in sublist(List,int,int)
> but it is never reached.
>
> I've seen similar problem description in the list,
> is this the same problem?
Yes, I think so.
I have been playing with this a little and didn't make it happen. I have a
long car ride today (and Sunday) so I'll try to nail it then.
--
Geir Magnusson Jr.
Research & Development, Adeptra Inc.
geirm@adeptra.com
+1-203-247-1713
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>