cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: Blocks, Flow and Dependencies [was RE: Splitting xconf files step 2: the sitemap]
Date Tue, 11 Jan 2005 10:07:22 GMT
Torsten Curdt wrote:
>> that's the goal. But with imports in <map:flow/> you will get into  
>> trouble:
>>
>> <map:flow>
>>   <map:script src="block:blockA/flow.js"/>
>>   <map:script src="block:blockB/flow.js"/>
>>   <map:script src="flow.js"/>
>> </map:flow>
>>
>> In this case print(blockBFunc()); will return "A".
> 
> 
> k ...then I did understand correctly.
> the "callFunction" proposal got me
> a bit off the track ;)
> 
>>> But there is only one helper() method per block!?
>>
>>
>>
>> Yes. Therefore we need something more sohpisticated than imports.
> 
> 
> ok ...what version of javascript does
> rhino implement? I could not find that
> information...

http://www.mozilla.org/rhino/overview.html
(in trunk we use Rhino 1.6pre1)

-- 
Reinhard

Mime
View raw message