DO NOT REPLY [PATCH QUEUE] Summary November 1 2003

2003-10-31 Thread nicolaken
--- This mail is generated automatically using Jakarta Ant. Contents are automatically downloaded from Apache's Bugzilla. --- Please do not reply to th

Re: Woody XML Binding: how to exit from continuation?

2003-10-31 Thread Antonio Gallardo
Gianluca Morello dijo: > Hallo Escribio, > > i already tried using all possible variants of sendpage and also > tricking with redirect in the sitemap but without success. > > Thank for your attention > Gianluca Hi Gianluca: Please try to explain better the problem. Because the Carlos answer is th

RE: Unit testing input modules

2003-10-31 Thread Ralph Goers
Well, never mind. Stupid configuration error on my part. > -Original Message- > From: Ralph Goers > Sent: Friday, October 31, 2003 3:48 PM > To: '[EMAIL PROTECTED]' > Subject: Unit testing input modules > > > I am trying to unit test an input module using a test case > that extends >

Unit testing input modules

2003-10-31 Thread Ralph Goers
I am trying to unit test an input module using a test case that extends AbstractCompositeTestCase. I can't figure out how to configure it so that it shows up under a selector. Can someone provide me with some guidance? Ralph Goers

RE: Initializing components

2003-10-31 Thread Unico Hommes
No. Initialize is called only once during a component's lifecycle. If the component is poolable it will be reused again and again for different requests. Everytime getting a different object model passed in via the setup() method. -- Unico > -Original Message- > From: toto [mailto:[EMA

Re: [OT?] - XUL

2003-10-31 Thread Antonio Gallardo
Oleg Dulin dijo: > I slaved over a pretty big XUL application earlier this year using > Mozilla as a run time environment. > > Just want to point something out: > > * XUL is just another XML format > * XUL is an interactive-client side technology, as opposed to mostly > static Xhtml. Cocoon/COcoon

Re: Database actions - how to implement conditions?

2003-10-31 Thread Christian Haul
Jan Wielgus wrote: Hello, I'm using DatabaseDeleteAction to delete rows from a table. But before the row is deleted I would like to check it for a condition (in this special case if the primary key of that row is not anymore referenced in other tables - if it would be, than it can't be deleted). H

Re: ESQL: get-xml: problem with namespace for root element.

2003-10-31 Thread Christian Haul
Marcin Okraszewski wrote: Hi, I want to obtain an xml mixed content using . I add n root element but I would like to set a namespace for it. Unfortunately it doesn't work by adding only prefix. I can't leave root in namespace with empty prefix, because the xml in DB is without prefix too, which cau

Re: Woody XML Binding: how to exit from continuation?

2003-10-31 Thread Gianluca Morello
Hallo Escribio, i already tried using all possible variants of sendpage and also tricking with redirect in the sitemap but without success. Thank for your attention Gianluca - Original Message - From: "Carlos Chávez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 31,

Re: Woody XML Binding: how to exit from continuation?

2003-10-31 Thread Carlos Chávez
Gianluca Morello Escribio :-) > Hallo, > > I'm using flow mixed with woody to bind some xml files to forms. > My logic is very similar to the woody sample > > I'm trying without success to exit from the continuation after saving > xml to file. > > In the flow script that process the action i can d

Woody XML Binding: how to exit from continuation?

2003-10-31 Thread Gianluca Morello
Hallo, I'm using flow mixed with woody to bind some xml files to forms. My logic is very similar to the woody sample I'm trying without success to exit from the continuation after saving xml to file. In the flow script that process the action i can do cocoon.sendPage("mypage") and the pipeline o

Re: Database actions - how to implement conditions?

2003-10-31 Thread Steve Schwarz
Jan How about using a DatabaseSelectAction first? If you condition is met then don't do the delete. pseudo-pipeline: Unless maybe I'm not understanding your question(?) HTH Steve From: Jan Wielgus <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Databa

Initializing components

2003-10-31 Thread toto
Hello, question : when the initialize() method is called has the objectModel already been given to the component ? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Handling non-Exception Throwables with handle-errors

