Mhh... there is no build file. Mike
---------- Original Message ---------------------------------- From: Torsten Curdt <[EMAIL PROTECTED]> Reply-To: [email protected] Date: Mon, 8 Oct 2007 22:28:41 +0200 >A suggestion: try to use the javaflow ant task to rewrite that class >and replace the original from the javaflow block. Then report back :) > >cheers >-- >Torsten > >On 08.10.2007, at 10:18, Michel Erard wrote: > >> Good Morning, >> >> I've tested with the version in trunk and with the examples I've >> the same error. So I think there is some developpment in progress now. >> >> cheers >> >> Mike >> >> >> ---------- Original Message ---------------------------------- >> From: Torsten Curdt <[EMAIL PROTECTED]> >> Reply-To: [email protected] >> Date: Thu, 4 Oct 2007 20:19:02 +0200 >> >>> Hey, Mike >>> >>> I haven't used this for a while. In theory you would not have to care >>> about the invoker. >>> Are you just trying to get the examples working? ...and they don't? >>> >>> cheers >>> -- >>> Torsten >>> >>> On 02.10.2007, at 09:33, Michel Erard wrote: >>> >>>> thanks for your hint Torsten, >>>> >>>> I've now added: >>>> >>>> <map:classloader factory- >>>> role="org.apache.cocoon.classloader.ClassLoaderFactory/reloading"> >>>> <class-dir src="WEB-INF/classes"> >>>> <store >>>> class="org.apache.cocoon.components.flow.java.JavaflowResourceStore" >>>> / >>>>> >>>> </class-dir> >>>> <include-classes >>>> pattern="org.apache.cocoon.forms.flow.java.FormInstance" /> >>>> <include-classes >>>> pattern="org.apache.cocoon.components.flow.java.**" /> >>>> <include-classes >>>> pattern="org.apache.cocoon.components.flow.java.AbstractContinuable" >>>> / >>>>> >>>> </map:classloader> >>>> >>>> to my Sitemap. >>>> >>>> Now, I've the error: >>>> >>>> java.lang.IllegalStateException: stack corruption. Is class >>>> org.apache.cocoon.components.flow.java.Invoker instrumented for >>>> javaflow? >>>> at org.apache.commons.javaflow.bytecode.StackRecorder.execute >>>> (StackRecorder.java:102) >>>> at org.apache.commons.javaflow.Continuation.continueWith >>>> (Continuation.java:170) >>>> at org.apache.commons.javaflow.Continuation.startWith >>>> (Continuation.java:129) >>>> at >>>> org.apache.cocoon.components.flow.java.JavaInterpreter.callFunction >>>> (JavaInterpreter.java:152) >>>> at >>>> org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode. >>>> in >>>> voke(CallFunctionNode.java:109) >>>> >>>> >>>> do I have to add this Invoker? Why? >>>> >>>> Thanks, >>>> >>>> Mike >>>> >>>> ---------- Original Message ---------------------------------- >>>> From: Torsten Curdt <[EMAIL PROTECTED]> >>>> Reply-To: [email protected] >>>> Date: Sun, 30 Sep 2007 04:22:57 +0200 >>>> >>>>> Hey Mike >>>>> >>>>> You need to make sure the classes get rewritten, too. I suggest you >>>>> have a look into the COB-INF/sitemap.xmap of the samples. >>>>> >>>>> http://svn.apache.org/repos/asf/cocoon/trunk/blocks/cocoon- >>>>> javaflow/ >>>>> cocoon-javaflow-sample/src/main/resources/COB-INF/sitemap.xmap >>>>> >>>>> cheers >>>>> -- >>>>> Torsten >>>>> >>>>> On 21.09.2007, at 14:28, cocoon.erard wrote: >>>>> >>>>>> ok, I'm starting the application with jetty out of maven. >>>>>> >>>>>> The code is: >>>>>> >>>>>> public void showPage() { >>>>>> >>>>>> FormInstance form = new FormInstance("pages/forms/ >>>>>> search_model.xml"); >>>>>> SearchTO to = new SearchTO(); >>>>>> >>>>>> form.createBinding("pages/bindings/searchBinding.xml"); >>>>>> form.load(to); >>>>>> form.show("Search.form"); >>>>>> >>>>>> >>>>>> //more code processed without waiting on the form >>>>>> ... >>>>>> >>>>>> } >>>>>> >>>>>> in the sitemap: >>>>>> >>>>>> <map:flow language="java"> >>>>>> <map:script src="ch.smitch.flow.MainFlow"/> >>>>>> >>>>>> </map:flow> >>>>>> ... >>>>>> <map:act type="parameter-loader" /> >>>>>> <map:call function="showPage"></map:call> >>>>>> ... >>>>>> >>>>>> ---------- Original Message ---------------------------------- >>>>>> From: Torsten Curdt <[EMAIL PROTECTED]> >>>>>> Reply-To: [email protected] >>>>>> Date: Fri, 21 Sep 2007 14:14:17 +0200 >>>>>> >>>>>>> Sounds like the code instrumentation is not happening. For >>>>>>> further >>>>>>> help you will need to provide some more details. >>>>>>> >>>>>>> cheers >>>>>>> -- >>>>>>> Torsten >>>>>>> >>>>>>> On 21.09.2007, at 14:10, cocoon.erard wrote: >>>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> I'm using cocoon 2.2 and replaced all my javascript flow with >>>>>>>> javaflow. Now I've the problem, that the code does not stop >>>>>>>> in the >>>>>>>> sendPageAndWait for Forms. >>>>>>>> >>>>>>>> Any hints? >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> Mike >>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________ >>>>>>>> QuickLine WebMail - http://www.QuickLine.com >>>>>>>> >>>>>>>> ---------------------------------------------------------------- >>>>>>>> -- >>>>>>>> -- >>>>>>>> - >>>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>>>> >>>>>>> >>>>>>> >>>>>>> ----------------------------------------------------------------- >>>>>>> -- >>>>>>> -- >>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ____________________________________________ >>>>>> QuickLine WebMail - http://www.QuickLine.com >>>>>> >>>>>> ------------------------------------------------------------------ >>>>>> -- >>>>>> - >>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------- >>>>> -- >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>> >>>>> >>>> >>>> >>>> >>>> ____________________________________________ >>>> QuickLine WebMail - http://www.QuickLine.com >>>> >>>> -------------------------------------------------------------------- >>>> - >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> >> >> ____________________________________________ >> QuickLine WebMail - http://www.QuickLine.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > ____________________________________________ QuickLine WebMail - http://www.QuickLine.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
