RE: selecting transform xsl based on document id

2004-08-31 Thread Pratik Das
Thanks Jeroen. I want a wild card match. For example can be matched against something like {1}* so that all document-ids starting with say abc use up a particular template. Thanks Pratik "Jeroen Reijn" <[EMAIL PROTECTED]> 08/31/2004 09:58 PM Please respond to [EMAIL PROTECTED] To <

javascript collection for cocoon

2004-08-31 Thread Superbiji
hi anyone published javascript util collection for cocoon? such as loadDocument(uri), saveDocument(document, uri) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

org.quartz.SchedulerException: Scheduler with name 'Cocoon' already exists Exception

2004-08-31 Thread Sudesh Shetty
Pardon me if this is already answered but I couldnt find any reference to the above error. I'm running cocoon2.1.5 with Borland appserver 6.0. and I get this error when trying to view the index.xml as http://localhost:8080/Cocoon/index.xml Any help appreciated. Here is the complete trace: Messa

RE: selecting transform xsl based on document id

2004-08-31 Thread Jeroen Reijn
Hi Pratik,   to get the result you want, you could use the parameter selector: pattern="test/*/*/*">  />  type="parameter">    />    test="act">             type="xml"/> This same answer can be found in the original cocoon documentation: http:/

Re: CForms validation integers

2004-08-31 Thread defe
Quoting Superbiji <[EMAIL PROTECTED]>: > What's the error message? > > On Mon, 30 Aug 2004 21:33:12 +0200, defe <[EMAIL PROTECTED]> wrote: > > hi, > > > > How can i simply make sure a user will only input numeric characters > > in a text field? > > > > it does not completely works with the followi

Using XSP logicsheets on-the-fly

2004-08-31 Thread Ulrich Mayring
Hello, in Cocoon1 it was possible to use XSP logicsheets that were not configured by using a PI like: In the Cocoon2 samples I see that now now there is an alternative way to specify the logicsheet by using within the element: However, no matter which version I use, I cannot get my and Bl

Re: CForms validation integers

2004-08-31 Thread Superbiji
What's the error message? On Mon, 30 Aug 2004 21:33:12 +0200, defe <[EMAIL PROTECTED]> wrote: > hi, > > How can i simply make sure a user will only input numeric characters > in a text field? > > it does not completely works with the following: > > > foo > > > > thanks > >

jar in xsp

2004-08-31 Thread Adriano Smith
i have a jar sm.jar which is in WEB-INF/lib directory. It has com/sf/database/Mydb.class However i get an error in the logs: java.lang.NoClassDefFoundError: Mydb In my xsp i have the statement com.sf.database.* The statement below, however, gives the error: com.sf.database.Mydb db= new com.s

File locked with jar: protocol

2004-08-31 Thread Bart Dijkstra
Hi all, I'm using the jar: protocol to extract an XML document from a zipfile as follows: As you can see, all very normal using the standard FileGenerator. After running this pipeline though, the zipfile is locked by the cocoon (java) process. Only after stopping the webserver, the fil

Re: Binding labels

2004-08-31 Thread Timur Izhbulatov
Marc Portier писал(а): now I'm confused. the aspect of 'label' of a widget has nothing to do with whereto you save the model's data, it is about what label is shown in the html page next to the input-box (or on the button...) Looks like the only way is using fb:output. IIRC, I have had some

Re: SQLtransformer gives -1 with ROWCOUNT

2004-08-31 Thread Matt Rich
Le 30 août 04, à 10:10, Matt Rich a écrit : My problem is still there: beginning with SET ROWCOUNT 200, the request works on Sybase Jsql, but it is failing in the Cocoon application, and returning as many times -1 I didn't find anything on the Web nor in the archives to solve this. Is it a Coco

selecting transform xsl based on document id

2004-08-31 Thread Pratik Das
Can I set up a pipeline so that I can select the transform xsl based on  a wild card match of document id or any part of url. I want something like this:                                                                                                                                          

Re: Binding labels

2004-08-31 Thread Marc Portier
checked the original post and finally my coin is dropping helas, as you've guessed the answer remains: no there is no support for this in cforms -marc= Marc Portier wrote: Timur Izhbulatov wrote: Marc Portier писал(а): nope it doesn't, try using i18n transformer in stead It's not very clear how c

Re: jsp in cocoon

2004-08-31 Thread Antonio Gallardo
Adriano Smith dijo: > how can jsp ne included in cocoon? > how can the jsp file be read? Perhaps this link can help you: http://cocoon.apache.org/2.1/userdocs/generators/jsp-generator.html Best Regards, Antonio Gallardo - To u

Re: Binding labels

2004-08-31 Thread Marc Portier
Timur Izhbulatov wrote: Marc Portier писал(а): nope it doesn't, try using i18n transformer in stead It's not very clear how can it help with saving to XML. AFAIK, it can replace some text depending on a given locale optionaly with parameter substitution. now I'm confused. the aspect of 'label'

Re: Problem with PDF generation

