Hi I tried to use the action in the my application based on flow (Cocoon 2.1.4). I have read
mail archive and have found, that it can be made. http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=102560174824115&w=2 However it turns out nothing.
I tried differently. cocoon.act("myaction",
"", {"p1":"v1", "p2":"v2"}); act("myaction ",
"", {"p1":"v1", "p2":"v2"}); cocoon.callAction("myaction ",
"", {"p1":"v1", "p2":"v2"}); callAction("myaction ",
"", {"p1":"v1", "p2":"v2"}); Always I receive an
exception, that function is inaccessible. org.apache.avalon.framework.CascadingRuntimeException: callAction is not a
function. org.apache.avalon.framework.CascadingRuntimeException: "callAction" is
not defined org.apache.avalon.framework.CascadingRuntimeException: "act" is not defined. org.apache.avalon.framework.CascadingRuntimeException: act is not a function In examples of a cocoon I
also not our use of the given function though it is declared in the
documentation. Whether
somebody can help me something. In case use the action in
flow is impossible, whether somebody can prompt that as better to receive from
flow access to files on a “correct coccon”
way. In the action I used SourceResolver for this task. Can I use SourceResolver in flowscript? Thanks Leonid Chumanov |
- Re: can I use action in cocoon flowscript ? Chumahov Leonid
- Re: can I use action in cocoon flowscript ? Johannes Textor
- Re: can I use action in cocoon flowscript ? Leszek Gawron