Re: File upload

2008-08-04 Thread Derek Hohls
Not sure about the background processing part: it seems to me that your browser *is* still involved in the process ie. it is doing the sending while the server is doing the receiving... but this may help ito keeping the users informed: http://blog.fiveone.org/2006/11/good-progress.html http://aja

Re: Can anyone let me know how to start build simple cocoon project .I am using jbuilder2008

2008-08-04 Thread Derek Hohls
Why not try the "getting started"? http://cocoon.apache.org/2.2/1159_1_1.html and then, as you encounter errors or problems, post them here so you can get help on specific issues. There *is* a lot to digest in Cocoon - but, like eating an elephant, best done one bite (byte?) at a time. >>> On 20

Re: Cocoon 2.2 flowscipt debugger possible?

2008-08-04 Thread Hugh Sparks
> Robin Wyles writes: [...] So my question should the FlowScript debugger really be enabled by default for dev mode? Grzegorz Kossakowski replies: Could you elaborate on these issues you face? If there are some serious problems then I think we'll switch it off again. Actually, you can do i

Re: Migrating Cocoon 2.1 project to Cocoon 2.2

2008-08-04 Thread Hugh Sparks
On Jul 27, 2008, at 4:30 PM, Barbara Slupik wrote: In cocoon-2.2 everything runs as blocks [...] Vadim Gritsenko replies: I have to point out that it's not quite true and in reality there are other alternatives [1]. [1] http://blog.reverycodes.com/archives/45.html Vadim's paper is very

Re: Binding on different xml paths

2008-08-04 Thread Barbara Slupik
Can you please explain it once again? I don't really understand your problem. Barbara On 28 Jul, 2008, at 6:00 pm, Héléna Tanguy wrote: Hello, I'm working on a cocoon form with binding on xml document. Now everything works correctly. But I must make an evolution to this form, the binding

Re: Selection list from multivaluefield

2008-08-04 Thread Barbara Slupik
You can do something like this: * definition * template * binding * object private String[] myField; Set values in myField array and they will be automatically selected on the screen. Barbara On 4 Aug, 2008, at 1:44 pm, Gary Larsen wrote: Hi All, Is it pos

Re: how to pass params from flowscript to the widget

2008-08-04 Thread Magsend
And how to execute function from the flowscript in the widget's tag? Magsend wrote: > Variable in the flowscript: var composition_id = > experiment.get("id_compositions"); And the widget: required="true"> Density base="decimal"/> var value = > this.value;I need to > pass "composition_id"

how to pass params from flowscript to the widget

2008-08-04 Thread Мария Григорьева
Variable in the flowscript: var composition_id = experiment.get("id_compositions"); And the widget: Density var value = this.value;

Can anyone let me know how to start build simple cocoon project .I am using jbuilder2008

2008-08-04 Thread student csu
Can anyone let me know how to start build simple cocoon project .I am using jbuilder2008m .I am getting so many errors that I feel like I should start from beginning I am missing some concept. thanks

File upload

2008-08-04 Thread Magnus Haraldsen Amundsen
Hi, When doing file upload, and the file is at such a size that the processing of the uploaded file takes quite some time, is it possible to let the user continue with the browsing while the server handles the processing in the background? IMPORTANT NOTICE: This message may contain confidenti

Re: ServletSource outside of pipeline

2008-08-04 Thread Reinhard Pötz
Robin Wyles wrote: On 4 Aug 2008, at 15:02, Reinhard Pötz wrote: Robin Wyles wrote: On 4 Aug 2008, at 13:24, Reinhard Pötz wrote: Reinhard Pötz wrote: Robin Wyles wrote: Hi, I have a component in my app that uses SourceResolver to create a ServletSource. When I call this component from w

Re: ServletSource outside of pipeline

2008-08-04 Thread Robin Wyles
On 4 Aug 2008, at 15:02, Reinhard Pötz wrote: Robin Wyles wrote: On 4 Aug 2008, at 13:24, Reinhard Pötz wrote: Reinhard Pötz wrote: Robin Wyles wrote: Hi, I have a component in my app that uses SourceResolver to create a ServletSource. When I call this component from within a pipeline,

Re: ServletSource outside of pipeline

2008-08-04 Thread Reinhard Pötz
Robin Wyles wrote: On 4 Aug 2008, at 13:24, Reinhard Pötz wrote: Reinhard Pötz wrote: Robin Wyles wrote: Hi, I have a component in my app that uses SourceResolver to create a ServletSource. When I call this component from within a pipeline, e.g. from flow or from a sitemap component all w

