Re: Problem with CSS and Cocoon 2.1

2004-07-07 Thread [EMAIL PROTECTED]
Stéphane MESTRE wrote: Hello, After an XSL transformation in Cocoon, I would want to apply an CSS stylesheet on the XHTML document. The style is not apply in the Cocoon's XHTML generate document but if I use my XML development environment (Cooktop), the result is correct and the document's

Re: Session timeouts

2004-07-07 Thread Ralph Goers
That is a funny way to put it. Cocoon doesn't provide anything regarding session listeners nor does it prevent you from doing so. In fact, it is extremely easy. I created a single SessionData class that is nothing more than a container for all my other session-based objects. This class

Re: session framework

2004-07-07 Thread John L. Webber
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 profile), it gets a different cookie. John Adam Walsh wrote: It seems to

Re: reloading context in javaflow

2004-07-07 Thread Enrico Migliore
Stephan Michels wrote: Am Di, den 06.07.2004 schrieb Joerg Heinicke um 3:00: On 05.07.2004 22:34, johan coens wrote: Where to set the CompilingClassLoader? Specify it in the cocoon.xconf won't work. Is there any doc about this? Unfortunately I can not answer all questions. I have

Re[2]: how to access authentication context ?

2004-07-07 Thread qMax
Tuesday, July 6, 2004, 11:23:02 PM, [EMAIL PROTECTED] wrote: SS Hi SS I had the same need. I'm not where my source is but if I recall I use the SS session transformer within the login pipeline to load the authentication SS session info into my own session context only on success. Then this info

URL Encoding

2004-07-07 Thread Oro smith
Since cookies are not supported by phones, i have used URLEncoding for session handling in my mobile mail application. It works fine with non GPRS phone and TTEmulator. However when i tested in a gprs phone, i get an error immediately after the login page. ie after i click the login button.

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

[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

RE: Problem with CSS and Cocoon 2.1

2004-07-07 Thread robby . pelssers
Try out link rel=stylesheet href=default.css mime-type=text/css/ -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

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

handling XML Node deletion in CForms

2004-07-07 Thread Jeremy Quinn
Hi All We have an XML Model, being edited by CForms. eg: storyboard id=blah . . . shots shot id=blag preview ref=0123456789 mime-type=image/jpeg/ . . . /shot . . . /shots /storyboard shots/ is a repeater field. It all currently works, but we are adding a preview

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

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

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

Re: Problem with CSS and Cocoon 2.1

2004-07-07 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: Try out link rel=stylesheet href=default.css mime-type=text/css/ mime-type is not an attribute of link. The correct one is type. http://www.w3.org/TR/html4/struct/links.html#edef-LINK -- Volkmar W. Pogatzki

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: !-- sitemap -- map:match pattern=do-login !-- try to login -- map:act type=auth-login map:parameter name=handler value=mainhandler/ map:parameter name=parameter_loginame

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

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

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

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 that it did!

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: 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

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: 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 fb:javascript element inside the fb:on-delete-row element of your repeater binding. I haven't tried it myself, so I'm not sure

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

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

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

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; }

[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

[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

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: map:match pattern=do-login !-- try to login -- map:act type=auth-login

[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 available if

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 xsp-request:set-attribute name=m_idesql:get-string column=id/xsp:request-set-attribute I think you can not use this for your intentions. better create a input hidden and assign the value

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: Problem with CSS and Cocoon 2.1

2004-07-07 Thread Colin Paul Adams
robby == robby pelssers [EMAIL PROTECTED] writes: robby Try out link rel=stylesheet href=default.css robby 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

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 session.

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? map:match pattern=**.css map:read src=style/{1}.css mime-type=text/css/ /map:match -- Volkmar W.

[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

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

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: 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

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.

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 .

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 told in

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,

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; }

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

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 to

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

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=10834263912r=1w=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 Moin

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=10834263912r=1w=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,

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

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

[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 thedatabase "oldone", which is the first connection., even though I have changed the dburl in the second query to new database "newone" Would anybody tell mehow to fixit except

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 a href=#top into a href= onclick=javascript:scroll(0,0) This does exactly what I want AND it's clientside, so I don't have to do

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

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.

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 webbapp

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 haven't come

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/MissingAttachments I'm

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 lots

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