UniqueTag error in CForm binding

2004-07-07 Thread Scott Yeadon
Hello, Does anyone know what the cocoon error "resource://org/apache/cocoon/forms/flow/javascript/Form.js, lin 164: Invalid Javascript value of type org.mozilla.javascript.UniqueTag" indicates in the context of CForm bindings. The line on the script indicates it is possibly something in the bin

RE: [WIKI] configuration tweaks

2004-07-07 Thread David Crossley
[EMAIL PROTECTED] wrote: > Guys, > > before I make any suggestions I'd like to express my thanks for all the hard > work. Thanks to you too for the constructive comments. > I prefer the current setup of the header to the previous one, although I > find the frontpage very 'busy', i.e. there are l

Re: [Wiki] recovering the old attachments

2004-07-07 Thread David Crossley
David Crossley wrote: > Upayavira wrote: > > David Crossley wrote: > > > > >I have grabbed a tar archive of the attachments from > > >the old wiki. Doing various grep on the server i have > > >compiled a table showing pages with attachments. > > > > > >http://wiki.apache.org/cocoon/MissingAttachme

Re: [Wiki] recovering the old attachments

2004-07-07 Thread David Crossley
Upayavira wrote: > David Crossley wrote: > > >I have grabbed a tar archive of the attachments from > >the old wiki. Doing various grep on the server i have > >compiled a table showing pages with attachments. > > > >http://wiki.apache.org/cocoon/MissingAttachments > > I'm surprised that attachments

Re: How to access Session/Request object inside Transformer class

2004-07-07 Thread Java Developer
Hey Jeorg, I apologize for my absentees, can you please suggest me some samples in getting FragmentExtractorTransformer + generator working with my app. Thanks. -S --- Joerg Heinicke <[EMAIL PROTECTED]> wrote: > On 02.07.2004 00:17, Java Developer wrote: > > > Hi All, > > > > I am writing a

Re: Minimal jar loading - block/jar list?

2004-07-07 Thread Joerg Heinicke
On 07.07.2004 22:42, Christian Rosenberger wrote: I have a question regarding the jars in WEB-INF/lib. Is there a list, which jars are needed by which block? I know the minimal webapp wiki documentation, but it isn't helpful regarding which jars I have to use and which jars I could remove. (comm

Minimal jar loading - block/jar list?

2004-07-07 Thread Christian Rosenberger
Hi! I have a question regarding the jars in WEB-INF/lib. Is there a list, which jars are needed by which block? I know the minimal webapp wiki documentation, but it isn't helpful regarding which jars I have to use and which jars I could remove. (commenting out all blocks at build time is not an

RE: Site navigation and cocoon pipelines, help!

2004-07-07 Thread H . vanderLinden
Thanks for replying. This sounds very interesting. I'll note this for further investigation. For the moment I've solved my problem with a simple javascript: I changed into This does exactly what I want AND it's clientside, so I don't have to do the entire pipeline processing. Bye, Helma > ---

[SQL]One sql transformer can only use one connection?

2004-07-07 Thread Christina
I tried to create a database and create a table in the new database. But it turned out the new table is created in the database "oldone", which is the first connection., even though I have changed the dburl in the second query to new database "newone" Would anybody tell me how to fix it exce

Accessign eXist via XMLDB problem

2004-07-07 Thread Nick
Hi everybody, I am trying to employ eXist via XML:DB. One of the requirements is to have eXist as a separate web application, so the option of integrating it into Cocoon is unavailable. As far as I understood it from available documentation for XMLDBTransformer and eXist, eXist driver has to be

Re: [Wiki] recovering the old attachments

2004-07-07 Thread Upayavira
David Crossley wrote: I have grabbed a tar archive of the attachments from the old wiki. Doing various grep on the server i have compiled a table showing pages with attachments. http://wiki.apache.org/cocoon/MissingAttachments Relevant stuff needs to be copied and renamed on the server. Please ease

Re: [CLI]what does cocoon command line do?

2004-07-07 Thread Upayavira
Copy lib/optional/servlet_2_2.jar into build/webapp/WEB-INF/lib. This should fix this problem. This is a known bug that needs to be fixed. Copying servlet.jar fixes it for now, although this is a workaround. Regards, Upayavira Christina wrote: > I just tried the cocoon command line, which,accord

Re: [WIKI] configuration tweaks

2004-07-07 Thread Upayavira
Joerg Heinicke wrote: Something completely different: Can the subject be made readable at http://marc.theaimsgroup.com/?t=10834263912&r=1&w=4 ?? This mean not using ISO, but US ASCII. Interesting point. I've forwarded this to infrastructure@, in hope that Leo picks up on it! Regards, Upaya

Re: [WIKI] configuration tweaks