2003-10-31 Thread Peter Brant
Hi all, I've noticed that any Throwable that is not an Exception is not handled with the error handler defined in the handle-errors sitemap fragment. The result is a blank page with no indication anything went wrong (although the stacktrace does show up in Tomcat's log). It looks like the catch(

Flowscript, upload and Part probelm

2003-10-31 Thread Stephan Coboos
Hello, I'm trying to implement an upload using flowscript, but it doesn't work. Yes, I know the examples on the wiki and the mailling lists, but these examples dont work on my Cocoon (2.1.2). After I had submit the form, the request will not be converted to a Part Object, so I can't call a method

[HELP]Exception in ServerPagesGenerator.generate()

2003-10-31 Thread Sandy_Kiran
 Description:org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource org.apache.avalon.framework.component.ComponentException: datasources: ComponentSelector could not find the component for hint [poolname]

Re: [OT?] - XUL

2003-10-31 Thread Oleg Dulin
Here: http://luxor-xul.sourceforge.net/ Basically, what I am saying is that if Cocoon ends up having built-in support for XUL non-Mozilla implementations should be kept in consideration. Kind regards, Oleg Oleg Dulin wrote: I slaved over a pretty big XUL application earlier this year using Moz

Re: Woody : binding

2003-10-31 Thread Carlos Chávez
Olivier Billard Escribio :-) > Hi all ! > > I have a problem concerning the binding in woody : > > I have repeater bound with following structure : > >156 >some data > > >157 >other data > > ... try this organitation : ... ... regards, carlos chavez

[HELP]Exception in ServerPagesGenerator.generate()

2003-10-31 Thread Sandy_Kiran
 Description:org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource org.apache.avalon.framework.component.ComponentException: datasources: ComponentSelector could not find the component for hint [poolname]

[HELP]No pipeline matched request: samples/sites/www.hp.com/

2003-10-31 Thread Chung, Quoi Nghia
Description:org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: samples/sites/www.hp.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

i18n problem

2003-10-31 Thread David Luyten
Hello,   I am using Cocoon 2.1 (under Tomcat/Win2000).   I have a problem with some piece of text translated with cocoon/i18n:   here is the text:   Click here to view   and here is the entry in message bundle:   Cliquez ici pour pour visualiser.   and the xsl modification rule:     [EMAI

Re: [OT?] - XUL

2003-10-31 Thread Oleg Dulin
I slaved over a pretty big XUL application earlier this year using Mozilla as a run time environment. Just want to point something out: * XUL is just another XML format * XUL is an interactive-client side technology, as opposed to mostly static Xhtml. Cocoon/COcoon Forms/Woody is an interactive

Jeuclid compatibility

2003-10-31 Thread Ryan Graham
Hi, Can anyone verify which versions of Cocoon, Tomcat, and the JDK work best for Jeuclid? I have tried using it(on Win2K) with: Cocoon 2.1.2 Tomcat 4.1.27 J2SDK 1.4.2_02 but get no output images. Since this project hasn't been supported much for almost 2 years, I'm assuming an older version o

Woody : binding

2003-10-31 Thread Olivier Billard
Hi all ! I have a problem concerning the binding in woody : I have repeater bound with following structure : 156 some data 157 other data ... here is the repeater binding : and the containe

Re: XML-Binding in Woody -tag

2003-10-31 Thread Johannes Becker
Hi, Didn't you ask exactly the same question on monday? I posted an answer on wednesday, maybe you missed it. Yes I missed it. Sorry. Deleted it accidently. Found it now again. Thanks jonny _ 5 neue Buddies = 50 FreeSMS. http://messe

Database actions - how to implement conditions?

2003-10-31 Thread Jan Wielgus
Hello, I'm using DatabaseDeleteAction to delete rows from a table. But before the row is deleted I would like to check it for a condition (in this special case if the primary key of that row is not anymore referenced in other tables - if it would be, than it can't be deleted). How can I put this "

RE: RE : RE : Skins in the new Portal Engine

2003-10-31 Thread JACOB, ERIC
Laurent, That's my problem! I don't want to switch a directory, I want to switch a CSS. My XSLs are still the same through my skins so I don't want to duplicate them across many directories. Only my CSSs are going to change (that is the beauty of CSS). I've already read the documentation for the p

RE: dynamic pdf generation

