CForms: multiple action buttons

2004-08-09 Thread Scott Yeadon
Hello, I have a form where a user can submit a job (the primary function of the form) but can also save off the settings in to a personal XML configuration file (as a secondary function). However I want to be able to generate the XML via an internal pipeline when the users hits an action

Re: Dynamic XMLs

2004-08-09 Thread Olivier Billard
Narasingarao, I think this link is what you need : http://cocoon.apache.org/2.1/howto/howto-html-pdf-publishing.html HTH, -- Olivier Billard Narasingarao Kommireddi wrote: Hi , I am new to Cocoon and woking on generating PDF documents on the fly. I have to generate PDF per user, based on userid.

Use of JS and CSS from CForm

2004-08-09 Thread Soujanya_Gottumukkala
CForms, JS, CSS and XSL I am trying to apply a XSL which has reference to CSS and JS files to the CFORM generated using template transformer. The transformation is happening and I am getting a HTML output, but Style definitions are not applied, any of the images are not displayed and Java Script

Re: HTMLArea in a table

2004-08-09 Thread Steven Noels
On 03 Aug 2004, at 14:18, Derek Hohls wrote: Ugo Unfortunate news as it effectively renders this component unusable for general access sites (80% of the web browsers are IE5 or IE6) UNLESS we can try using divs for layout .. anyone want to test this?? Using div instead works. We hit the same

Re: Cocoon and Oracle

2004-08-09 Thread taabpr
The only special issue with Oracle is to configure JDBC driver to database :) The rest is to learn the Cocoon. What I propose is to read everything in 'User documentation', even though in the beginning you don't need 80 % of functionality. Cocoon framework is so unique and powerfull that it is

flowscript - pipeline has already been processed...

2004-08-09 Thread defe
hi, i have an IllegalStateException when trying to aggregate a flowscript response with other xml parts. It says pipeline has already been processed for this request. map:aggregate element=page map:part src=cocoon://foo.xml/ map:aggregate where, map:match pattern=foo.xml map:call

Re: load data in CForm

2004-08-09 Thread Timur Izhbulatov
Dmitry Tatarkin (): I am trying to use CFrom for form handling and faced with a problem. How I can to set some data(from database or GET,POST) to the form when it's rendered through form.showForm()? You could see also CForm binding example

Re: flowscript - pipeline has already been processed...

2004-08-09 Thread Olivier Billard
Hi, If you're using the flow, don't forget to set a return after a cocoon.sendPage(). Otherwise, the flow continues and may meet a cocoon.sendPage again, causing this error. wrong-code if (condition) { cocoon.sendPage(page1); } // condition did not match

Url

2004-08-09 Thread Adriano Smith
Is it possible to retrieve parameters passed in the url (through query strings) using cocoon?

Re: Url

2004-08-09 Thread Olivier Billard
Adriano Smith wrote: Is it possible to retrieve parameters passed in the url (through query strings) using cocoon? http://ads.sify.com/RealMedia/ads/click_nx.ads/mail.sify.com/[EMAIL PROTECTED] Sure, using the request object. For example in flowscript : var requestParameter =

Re: flowscript - pipeline has already been processed...