2004-07-07 Thread Joerg Heinicke
Something completely different: Can the subject be made readable at http://marc.theaimsgroup.com/?t=10834263912&r=1&w=4 ?? This mean not using ISO, but US ASCII. Joerg On 07.07.2004 09:20, David Crossley wrote: I just switched on the "bang_meta" option. So if you do not like the way that Moi

Re: Spring Petstore new version

2004-07-07 Thread Ugo Cei
Il giorno 07/lug/04, alle 19:39, Christian Rosenberger ha scritto: Maybe someone will do a sample with JDO or with EJB, but at the moment, this is the only example for enterprise apps with Cocoon. There is support for OJB in the CVS of Spring and it will be included in the next release. So someon

Re: [Flowscript] Delete files

2004-07-07 Thread Leszek Gawron
Olivier Billard wrote: Hi cocooners ! I'm trying to delete a java.io.File flowscript, but delete is a reserved word in javascript, and I get the following error : "SyntaxError: missing name after . operator" calling getPath() works well, so my java.io.File is correct. Is there "yet another way" t

cocoon's transformer can not be found during load test

2004-07-07 Thread Igor Galperin
Title: cocoon's transformer can not be found during load test Hi. I am getting the error below on my demo environment with cocoon 212. I am using the Saxon transformer. When I am browsing the site in the normal way everything is working fine. During the load test the system at some point

CForms - binding map to repeater (urgent)

