[Helma-user] Strange Problem when including modules/helma/Html.js

Franz Philipp Moser philipp.moser at chello.at
Mon Aug 20 10:46:34 CEST 2007


Hi,

tobias.schaefer at orf.at schrieb:
>> The ListRenderer.js is included in Global/onStart()
> 
> Did you try to include the ListRenderer right from the global scope (ie. not from within a global method)?

This worked. Why isn't it possible to do it in a Global Function but in 
Global Scope?

I included it in onStart and used it in the Root main_action like this:

{{{
function main_action() {
    Html.link({href: this.href()}, "Testlink");
}
}}}

This worked out of the box.

> t

cu Philipp


More information about the Helma-user mailing list