2004-08-09 Thread defe
Quoting Olivier Billard [EMAIL PROTECTED]: Hi, If you're using the flow, don't forget to set a return after a cocoon.sendPage(). Otherwise, the flow continues and may meet a cocoon.sendPage again, causing this error. wrong-code if (condition) { cocoon.sendPage(page1);

[ Flow ] Using continuations

2004-08-09 Thread Timur Izhbulatov
Hi all! I was searching this mailing list and have found the message [1] where the problem was described which is very similar to the one I have faced with. I just can't get what is the difference between calling one flow pipeline from another and incapsulating the same code in one flow

RE: Cocoon and Oracle

2004-08-09 Thread Schultz, Gary - COMM
Following the wiki doc, additional questions: Section 1.5 Comments from the readers, there is a comment at the bottom that mentions the need for a jar file instead of classes12.zip. What would be the name for this jar file? Can I simply expand the zip and use it's contents to create the jar, or

[ CForms ] lookupWidget(path)

2004-08-09 Thread Timur Izhbulatov
Hi all! When I use v1 flow and the following code, I get the right value of the list: var form = new Form(cocoon.parameters[form-definition]); var list = form.getModel().list; But when I try using v2 and lookupWndget(list) list is undefined. Namely, I do the following thing: var

Re: Cocoon and Oracle

2004-08-09 Thread Ugo Cei
Schultz, Gary - COMM wrote: Section 1.5 Comments from the readers, there is a comment at the bottom that mentions the need for a jar file instead of classes12.zip. What would be the name for this jar file? Can I simply expand the zip and use it's contents to create the jar, or do I need to build

RE: Cocoon and Oracle

2004-08-09 Thread Jeff Jones
Gary, It's even easier than that, which is probably why no one ever mentions it... ...just rename classes12.zip to classes12.jar and you're done. JAR archives are actually based on the ZIP archive format, and the classes12.zip provided by Oracle turns out to be a valid JAR file without

CForms: finding the id of a deleted row in a repeater

2004-08-09 Thread Hugo Burm
Hello, I have a repeater and I want to do some javascript post processing after deleting a row. So all I need is the id of the deleted row (possibly more than one row). Is there a way to retrieve the id in the model when listening to the on-activate event of the delete-rows repeater-action? At

Re: Best approach for Unit Testing your Cocoon Application

2004-08-09 Thread Marcial Rosales
Title: Re: Best approach for Unit Testing your Cocoon Application Hi all, I am struggling trying to write unit tests for my cocoon application. I wrote an ActionTestCase class that extends the TestCase class from JUnit. This class facilitates the creation of the object model

RE: Cocoon and Oracle

2004-08-09 Thread Schultz, Gary - COMM
We run Oracle 8i. I renamed classes12.zip to classes12.jar. Checked with the DBA and added the correct servername and SID. I'm trying to get this to work by running tests based on both the SQL Transformer and ESQL samples, and documentation for SQL Transformer and ESQL. When I run a test

Problem building cocoon 2.1.5 and 2.1.5.1

2004-08-09 Thread Jens Maukisch
Hi, I've got a small problem with building cocoon 2.1.5 and 2.1.5.1 if I try to build the webapp (build webapp) it throws the following error: compile-core: Compiling 484 source files to D:\dev\c2151\cocoon-2.1.5.1\build\cocoon-2.1.5.1\c lasses

Re: Cocoon and Oracle

2004-08-09 Thread Ugo Cei
Il giorno 09/ago/04, alle 18:49, Schultz, Gary - COMM ha scritto: Is there a simple way I can check to make sure the Cocoon - Oracle connection is working? How is your connection defined in cocoon.xconf? Your JDBC URL should be something like: jdbc:oracle:thin:@hostname:port:sid If it is, try to

CLI - Bad File Descriptor

2004-08-09 Thread Carl Yestrau
Hello all, I am encountereing the following exception when using the CLI: Java.io.IOException: Bad File descriptor Any tips greatly appreciated, Carl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [ CForms ] lookupWidget(path)

2004-08-09 Thread JD Daniels
try: var form = new Form(cocoon.parameters[form-definition]); var model = form.getWidget(); var list = model.list; Timur Izhbulatov wrote: Hi all! When I use v1 flow and the following code, I get the right value of the list: var form = new Form(cocoon.parameters[form-definition]); var list

Re: CLI - Bad File Descriptor

2004-08-09 Thread Upayavira
Carl Yestrau wrote: Hello all, I am encountereing the following exception when using the CLI: Java.io.IOException: Bad File descriptor Can you give more info? What OS are you using? What version of Cocoon? Can you give a stack trace? Regards, Upayavira

RE: Cocoon and Oracle

2004-08-09 Thread Schultz, Gary - COMM
I would like to thank all who have responded to my inquiry. Here is some additional information. Connection is defined in cocoon.xconf as jdbc:oracle:thin:@servername:1521:oracleserviceID I checked with our DBA and the server hosting cocoon successfully connected to the server hosting Oracle

Re: Cocoon and Oracle

2004-08-09 Thread Ugo Cei
Il giorno 09/ago/04, alle 22:04, Schultz, Gary - COMM ha scritto: Could it be related to the location of the jdbc? I've tried with classes12.jar in Cocoon web-inf/lib folder, in Tomcat Common/lib folder and in the classpath. No. If Cocoon couldn't load the JDBC driver it would complain loudly

Write a file to a remote machine

2004-08-09 Thread milkwaybridge
I am writing a page to write a file to a remote machine. But I totally have no idea which componentI should use. I searched for source writing tranformer, but it seems that it doesn't have any configuration tage for user name and password, does it mean that it cannot write to a remote

CLI and URL Pathing

2004-08-09 Thread Carl Yestrau
Hello all, Does anyone have any experience with url pathing strategies and using the CLI? I have setup a a tree style (hierarchical) navigation that can go infinitely deep. Currently the paths are (absolute) but this seems to cause problems with the cli. Example: /cool_people.html

Re: Cocoon and Oracle

2004-08-09 Thread Edward Rayl
Schultz, Gary - COMM wrote: I would like to thank all who have responded to my inquiry. Here is some additional information. Connection is defined in cocoon.xconf as jdbc:oracle:thin:@servername:1521:oracleserviceID I checked with our DBA and the server hosting cocoon successfully

RE: [cocoon] RE: Cocoon and Oracle

2004-08-09 Thread Ernesto Echeverría
My grain of salt... Is it worth it? I believe so. What you invest learning these technologies will provide very valuable even when using other tools as well. For instance, you have to deal with xml technologies. Once you are past the database connection issue, you'll realize everything else

Re: Url

2004-08-09 Thread Adriano Smith
if i have a url http://mailxx.com/uid?pwd?key can uid, pwd and key be accessed using ? Quoting [EMAIL PROTECTED]: > Adriano Smith wrote: > > Is it possible to retrieve parameters passed in the url (through query > > > strings) using cocoon? > > > > > > > > Sure, using the "request"