2003-10-31 Thread Ashish Kumar
hi there, gr8! it worked, i able to generate the pdf. now i am studing xsl & esql tutorials on how to display them in tables & all other formatting... stuffs. but theres a silly small newbie problem (don't screw me for this!): i m not able to display it in the table form, in any way i dec

Sitemap viewer is there

2003-10-31 Thread Alten, Jelle Paul (sds-sp)
Hi, It's just XSLT + sitemap... Really nothing big, so I put it in bugzilla as you suggested. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24294 I'm looking forward to any reactions. Have fun, Jelle -Oorspronkelijk bericht- Van: Bertrand Delacretaz [mailto:[EMAIL PROTECTED] Ver

Re: ESQL problem

2003-10-31 Thread Leszek Gawron
On Thu, Oct 30, 2003 at 10:24:46AM -0500, Christopher Painter-Wakefield wrote: > > > > > Your code looks correct to me, I can't imagine why there'd be a problem. > I've never used (or even heard of) a pervasive database, but if you can Lucky you :) > write JDBC code that works against it, it o

RE : RE : Skins in the new Portal Engine

2003-10-31 Thread Laurent Trillaud
Jacob This variable is design to switch skin, i.e. to switch a directory that contains both CSSs and XSLs. You are free to update the tab.xsl and use DIV instead. For a better understanding, on how a portal page is built, have a look on http://cocoon.apache.org/2.1/developing/portal/portal-block.ht

RE : [auth-fw] NPE in Application Manager

2003-10-31 Thread Laurent Trillaud
It wasn't a so bad day because it works. :-) Thanks a lot. But if, in the application, the pipeline associated to the load is started automatically at login, at logout the pipeline associated to the save isn't triggered. I guess that we need a loop, in [EMAIL PROTECTED], like this one: // And now

Re: Getting the componentmanager (was Re: access defaultsmetamodule variables from java code)

2003-10-31 Thread Jorg Heymans
this is a valid alternative. I used this to get to the variables from a serializer. wiki updated to reflect this. Stephan Coboos wrote: Hello, better you should use the interface Serviceable to get the ServiceManager, not the ComponentManager (is deprecated?). The interface Component is just a

Re: shopping cart : creating a new context

2003-10-31 Thread gounis
i use mod_proxy too i had the same problem with session and locale ... the only solution was to keep locale in cookies i think that this is a bug but i dont know if its cocoon's or mod_proxy's --stavros On Fri, 31 Oct 2003, julien bloit wrote: > Thank you Stavros, > I had quite the same cod

RE: Using Cocoon constants in XSLT

2003-10-31 Thread Arje Cahn
That's like... 5219 seconds to late.. :) But thanks anyway Unico. Arjé > -Original Message- > From: Unico Hommes > Posted At: vrijdag 31 oktober 2003 12:49 > Posted To: Cocoon User List > Conversation: Using Cocoon constants in XSLT > Subject: RE: Using Cocoon constants in XSLT > > >

Re: shopping cart : creating a new context

2003-10-31 Thread julien bloit
Thank you Stavros, I had quite the same code, but i found out my problem comes from the connection between my apache 2 server and tomcat. The problem might come from the fact that I use the mod_proxy connector instead of the mod_jk, which is why I loose track of the sessions. Any thoughts on this?

RE: Using Cocoon constants in XSLT

2003-10-31 Thread Unico Hommes
I've added a new PropertiesFileModule for accessing properties in a properties file. There is also a sample using resource://org/apache/cocoon/cocoon.properties . That should do it. Cheers, Unico Arje Cahn wrote: > > Tony, > > > > I'm trying to display the Cocoon versionnumber in my XSL's.

Error while accessing an out-parameter from an Oracle-DB

2003-10-31 Thread Torsten Knieps
Hi,   I'm using Cocoon 2.1 with Tomcat 4.0.6, JDK 1.4 and Oracle9i (Oracle Driver and .dll's installed). I've got an "ORA-01036: Variablename/-nr invalid" error (complete error trace see below) when trying to access an out-parameter of an Oracle Stored Procedure, while I'm able to execute a

double request-params when using request generator with cinclude

2003-10-31 Thread Fleischer Roman
Hello, maybe somebody can help me with my crazy effect which i have with the version 2.1 of cocoon (the effect is present with Jetty 4.2.9 and Tomcat 4.1.27 too) When i use a request generator more than once (in a cicnclude a matcher also use a request generator), i get double parameters. A servi

Re: Populate Woody Form from request in Flow Script

2003-10-31 Thread Bruno Dumon
On Fri, 2003-10-31 at 01:13, Joe Latty wrote: > We have a pipeline much the same as the Woody Example (form1) where on > the GET request method we are initializing our form in a java class > (there are some prefill form values obtained through a SOAP call). > > When the form is POSTed (submitted)

Re: Getting the componentmanager (was Re: access defaultsmetamodule variables from java code)

2003-10-31 Thread Jorg Heymans
done, it's in FAQ Reinhard Poetz wrote: From: Jorg Heymans k-tsching !! works now :) I want to wiki this up, how can i add a new page to the wiki? simply by adding a new link with a non-existing page. after saving you get a question mark instead of the link (because it doesn't exist) and th

Re: XML-Binding in Woody -tag

2003-10-31 Thread Bruno Dumon
On Fri, 2003-10-31 at 09:58, Johannes Becker wrote: > Hi there, > > I have problems customizing the Woody "form2xml.flow"-example. I wanted to > try to insert some xml permanently in a already existing xml-document. From > the Wiki-docu I understood that tag would do the job. So I > created an