2004-07-07 Thread Peter Velychko
Hello users, I have a problem with binding JavaBean with the property as java.util.Map to repeater. Java class looks like the following: public class TestClass { ... private java.util.Map pgroupLangs; public java.util.Map getPgroupLangs() { return this.pgroupLangs; }

Re: Spring Petstore new version

2004-07-07 Thread Christian Rosenberger
Hi Ugo! Thanks again for your work. I think the Spring/Hibernate kombination one of the best solutions for develop enterprise web apps with Cocoon. Maybe someone will do a sample with JDO or with EJB, but at the moment, this is the only example for enterprise apps with Cocoon. Maybe the one, wh

Re: [htmlarea] config file

2004-07-07 Thread Bruno Dumon
On Wed, 2004-07-07 at 09:33, Stephane Delort wrote: > Hi, > > I saw the sample with htmlarea and found it pretty and am currently working > on adding this function into my webapp. > > Though, I don't know how to specify an home-made file which could override > default settings. > (the way it is t

Re: [Flowscript] Delete files

2004-07-07 Thread Robin Wyles
evaluate the word delete like this: methodName["delete"](params); Robin. On 7 Jul 2004, at 17:55, Olivier Billard wrote: Hi cocooners ! I'm trying to delete a java.io.File flowscript, but delete is a reserved word in javascript, and I get the following error : "SyntaxError: missing name after . o

Re: jxpath and cforms

2004-07-07 Thread Ugo Cei
Il giorno 07/lug/04, alle 12:11, Stephane Delort ha scritto: One of the way to do that might be using jxpath, but I don't know if the concept is right. (it will mean include the jxpath header in the cfoms template and add the jxgenerator in my related sitemap pipeline[?]) Yes, this is fine. Gener

Re: Site navigation and cocoon pipelines, help!

2004-07-07 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: Hi, I'm running around in circles here and cannot think of an elegant solution. I hope someone can help. Situation: my project is all in a subdirectory with subsitemap of /cocoon under Tomcat. In fact I renamed /cocoon to /ROOT so my project's homepage is under This makes h

CForms - binding map to repeater (urgent)

2004-07-07 Thread Peter Velychko
Hello users, I have a problem with binding JavaBean with the property as java.util.Map to repeater. Java class looks like the following: public class TestClass { ... private java.util.Map pgroupLangs; public java.util.Map getPgroupLangs() { return this.pgroupLangs; }

Re: Cforms: bean AND xml binding in a single form?

2004-07-07 Thread Marc Portier
Joel McConaughy wrote: Is it possible to use both bean and xml binding in a single form? I'm using hibernate and the bean binding to access SQL data. One of the columns contains xml data that I would like to include in the form. Thanks. hm, hibernate will probably retrieve the XML part as a

[Flowscript] Delete files

2004-07-07 Thread Olivier Billard
Hi cocooners ! I'm trying to delete a java.io.File flowscript, but delete is a reserved word in javascript, and I get the following error : "SyntaxError: missing name after . operator" calling getPath() works well, so my java.io.File is correct. Is there "yet another way" to delete files in flows

Re: Problem with CSS and Cocoon 2.1

2004-07-07 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: Well, it works for me... So i thought you might check if it works for you !! Let me know if this helps !! Maybe, because in a reader it has to be named "mime-type"? -- Volkmar W. Pogatzki -

Re: How to store java obj in session using flow script

2004-07-07 Thread Olivier Billard
Hi, If your class is "home-made", I think you have to redefine the equals method. -- Olivier Billard kranga wrote: When I say something like: var obj = new Packages.com.me.MyClass("test"); cocoon.session.setAttribute("user", obj); my sitemap.xmap's sessionstate matcher doesn't match on the sessio

Re: Problem with CSS and Cocoon 2.1

2004-07-07 Thread Colin Paul Adams
> "robby" == robby pelssers <[EMAIL PROTECTED]> writes: robby> Try out mime-type="text/css"/> May i ask why you suggest this? The standards say type, not mime-type. I ask because one of my users says she is not seeing colours with IE6, just with Netscape 7. So I wondered about this. --

Read XML file from XSP

2004-07-07 Thread Matthieu Richard-Molard
Hello! Many thanks for your answer! My older Cocoon projects were written in XSP, but the combination of appropriayte pipelines matches and the "lighter" generators and transformers results in more cleanly built (and more maintainable apps). That's just what I have to do! In the first version of my

Re: xsp-request:set-attribute

2004-07-07 Thread Carlos Chávez
Hi joose. Joose Vettenranta Escribio :-) > I tried to pass information from one point to another with > > column="id"> I think you can not use this for your intentions. better create a input hidden and assign the value what you want send to the sitemap. Something like this:

[SOLVED] how to access authentication context ?

2004-07-07 Thread qMax
Tuesday, July 6, 2004, 8:23:21 PM, [EMAIL PROTECTED] wrote: q> I want to implement very simple scheme: q> if user is not loged in, every page on site contains login form, q> if user is logged in, there is "hello, $user" message and logout button. q> session context "authentication" is only availab

how to access authentication context or to set up custom context during login ?

2004-07-07 Thread qMax
The task is to change main view of every page dependant on if user is logged or not. The subtask is to get out authentication context into normal context. This is weird solution i figured out:

[Wiki] recovering the old attachments

2004-07-07 Thread David Crossley
I have grabbed a tar archive of the attachments from the old wiki. Doing various grep on the server i have compiled a table showing pages with attachments. http://wiki.apache.org/cocoon/MissingAttachments Relevant stuff needs to be copied and renamed on the server. Please ease that job by helping

[htmlarea] config file

2004-07-07 Thread Stephane Delort
Hi, I saw the sample with htmlarea and found it pretty and am currently working on adding this function into my webapp. Though, I don't know how to specify an home-made file which could override default settings. (the way it is told in the htmlarea doc) I pasted the code (1) from the doc into th

CForms - binding map to repeater (urgent)

2004-07-07 Thread Peter Velychko
Hello users, I have a problem with binding JavaBean with the property as java.util.Map to repeater. Java class looks like the following: public class TestClass { ... private java.util.Map pgroupLangs; public java.util.Map getPgroupLangs() { return this.pgroupLangs; }

RE: [WIKI] configuration tweaks

2004-07-07 Thread H . vanderLinden
Guys, before I make any suggestions I'd like to express my thanks for all the hard work. I prefer the current setup of the header to the previous one, although I find the frontpage very 'busy', i.e. there are lots of elements. I would suggest the following: - remove the box around the Cocoon log

Re: session framework

2004-07-07 Thread Lionel Crine
Thanks all. I have all the information I needed. John L. Webber wrote: In case anyone's interested, the behavior with Mozilla is similar (at least under Linux). Two or more windows/tabs will share the same session cookie; if I start a new instance of Mozilla (which has to be with a different pro

jxpath and cforms

2004-07-07 Thread Stephane Delort
Hello, playing with cforms, I made 2 forms (let call them f1 and f2). - f1: the user puts his name and firstname - f2 : the user puts more information. my problem is : I would like to display the name and firstname filled in f1, in f2. One of the way to do that might be using jxpath, but I don't

Re: handling XML Node deletion in CForms

2004-07-07 Thread Vilya Harvey
Jeremy Quinn wrote: Is there some way to have a FlowScript function called from the binding when node deletion takes place in a CForms repeater ? You could try using a element inside the element of your repeater binding. I haven't tried it myself, so I'm not sure if it'll work, but you never k

Site navigation and cocoon pipelines, help!

2004-07-07 Thread H . vanderLinden
Hi, I'm running around in circles here and cannot think of an elegant solution. I hope someone can help. Situation: my project is all in a subdirectory with subsitemap of /cocoon under Tomcat. In fact I renamed /cocoon to /ROOT so my project's homepage is under http://localhost:8080/myproject/.

Re: Lenya / Lynotype / webdav

2004-07-07 Thread Jean Pierre LeJacq
On Wed, 7 Jul 2004, Lincoln Mitchell wrote: > There seems to be a few options regarding editing content in a browser > within Cocoon. > 1. I started out looking at cocoon forms > 2. Then I found out about Linotype and did some work in this, but have since > heard it is a bit unstable and need more

RE: Problem with CSS and Cocoon 2.1

2004-07-07 Thread robby . pelssers
Well, it works for me... So i thought you might check if it works for you !! Let me know if this helps !! Regards, Robby -Original Message- From: Colin Paul Adams [mailto:[EMAIL PROTECTED] Sent: 07 July, 2004 09:58 To: [EMAIL PROTECTED] Subject: Re: Problem with CSS and Cocoon 2.1

Re: [WIKI] configuration tweaks

2004-07-07 Thread David Crossley
Upayavira wrote: > David Crossley wrote: > > >I just switched on the "bang_meta" option. > >So if you do not like the way that Moin automatically > >turns things into Wiki links then you can prevent it > >with ... !NoWikiName > > Er, thought that already worked! At least, the conversion assumed th

Re: Can't bind query parameters in SQLTransformer??

2004-07-07 Thread Terry Brick
Thanks for the info. It at least helps me understand where other cocoon users are coming from. I use OJB on a struts project and it works great for that app where I'm doing a lot of database writing from form entries, etc. However, I never like OJB for query intensive apps which is exactl

Re: getLogger() utilisation

2004-07-07 Thread Leszek Gawron
Lionel Crine wrote: I'd like to use the getLogger() method in classes not declared in the sitemap. Is is possible ? thanks you need to create component or use cocoon.createObject in flow -- Leszek Gawron [EMAIL PROTECTED] Project Manager

Formvalidation decimal comma instead point

2004-07-07 Thread Meyer, Christian
Hello, I use cocoon 2.0.4 and I want validate numeric fields for a german application. So I need to realize the test for numbers with comma instead points. My system properties are set to de_DE. Is there any other setting to realize that or should I need to change it to string with a regular expr

RE: Re[2]: how to access authentication context ?

2004-07-07 Thread Steve Schwarz
Hi I'm still away from my code (I can send a sample Thurs PM CDT) IIRC: Hope this helps, Steve SS> Hi SS> I had the same need. I'm not where my source is but if I recall I use the SS> sessi

Re: Problem with CSS and Cocoon 2.1

2004-07-07 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: Try out "mime-type" is not an attribute of "link". The correct one is "type". -- Volkmar W. Pogatzki - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Spring Petstore new version

2004-07-07 Thread Ugo Cei
I've just uploaded a new version of the Spring Petstore to the Wiki [1]. With this version, you can now order pets. Some notable features are still missing, among them: - Search - Stock keeping Moreover, only a minimal set of data is loaded at startup. However, I think it is already an interest

RE: Lenya / Lynotype / webdav

2004-07-07 Thread Schultz, Gary - COMM
Another alternative for within browser content editing is Mozile, the Mozilla Inline Editor. The first link provides general information on Mozile, the second link provides information on the latest version. Mozile web at Mozdev: http://mozile.mozdev.org/index.html

Re: [WIKI] configuration tweaks

2004-07-07 Thread Upayavira
David Crossley wrote: I just switched on the "bang_meta" option. So if you do not like the way that Moin automatically turns things into Wiki links then you can prevent it with ... !NoWikiName Er, thought that already worked! At least, the conversion assumed that it did! Regards, Upayavira --

handling XML Node deletion in CForms

2004-07-07 Thread Jeremy Quinn
Hi All We have an XML Model, being edited by CForms. eg: . . . . . . . . . is a repeater field. It all currently works, but we are adding a preview upload feature to it and this is bringing some extra complications. When someone adds a Shot, they will have

getLogger() utilisation

2004-07-07 Thread Lionel Crine
I'd like to use the getLogger() method in classes not declared in the sitemap. Is is possible ? thanks -- Lionel CRINE Ingénieur Systèmes documentaires Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.46.06.90

RE: Problem with CSS and Cocoon 2.1

2004-07-07 Thread robby . pelssers
Try out -Original Message- From: Stéphane MESTRE [mailto:[EMAIL PROTECTED] Sent: 06 July, 2004 18:16 To: [EMAIL PROTECTED] Subject: Problem with CSS and Cocoon 2.1 Hello, After an XSL transformation in Cocoon, I would want to apply an CSS stylesheet on the XHTML document. The styl

[WIKI] configuration tweaks

2004-07-07 Thread David Crossley
I just switched on the "bang_meta" option. So if you do not like the way that Moin automatically turns things into Wiki links then you can prevent it with ... !NoWikiName -- David Crossley - To unsubscribe, e-mail: [EMAIL PROTE

Batik problems with text tags on Cocoon 2.1.5

2004-07-07 Thread Sebastien Gabel
Hello, I tried the included SVG samples of Cocoon (http://localhost:/samples/blocks/batik/welcome)...and the results are very odd !!! In fact, I have three cocoon installed on different computers (version 2.1.5) and all are configured with JDK 1.4.2. So, the main problem is these samples wo