Hi Hasan,

It sounds like the last element is itself a list. last should return
the same as reverse.head.

Cheers,
Reto

On Wed, Nov 24, 2010 at 3:33 PM, Hasan Hasan <[email protected]> wrote:
> Dear all
>
> We have within an ssp a call to the render function
>
> render(res/dam("hasFilterPanel"), "panel")).last
>
> The invocation of render(res/dam("hasFilterPanel"), "panel")) returns a List
>
> List(<div id="filter-tab">
> <h3>Digital Asset Filter</h3>
>       .... (deleted)
> </div>,
> )
>
> Note the comma before the closing bracket. It seems there is an empty value
> after the comma, since retrieving the "last" item of the list results in an
> empty element.
>
> Workaround at the moment is to use head instead of last.
>
> cheers
> hasan
>

Reply via email to