RE: Using Cocoon constants in XSLT

2003-10-31 Thread Arje Cahn
> > Perhaps it's time for a new inputmodule? Unico is rambling on the keyboard right now Should be a matter of seconds :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Getting the componentmanager (was Re: access defaultsmetamodule variables from java code)

2003-10-31 Thread Reinhard Poetz
From: Jorg Heymans > > k-tsching !! > > works now :) I want to wiki this up, how can i add a new page > to the wiki? simply by adding a new link with a non-existing page. after saving you get a question mark instead of the link (because it doesn't exist) and then after clicking it you can edi

Re: Getting the componentmanager (was Re: access defaultsmetamodule variables from java code)

2003-10-31 Thread Jorg Heymans
k-tsching !! works now :) I want to wiki this up, how can i add a new page to the wiki? many thanks Reinhard! Jorg Reinhard Poetz wrote: From: Jorg Heymans InputModule d = (InputModule)manager.lookup( "org.apache.cocoon.components.modules.input.InputModuleSelector"); -> this one bums out wit

RE: Using Cocoon constants in XSLT

2003-10-31 Thread Arje Cahn
Tony, > > I'm trying to display the Cocoon versionnumber in my XSL's. > > At first I thought there was an InputModule to do this, but > apparently > there isn't. If there were, it would be pretty easy to do, it would > look something like this: > > > > > > > > I was t

cocoon Stalling?

2003-10-31 Thread Joose Vettenranta
Hi, could stalling have been happening because for the next reasons: I had JAVA_OPTS="-Xmx1536m -Xincgc -Djava.awt.headless=true" but I didn't set up cocoon.xconf memory setting match those values? Running Cocoon 2.0 and Cocoon 2.1 - Joose -- Joose Vettenranta <[EMAIL PROTECTED]> GSM: 044 5

RE: Getting the componentmanager (was Re: access defaultsmetamodule variables from java code)

2003-10-31 Thread Reinhard Poetz
From: Jorg Heymans > InputModule d = (InputModule)manager.lookup( > "org.apache.cocoon.components.modules.input.InputModuleSelector"); > -> this one bums out with a null exception object try this: try { this.selector = (ComponentSelector)this.manager.lookup(InputModule.ROLE + "Selector"); }

XML-Binding in Woody -tag

2003-10-31 Thread Johannes Becker
Hi there, I have problems customizing the Woody "form2xml.flow"-example. I wanted to try to insert some xml permanently in a already existing xml-document. From the Wiki-docu I understood that tag would do the job. So I created an external xml file (insertdata.xml) and customized the "form2_bi

RE: how can I access EJB

2003-10-31 Thread HRIVIK, Roman (ext.)
Is there any samples on the net about it. Or can you direct me to the right way I can go ? Thank you Roman -Original Message- From: Ralph Goers [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 4:48 PM To: '[EMAIL PROTECTED]' Subject: RE: how can I access EJB I am doing exa

Re: OT: Was: JXForms vs. Woody vs. KISS

2003-10-31 Thread Gianluca Sartori
Il gio, 2003-10-30 alle 14:10, Ugo Cei ha scritto: > Sorry but this approach has never worked in practice for me. Programming > is hard and I don't think adding another level of abstraction is going > to change this any time soon. Class diagrams may be cool, if used as a > tool for communicating

Re: Getting the componentmanager (was Re: access defaultsmetamodule variables from java code)

2003-10-31 Thread Jorg Heymans
ok tried the following without success ("could not find component exception") in the setup method of my transformer. DefaultsMetaModule d = (DefaultsMetaModule) manager.lookup(InputModule.ROLE); DefaultsMetaModule d = (DefaultsMetaModule) manager.lookup("org.apache.cocoon.components.modules.inpu

RE: Getting the componentmanager (was Re: access defaultsmetamodule variables from java code)

2003-10-31 Thread Reinhard Poetz
From: Jorg Heymans > Nearly there :) > > My transformer is extending AbstractDOMTransformer so i already have > access to this manager object. > > So would i do: > Component c = manager.lookup( > "org.apache.cocoon.components.modules.input.DefaultsMetaModule"); > > the Component seems like a

Re: Removing whitespace in XSP generated XML

2003-10-31 Thread Mika Fonsen
Hi, Another solution to this XMLSpy caused problem is to disable output formatting for these elements. Tools/Options: - from file tab, add an entry to the No output formatting -field: xsp:attribute You might also want to include xsl:attribute to this. --- Mika Fonsén * http://