Re: ServletSource outside of pipeline

2008-08-04 Thread Robin Wyles
On 4 Aug 2008, at 13:24, Reinhard Pötz wrote: Reinhard Pötz wrote: Robin Wyles wrote: Hi, I have a component in my app that uses SourceResolver to create a ServletSource. When I call this component from within a pipeline, e.g. from flow or from a sitemap component all works well. Howev

Re: Migrating Cocoon 2.1 project to Cocoon 2.2

2008-08-04 Thread Vadim Gritsenko
On Jul 27, 2008, at 4:30 PM, Barbara Slupik wrote: In cocoon-2.2 everything runs as blocks. So you have to put your old application into one or more blocks and create cocoon-2.2 application to run them. I have to point out that it's not quite true and in reality there are other alternativ

Selection list from multivaluefield

2008-08-04 Thread Gary Larsen
Hi All, Is it possible to set a selection list from a multivaluefield definition on the same form? The multivaluefield definition would use binding (direction=load) to move the values into the form. Currently I'm using 2.1.9. Thanks! gary <>-

Re: ServletSource outside of pipeline

2008-08-04 Thread Reinhard Pötz
Reinhard Pötz wrote: Robin Wyles wrote: Hi, I have a component in my app that uses SourceResolver to create a ServletSource. When I call this component from within a pipeline, e.g. from flow or from a sitemap component all works well. However, when I call this method from a cron job I get th

Re: Firefox 3 and URL

2008-08-04 Thread Alexandre Mazouz
I use the plugin Firebug to debug my web application. I understand that Head request do not send response but Firebug shows me something else in FF2. I use Cocoon 2.1.7/Jetty/sarissa 0.9.4.4. Thanks, Alexandre Andy Stevens-2 wrote: > > 2008/8/4 Alexandre Mazouz <[EMAIL PROTECTED]>: >> >> Ok

Re: Cocoon 2.2 flowscipt debugger possible?

2008-08-04 Thread Robin Wyles
Hi Grzegorz, I get many errors like this: Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: No such child: 1 at java.awt.Container.getComponent(Container.java:280) at org.mozilla.javascript.tools.debugger.FileWindow.updateToolTip (SwingGui.java:2181)

Re: ServletSource outside of pipeline

2008-08-04 Thread Reinhard Pötz
Robin Wyles wrote: Hi, I have a component in my app that uses SourceResolver to create a ServletSource. When I call this component from within a pipeline, e.g. from flow or from a sitemap component all works well. However, when I call this method from a cron job I get the following NPE: jav

Re: Firefox 3 and URL

2008-08-04 Thread Andy Stevens
2008/8/4 Alexandre Mazouz <[EMAIL PROTECTED]>: > > Okay, > > My problem is now fixed. > > Instead of using HEAD request, i have used GET request : > > this.xmlHttp.open("GET", resourceName, false); > this.xmlHttp.send(null); > > I think that Firefox 2.0 and Firefox 3.0 have different behaviour of h

Re: Cocoon 2.2 flowscipt debugger possible?

2008-08-04 Thread Grzegorz Kossakowski
Robin Wyles pisze: Hi, Hi Robin, I just noticed this change this morning when I updated to latest trunk... lo and behold the flowscript debugger started up when I ran my app which seemed to cause all sorts of issues when testing in Eclipse, and using mvn jetty:run... So my question sho

Re: Cocoon 2.2 flowscipt debugger possible?

2008-08-04 Thread Robin Wyles
Hi, I just noticed this change this morning when I updated to latest trunk... lo and behold the flowscript debugger started up when I ran my app which seemed to cause all sorts of issues when testing in Eclipse, and using mvn jetty:run... So my question should the FlowScript debugger

ServletSource outside of pipeline

2008-08-04 Thread Robin Wyles
Hi, I have a component in my app that uses SourceResolver to create a ServletSource. When I call this component from within a pipeline, e.g. from flow or from a sitemap component all works well. However, when I call this method from a cron job I get the following NPE: java.lang.NullPointe

Re: Firefox 3 and URL

2008-08-04 Thread Alexandre Mazouz
Okay, My problem is now fixed. Instead of using HEAD request, i have used GET request : this.xmlHttp.open("GET", resourceName, false); this.xmlHttp.send(null); I think that Firefox 2.0 and Firefox 3.0 have different behaviour of how to handle request. For FF3 *In the case of this.xmlHttp.op