incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hasan Hasan <ha...@trialox.org>
Subject Bug in render function?
Date Wed, 24 Nov 2010 14:33:44 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message