cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <>
Subject Forms migration problems
Date Thu, 03 May 2007 09:31:54 GMT
Felix Knecht napisaƂ(a):
> Felix Knecht schrieb:
> Could it be that there's another type?
> Looking at the guide I see a replacement for Forms.js like this:
> resource://org/apache/cocoon/forms/flow/javascript/Form.js
> servlet:forms:/system/flow/javascript/Form.js
> Looking at the samples code (flow scripts) it looks different
> cocoon.load("servlet:forms:/resource/internal/flow/javascript/Form.js");

Yes, you are right. I changed that location after writing guide and
forgot to update it afterwards.
It's corrected now.
> Using any of the two variants in my own flowscripts gives me an error:
> "Must be used in a block context

Can you show configuration of servlet bean from your block? It's located
at src/main/resources/META-INF/cocoon/spring. I believe problem is there.

Grzegorz Kossakowski

View raw message