2004-08-31 Thread Bertrand Delacretaz
Le 31 août 04, à 11:57, Reynald Borer a écrit : 2004-08-25 10:13:46 StandardWrapperValve[Cocoon]: Servlet.service() for servlet Cocoon threw exception java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger at org.apache.fop.messaging.MessageHandler.log(MessageHandle

Re: Binding labels

2004-08-31 Thread Timur Izhbulatov
Marc Portier писал(а): nope it doesn't, try using i18n transformer in stead It's not very clear how can it help with saving to XML. AFAIK, it can replace some text depending on a given locale optionaly with parameter substitution. alternatively: if your 'label' is really holding 'output' you'

jsp:include / c:import & cocoon

2004-08-31 Thread kees
Hi, I would like to use JSP with the jsp:include statement or the c:import statement from the jstl standard taglib. However, it doesn't work out of the box, and cocoon threws an exception I have the following jsp files: -- test.jsp: -- -- test2.jsp -- this is test 2 When I open test.jsp in the

Re: Problem with PDF generation

2004-08-31 Thread KOZLOV Roman
Check also logkit-*.jar file existence. Roman Reynald Borer wrote: > The file is there... > > I've tried something else: on another server I've got an old redhat 9 > with tomcat 4 and cocoon 2.1.4 running. PDF generation works well, so > I've tried to copy the webapps/cocoon directory from this

Re: Problem with PDF generation

2004-08-31 Thread Jorg Heymans
endorsed lib problem perhaps ? Search the wiki for this. Also: try running cocoon with the paranoid classloader (instructions again are in the wiki) no idea really what could be causing this.. I use jetty :) Jorg Reynald Borer wrote: The file is there... I've tried something else: on another serv

Re: How to run several instances of Cocoon off the same binaries?

2004-08-31 Thread Ulrich Mayring
[EMAIL PROTECTED] wrote: Thanks a lot, that helped. It turned out the main idea was to make use of a mod_proxy feature I didn't know before: ProxyPass / http://base.cocoonhost.com/cocoon/virtual.host.com/ ProxyPassReverse / http://base.cocoon

Re: Problem with PDF generation

2004-08-31 Thread Reynald Borer
The file is there... I've tried something else: on another server I've got an old redhat 9 with tomcat 4 and cocoon 2.1.4 running. PDF generation works well, so I've tried to copy the webapps/cocoon directory from this server to my tomcat 5 installation. Still the same problem, pdf fails. So it

Re: Problem with PDF generation

2004-08-31 Thread Jorg Heymans
org/apache/avalon/framework/logger/Logger is from avalon-framework-api-4.1.5.jar I'm assuming this file is in WEB-INF/lib already otherwise cocoon wouldn't even start probably. Doublecheck this. Jorg Reynald Borer wrote: Hey, no one as an idea about my problem ? I really need this pdf thing an

Re: Problem with PDF generation

2004-08-31 Thread Reynald Borer
Hey, no one as an idea about my problem ? I really need this pdf thing and I know that it works. Help me please... Reynald Reynald Borer wrote: Hi everybody, I'm facing a problem with cocoon 2.1.5.1: it cannot create any pdf file. It's currently running inside tomcat 5.0.27 on a Gentoo Linux, a

Re: CForms: Accessing ObjectModel or Context from ActionListener

2004-08-31 Thread Leszek Gawron
Scott Yeadon wrote: Hello, Does anyone know to get hold of the ObjectModel or Context from within a Java class implementing ActionListener? I might be wrong but as binding classes do not have acces to context or service manager action listerners do not have that also -- Leszek Gawron

Re: String array in xsp

2004-08-31 Thread KOZLOV Roman
Sure, yes Adriano Smith wrote: > Is it possible to declare array of Strings in xsp? > > Like String []cmd ; > > > > [Image] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Redirect login page to https and portal loading in http.

2004-08-31 Thread Gildas Guillemot
Hello, I'm trying to redirect the login page of my application to https and keep the rest of the request in http. I'm using the new portal engine of cocoon and i have some problem to get it working when Apache switch from https to http. I'm using the rewrite module of Apache and I have define th

RE: SQLTransformer and MySQL problem

2004-08-31 Thread Jeroen Reijn
Title: SQLTransformer and MySQL problem Hiral,   maybe you could try to set the logger assigned to the SQLTransformer to DEBUG. You could do this by altering the logkit.xconf in your WEB-INF directory.   Try to add the following category within the sitemap category:   name="transformer.sql

RE: String array in xsp

2004-08-31 Thread robby . pelssers
Yep !! You can do plain java programming in xsp if you want ! -Original Message- From: Adriano Smith [mailto:[EMAIL PROTECTED] Sent: 31 August, 2004 08:18 To: [EMAIL PROTECTED] Subject: String array in xsp Is it possible to declare array of Strings in xsp? Like String []cmd ;

String array in xsp

2004-08-31 Thread Adriano Smith
Is it possible to declare array of Strings in xsp? Like String []cmd ;