What's the status of the wiki?
2008-08-01 01:57:22 GMT
Has the wiki at http://wiki.apache.org/cocoon/ been abandoned by 2.2? There still seems to be some content added sporadically but only for 2.1. -- -- Stephen Rosman
Has the wiki at http://wiki.apache.org/cocoon/ been abandoned by 2.2? There still seems to be some content added sporadically but only for 2.1. -- -- Stephen Rosman
I have a webapp I've been using since the coccon 2.1x era.
It still works with 2.2.1. It is a simple one page cform
that uses ajax.
But today, I felt the need to enable exception handling
in the sitemap. As soon as I did, I saw that the webapp
was throwing an exception and it stopped working:
"Cannot create a session after the response has been committed"
If I remove the exception handler, the program appears to work.
It seems I've been doing something wrong for years without knowing it.
I tore apart the flowscript and found that the error was
caused when there were global variables in the script.
As soon as I made them all local, the problem went away.
I understand that somehow global variables in flowscript
are attached to the session. But nowhere in my program is
the session handled explicity. But evidently, I should be
doing something else to make this work. I do need the
variables to be global and attached to the session.
Here is an entire flowscript that demonstrates the problem:
WORKS:
cocoon.load("servlet:forms:/resource/internal/flow/javascript/Form.js") ;
(Continue reading)Hi, Am Sonntag 27 Juli 2008 11:42:30 schrieb Markus Brückner: > Google etc. are not really helping. I found some people having the same > problem, but no answer. The list archive was no help either (at least going > back until january). So I running out of options here: what is this > $Proxy86 object and why do I get it when trying to look up the EJB? anybody? Hm, I've done some more research (i.e. mostly asking my local Cocoon expert) and come to the conclusion, that this might be more of a Spring issue, than a Cocoon one. Am I the only one running into this problem with Cocoon (which would support my theory, that I do something simple very wrong) or is this generally known and therefore not worth speaking about? So long, Markus, still a bit puzzled
On Thursday 31 July 2008 20:11:10 Robin Wyles wrote: > Maybe you could use the LinkRewriterTransformer [1] to achieve this > along with your own custom InputModule to add the locale parameter. Oh, OK. Actually, I looked at that but realised that I didn't quite understand what it did, I thought it more did something like mod_rewrite, i.e. rewrite incoming URLs. > That said, the LinkRewriterTransformer looks up the InputModule based > on the url scheme, so you would have to use a custom scheme (e.g. > locale:) for all the 'schemeless' (e.g. "/path/to/some/page.html") > links you wanted rewritten. Hmmmm, OK. I'll look into it, but I think I found an XSLT way that sort of works too. Kind regards Kjetil Kjernsmo -- -- Senior Knowledge Engineer Direct: +47 6783 1136 | Mobile: +47 986 48 234 Email: kjetil.kjernsmo <at> computas.com Web: http://www.computas.com/ | SHARE YOUR KNOWLEDGE | Computas AS Vollsveien 9, PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47 6783 1001(Continue reading)
Hugh Sparks pisze: > I read a few posts that suggest that this is impossible, but I decided > to try the flowscript debugger anyway. I'm running under Tomcat, so > I copied the file cocoon-flowscipt.xconf from the cocoon 2.2 svn truck > to this directory in my Tomcat installation: > > webapps\cocoon\WEB-INF\classes\META-INF\cocoon\avalon > > I edited the file to enable the debugger and started Tomcat. > When I ran my cocoon flowscript application, the debugger > window appeared, but the application crashes. Here are some > highlights from the traceback: > > description The server encountered an internal error () > that prevented it from fulfilling this request. > > org.apache.avalon.framework.service.ServiceException: > Exception during lookup of component with > 'org.apache.cocoon.components.flow.Interpreter/javascript'. > (Key='AvalonServiceManager') > > org.springframework.beans.factory.BeanCreationException: > Error creating bean with name > 'org.apache.cocoon.components.flow.Interpreter/javascript': > Initialization of bean failed; nested exception is > org.springframework.beans.factory.BeanCreationException: > Unable to initialize Avalon component with role > org.apache.cocoon.components.flow.Interpreter/javascript; > nested exception is java.lang.IllegalStateException >(Continue reading)
Hello,
After a lot of debugging and other things, i have found a new problem with
FF3.
In FF2, IE6, IE7 it works fine but not in FF3.
*******************************
if (!this.xmlHttp) {
this.xmlHttp = Sarissa.getXmlHttpRequest();
}
this.xmlHttp.open("HEAD", resourceName, false);
this.xmlHttp.send(null);
return (this.xmlHttp.status == 200 && this.xmlHttp.responseXML);
*******************************
the resourceName is "/dy/browse/bv/nr500/nr500_2008/loc/n0001.xml".
the statusText is "OK" and status 200.
i have no responseXML.
something seems strange is that when the this.xmlHttp.open is done, i have
the this.xmlHttp.statusText=this.xmlHttp.channel
all seems to be fine but i get nothing in FF3 (responseXML=null).
Is there any idea from where is the problem and how to fix it?
Thanks,
Alexandre
(Continue reading)
I’m trying to pass the parameters from the database to the repeater in the form.
var repeater=form.getChild("test");
for (var i = 0; i < comp_in_composition.size(); i++) {
var row = repeater.getRow(i);
var type = row.getChild("type");
var amount = row.getChild("amount");
var select = row.getChild("select");
type.setValue(comp_in_composition.get(i).get("type"));
amount.setValue(comp_in_composition.get(i).get("amount"));
select.setValue(false);
}
But, I’ve got an exception: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
What’s the problem? How to pass this params to the form repeater?
On 24.07.2008 00:30, student csu wrote:* Question: how to debug xslt in cocoon framework .I am using Jbuider .just
let me know how to set up the breakpoints for xslt in jbuilder
There is hardly anything available allowing you to debug XSLT. You probably need one of the commercial XML editors.If you just want to know which files are combined in a pipeline by aggregation or whatever (I don't quite get what really happens in your case) just raising the log level of Cocoon might help. If you want to see the actual content you might find the LogTransformer useful. It might be also helpful to show us your pipeline and explain what you are after.cocoon framework .I am using Jbuider .just let me know how to set up the
breakpoints for xslt in jbuilder as there is some important xml file that
combines with my xslt and display but I am not aware of among so many
important which xml it is combining .so I will be thankful to you just let
me know how to debug xsl using in jbuilder2008 .
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe <at> cocoon.apache.org
For additional commands, e-mail: users-help <at> cocoon.apache.org
I’m trying to pass the parameters from the database to the repeater in the form.
var repeater=form.getChild("test");
for (var i = 0; i < comp_in_composition.size(); i++) {
var row = repeater.getRow(i);
var type = row.getChild("type");
var amount = row.getChild("amount");
var select = row.getChild("select");
type.setValue(comp_in_composition.get(i).get("type"));
amount.setValue(comp_in_composition.get(i).get("amount"));
select.setValue(false);
}
But, I’ve got an exception: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
What’s the problem? How to pass this params to the form repeater?
Hi,I wanted to know how to increase the log level of cocoon .I am using jbuilder 2008 .Please tell me the step to go for increasing the log level of cocoon.Thanks ,su
On Thu, Jul 24, 2008 at 9:35 AM, Joerg Heinicke <joerg.heinicke <at> gmx.de> wrote:On 24.07.2008 00:30, student csu wrote:* Question: how to debug xslt in cocoon framework .I am using Jbuider .just
let me know how to set up the breakpoints for xslt in jbuilder
There is hardly anything available allowing you to debug XSLT. You probably need one of the commercial XML editors.If you just want to know which files are combined in a pipeline by aggregation or whatever (I don't quite get what really happens in your case) just raising the log level of Cocoon might help. If you want to see the actual content you might find the LogTransformer useful. It might be also helpful to show us your pipeline and explain what you are after.cocoon framework .I am using Jbuider .just let me know how to set up the
breakpoints for xslt in jbuilder as there is some important xml file that
combines with my xslt and display but I am not aware of among so many
important which xml it is combining .so I will be thankful to you just let
me know how to debug xsl using in jbuilder2008 .
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe <at> cocoon.apache.org
For additional commands, e-mail: users-help <at> cocoon.apache.org
RSS Feed20 | |
|---|---|
14 | |
39 | |
69 | |
42 | |
64 | |
117 | |
37 | |
22 | |
12 | |
23 | |
8 | |
35 | |
34 | |
138 | |
7 | |
29 | |
20 | |
61 | |
82 | |
62 | |
32 | |
50 | |
21 | |
44 | |
61 | |
28 | |
43 | |
40 | |
48 | |
40 | |
50 | |
85 | |
19 | |
36 | |
51 | |
69 | |
57 | |
78 | |
73 | |
40 | |
88 | |
116 | |
91 | |
187 | |
59 | |
100 | |
110 | |
145 | |
129 | |
92 | |
173 | |
159 | |
74 | |
92 | |
265 | |
250 | |
310 | |
444 | |
377 | |
213 | |
336 | |
437 | |
343 | |
216 | |
165 | |
228 | |
294 | |
210 | |
274 | |
362 | |
303 | |
422 | |
330 | |
434 | |
316 | |
444 | |
262 | |
278 | |
354 | |
399 | |
443 | |
650 | |
461 | |
415 | |
303 | |
688 | |
550 | |
688 | |
420 | |
533 | |
740 | |
644 | |
663 | |
605 | |
880 | |
774 | |
966 | |
774 | |
820 | |
767 | |
696 | |
1183 | |
933 | |
1018 | |
940 | |
1479 | |
1341 | |
1368 | |
1595 | |
1518 | |
1575 | |
1673 | |
1222 | |
1512 | |
1686 | |
1074 | |
1297 | |
514 | |
1462 | |
1362 | |
1425 | |
1291 | |
1254 | |
1524 | |
1183 | |
1233 | |
1429 | |
1394 | |
1602 | |
1524 | |
1674 | |
1482 | |
1715 | |
963 | |
8 | |
1 | |
2 | |
1 | |
2 | |
3 |