You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Michael Lucas-Smith <mi...@wizardis.com.au> on 2003/12/28 23:37:39 UTC

Re[6]: Flowscript and POST's

Thursday, December 25, 2003, 11:26:44 PM, you wrote:


GC> Michael Lucas-Smith wrote:
>> I grabbed 2003/12/23, 23:12:58 cvs snapshot of 2.1.4-dev, but I got
>> the error that createObject is not a function. Is there a newer
>> version I need to get?

GC> No, that should do.
GC> Check if your
GC> org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon contains a
GC> jsFunction_createObject Method and do a clean build.

I checked the source and it definitely contains
jsFunction_createObject. So I wiped the build directory and ran
build.sh again, checked for any FOM*class files and found only the new
ones recently made from the build, started it up and it crashed again
in the same fashion.

I'm starting to wonder if it's to do with the flow interpreter I'm
using?

<map:components>
                <map:flow-interpreters default="JavaScript"/>
</map:components>

That's what I'm using. Is there any more required to get Cocoon to use
this new behaviour?

Cheers,
Michael.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Wrong .class files (was: Flowscript and POST's)

Posted by Michael Lucas-Smith <mi...@wizardis.com.au>.
Monday, December 29, 2003, 10:23:26 AM, you wrote:

MLS> I believe I'm missing something very very obvious with the build.

Very obvious indeed. I was hitting the wrong URL!!

Back to trying out the new FOM functions now.. :)

Cheers,
Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Wrong .class files (was: Flowscript and POST's)

Posted by Michael Lucas-Smith <mi...@wizardis.com.au>.
Monday, December 29, 2003, 9:59:18 AM, you wrote:

I believe I'm missing something very very obvious with the build.

After running ./build.sh, the build/ directory contains a
cocoon-2.1.4-dev directory. I moved this directory out of the build
directory and started up again and everything continued to run.

This indicates that those class files were not being used, even though
COCOON_HOME is set to the directory that has the build directory in
it.

What step am I missing to have Cocoon use the correct, newly built
.class files?

Cheers,
Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re[2]: Flowscript and POST's

Posted by Michael Lucas-Smith <mi...@wizardis.com.au>.
Monday, December 29, 2003, 9:49:15 AM, you wrote:

Cheers Chris,

The default was set to JavaScript, but the actual flow entry was using
javascript, so that appears not to be my problem.

<map:flow language="javascript">
          <map:script src="flow/wizdom.js"/>
</map:flow>

I changed my default to javascript just in case, but it didn't resolve
the issue.

Cheers,
Michael.

CO> You're using the wrong flow interpreter. The correct one is "javascript"
CO> not "JavaScript". The latter is obsolete and not supported (and should
CO> be removed).



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Flowscript and POST's

Posted by Christopher Oliver <re...@verizon.net>.
You're using the wrong flow interpreter. The correct one is "javascript" 
not "JavaScript". The latter is obsolete and not supported (and should 
be removed).

Regards,

Chris

Michael Lucas-Smith wrote:

>Thursday, December 25, 2003, 11:26:44 PM, you wrote:
>
>
>GC> Michael Lucas-Smith wrote:
>  
>
>>>I grabbed 2003/12/23, 23:12:58 cvs snapshot of 2.1.4-dev, but I got
>>>the error that createObject is not a function. Is there a newer
>>>version I need to get?
>>>      
>>>
>
>GC> No, that should do.
>GC> Check if your
>GC> org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon contains a
>GC> jsFunction_createObject Method and do a clean build.
>
>I checked the source and it definitely contains
>jsFunction_createObject. So I wiped the build directory and ran
>build.sh again, checked for any FOM*class files and found only the new
>ones recently made from the build, started it up and it crashed again
>in the same fashion.
>
>I'm starting to wonder if it's to do with the flow interpreter I'm
>using?
>
><map:components>
>                <map:flow-interpreters default="JavaScript"/>
></map:components>
>
>That's what I'm using. Is there any more required to get Cocoon to use
>this new behaviour?
>
>Cheers,
>Michael.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org