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

Franz Philipp Moser philipp.moser at chello.at
Mon Aug 20 11:05:26 CEST 2007


Franz Philipp Moser schrieb:
> 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.
> 

To clarify this posting I included "modules/helma/Html.js" in Global 
onStart() and than used it in the main_action.

This worked out of the box.

cu Philipp


More information about the Helma-user mailing list