Re: How to obtain a java.sql.Connection object in a flowscript?

2008-09-10 Thread Tony Edwards
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Tony Edwards Mob: 0411 636 761 Skype: anthony.b.edwards email: [EMAIL PROTECTED] http://vomoir.blogspot.com/ begin:vcard fn:Tony Edwards n:Edwards;Tony adr:;;7 Freyber

Re: How to obtain a java.sql.Connection object in a flowscript?

2008-09-10 Thread Tony Edwards
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Tony Edwards Mob: 0411 636 761 Skype: anthony.b.edwards email: [EMAIL PROTECTED] http://vomoir.blogspot.com/ begin:vcard fn:Tony Edwards n:Edwards;Tony adr:;;7 Freyber

Re: Get Metadata from database

2008-09-01 Thread Tony Edwards
----- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Tony Edwards Mob: 0411 636 761 Skype: anthony.b.edwards email: [EMAIL PROTECTED] http://vomoir.blogspot.com/ begin:vcard fn:

Re: Simple cocoon distribution

2008-07-21 Thread Tony Edwards
using an initialisation parameter point it at your cocoon application. This would let you build a cocoon site without having to build war files or edit anything in them. Is anyone else interested in this approach? -- Tony Edwards Mob: 0411 636 761 Skype: anthony.b.edwards email: [EMA

Re: two submit buttons on the form

2008-03-12 Thread Tony Edwards
mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Tony Edwards Mob: 0411 636 761 Skype: anthony.b.edwards email: [EMAIL PROTECTED] http://vomoir.blogspot.com/ begin:vcard fn:Tony Edwards n:Edwards;Tony adr:;;7 Freyberg Street;New Lambton;NSW;2305;Australia email;inter

Re: Antw: Print Scheduling in Cocoon

2007-04-23 Thread Tony Edwards
.com/users@cocoon.apache.org/msg31015.html or similar postings from me. Regards Martin >>> Tony Edwards <[EMAIL PROTECTED]> Montag, 23. April 2007 12:47 >>> Hi All, Does anyone have an example of print scheduling in Cocoon using Quartz or whatever? I have a r

Print Scheduling in Cocoon

2007-04-23 Thread Tony Edwards
Hi All, Does anyone have an example of print scheduling in Cocoon using Quartz or whatever? I have a requirement to print documents at a particular day and time etc and was just wondering if it was pretty straight forward to set up. Thanks for any advice, Tony ---

Re: Exiting flowscript by sending XML to a pipeline

2007-01-16 Thread Tony Edwards
I wrote a little item for the wiki a while back wherein I create and manipulate a dom document in flowscript then send the dom back to the sitemap for presentation. Hop onto the wiki and do a search for: FlowBasedXMLEditor

Re: sitemap get xml from pure java servlet

2006-12-18 Thread Tony Edwards
Hi James, Would the webservicesproxygenerator help you out here? I use it to call another web application written in Struts that returns the data as either XML or XHTML. I call it like this, passing through parameters as needed: Check out the docs for it. Hope this helps, Regards, Tony PS

Re: Pipeline result in a flowscript?

2006-10-10 Thread Tony Edwards
ult of the "webHierarchyLink" matcher in the sitemap as a dom document which can be further processed etc. Hope this helps. Regards, Tony (Edwards) Joerg Heinicke wrote: On 10.10.2006 17:49, Dev at weitling wrote: What's the best way to get the result of a pipeline for further p

Re: cocoon best editor ?

2006-10-05 Thread Tony Edwards
I use Eclipse with the JSEclipse plugin for my flow development plus the Sunbow plugin for Cocoon deployment. I'm still looking for a decent linux based xsl debugger (I use XSLerator from Marrowsoft. Its a Windows app but its bloody tops!) Eclipse has plugins aplenty for xml validation/develop

Re: XSLT table formatting problem

2006-09-06 Thread Tony Edwards
Try this: You're already at the /page element when you call the for-each so it can't find a /page child. (I don't know why it would work in XML-Spy, maybe its more lenient??) See how you go. Regards Tony Manuel Ottaviano wrote: *Hello cocoon users , I've a problem with a trasformation of an

Re: IE filepath error in flowscript - tried getName

2006-02-27 Thread Tony Edwards
E. Sorry about the confusion! Regards, Tony Tony Edwards wrote: Hi Daniel, I recall having the same problem a while back. I trolled around and found some javascript that would remove all but the filename (work from the end of the string until you find the first '\' kind of thing).

Re: IE filepath error in flowscript - tried getName

2006-02-27 Thread Tony Edwards
etValue() != null) { // test if user directory exists, if not, create it if (!userDir.exists()) { userDir.mkdirs(); } uploadWidget.getValue().copyToFile(userDir + java.io.File.separator + fileName); } - To unsu

Re: is there a BrowserAction?

2006-02-16 Thread Tony Edwards
Hi Stephen, You can use a selector and pass a parameter into the tranform: value="{global:version_num}"/>

Re: Create hsqldb tables

2005-11-20 Thread Tony Edwards
ables. http://hsqldb.org/doc/guide/apb.html Best Regards, Antonio Gallardo. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Tony Edwards Analyst/Programmer Dip Tea

Cocoon and Slide

2005-10-23 Thread Tony Edwards
ted' elsewhere through the slide api. Has anybody tried this? What's the secret? I'm trying to fiddle with the slide.xconf but to no avail. Regards, Tony -- Tony Edwards Analyst/Programmer Dip Teach PE Dip Comp. Studies p: 02 4941 9400 f: 02 4941 9499 -- This email

Re: dateTime widget ?

2005-09-26 Thread Tony Edwards
I'm interested! Any addition to the pool of cforms 'widgetry' is welcome!! Jean-Christophe Kermagoret wrote: Hello, I finally developed the datetime widget from the mattkruse lib. It merely adds 3 drop-down lists that may be used to select hours/minutes/seconds Anybody interested ? Jean-Chr

Re: How to evaluate an xpath expression against a dom tree in flow ?

2005-09-12 Thread Tony Edwards
found anything consistant ? Marc Tony Edwards a écrit : Hi Marc, I use the XPathAPI to navigate a DOM. eg: importClass(org.apache.xpath.XPathAPI); nl = XPathAPI.selectNodeList(document, sXpath); where sXpath could be something like xPath = "//authorityLink[linkNumber='" + lin

Re: How to evaluate an xpath expression against a dom tree in flow ?

2005-09-11 Thread Tony Edwards
Hi Marc, I use the XPathAPI to navigate a DOM. eg: importClass(org.apache.xpath.XPathAPI); nl = XPathAPI.selectNodeList(document, sXpath); where sXpath could be something like xPath = "//authorityLink[linkNumber='" + linkNum + "']"; I don't know if this is what you're after but I hope it help

Re: idea: log utility

2005-08-21 Thread Tony Edwards
Didn't version 2.0.4 have the ability to output log files as XML? (or am I dreaming!) I can vaguely remember setting a parameter somewhere that would enable log files to be rendered as xml. Has anybody else had this dream??? Regards, Tony Marc Salvetti wrote: Hello, it sounds a bit complex

Re: Closing Oracle database resultsets

2005-07-17 Thread Tony Edwards
Its OK! Version 2.1.7 closes the statement handles in the ScribtableConnection class! Fortunately it also seems to be backwards compatible with 2.1.5.1. Thanks anyway. Regards, Tony Tony Edwards wrote: Hello all, I've got a recurring problem with Oracle and flow. I know I'm

Closing Oracle database resultsets

2005-07-17 Thread Tony Edwards
Hello all, I've got a recurring problem with Oracle and flow. I know I'm doing this completely wrong and should be utilising a data persistence layer but that gets a bit new fangled for some of the managers around here so we're stuck with doing things 'the good old way'. I'm using flow to esta

Re: using sendmail action

2005-06-27 Thread Tony Edwards
Sergio, Here's the content of the email: I had to include mail functionality just last week and I approached the task with some trepidation as it seems that both the sendmail action and logicsheet are starting to lose favour with the advent of Cforms and flow. What to do? I did some scouring and s

Re: using sendmail action

2005-06-26 Thread Tony Edwards
Hi Sergio, I went for the send mail transformer as it was only thing I managed to get going. I gave up on the action. I wrote a response to a similar query on the 10 of February this year if you want to get some background and code on using the transformer. Regards, Tony [EMAIL PROTECTED] wro

Re: Obtaining sitemap globals in flow

2005-06-15 Thread Tony Edwards
var global = cocoon.getComponent(InputModule.ROLE + "Selector").select("global"); var webdavSource = global.getAttribute("webdav-source",null,null); Cheers, Geert Tony Edwards wrote: Hi folks, Is there a simple way of obtaining a variable set up in the sitemap sect

Obtaining sitemap globals in flow

2005-06-15 Thread Tony Edwards
Hi folks, Is there a simple way of obtaining a variable set up in the sitemap section? At the moment I'm passing the value through every time a flow function is called which can't be good: value="{global:webdav-source}"/>

Re: AW: CForms and Modular Database Actions

2005-06-15 Thread Tony Edwards
Hi Derek, I understand your dilemma as I'm not a Java developer by any stretch. One of the good things about Cocoon is that it allows you to achieve an objective in many ways. One of the bad things about Cocoon is that it allows you to achieve an objective in many ways! I think the task for most

Re: cocoon on websphere 5

2005-06-05 Thread Tony Edwards
Anderson wrote: Thanks for the tips. I figured I'd try deploying first w/out changing any of the settings. Everything seems to be working fine, except the db connection. This doesn't have anything to do with the classloader setting that were mentioned, would it? Thanks, Ben On 5/19

Re: cocoon on websphere 5

2005-05-19 Thread Tony Edwards
Hi Ben, I got one of the tech heads here at work to get it running under WSAS 5. There are a few things to consider: Under the Enterprise Application's Configuration tab, make sure you set Classloader Mode to 'Parent First'. Under the Local Topology tab, select the cocoon.war item and make sure

Re: Good Databases Tutorial?

2005-05-08 Thread Tony Edwards
Hi Chris, When I was starting a project that needed to hit databases and use CForms I picked apart the Petstore sample application. It shows how you can query databases from flow and push the results to and from cocoon forms. Its a bit heavy and overwhelming at first but if you take the time to

Re: get-remote-address - get-remote-host

2005-04-26 Thread Tony Edwards
Hi Beya, I use it to sort of 'log' remote users of the application (deployed across an intranet) and it does report the correct address of the requesting client. 127.0.0.1 is entered probably because you called the app through localhost. Hope this helps. Regards, Tony beyanet.com wrote: Hi, Try

Re: get-remote-address - get-remote-host

2005-04-25 Thread Tony Edwards
Hi, Try this: var clientIp = cocoon.request.getRemoteAddr(); Regards, Tony beyanet.com wrote: Hi, I want to receive these parameters and store them in a flowscript variable. I'm thinking something like: var userIP = cocoon.get-remote-address; How would I achieve this in flowscript? regards Uzo

Re: Email Capability

2005-04-11 Thread Tony Edwards
Title: Re: Email Capability Hey Adam, Have you had a look at the sendmail transformer? I cram stuff as a session attribute from within flow then call a pipeline which transforms it using the sendmail transformer. It works a treat. I included some details on the process on this list on the 10

Re: FlowScript and DOM, question

2005-03-29 Thread Tony Edwards
Title: Re: FlowScript and DOM, question Hello Jakub, I add the document as a session attribute, then use the session-attribute generator to process it in the pipeline. To wit:                          

Re: WebService Proxy

2005-03-01 Thread Tony Edwards
Title: Re: WebService Proxy Hi Andrea, I use the webservicesproxy generator (wspg) to call a struts action which returns the result as xhtml to be displayed by cocoon. Basically we're trying to incorporate chunks of an existing web application into my new cocoon app. Cocoon calls the struts

Re: Dispatching flowscript commands

2005-02-15 Thread Tony Edwards
Title: Re: Dispatching flowscript commands Hi Mark, Is this similar to what you're after?     //If user selects 'newUser', display new user form     if ("newUser".equals (userForm.submitId)) {     print("New User selected!");     newUser();     return;     } else if ("userSearch".e

Re: alternative to sendmail logicsheet?

2005-02-10 Thread Tony Edwards
Title: Re: alternative to sendmail logicsheet? Hi Rick, Glad to help. Its always good to contribute at least something to such a great community as this! Cocoon is brilliant and the amount of support derived from this list I find is outstanding. I didn't get the samples to work out of the bo

Re: alternative to sendmail logicsheet?

2005-02-09 Thread Tony Edwards
Title: Re: alternative to sendmail logicsheet? Rick, I had to include mail functionality just last week and I approached the task with some trepidation as it seems that both the sendmail action and logicsheet are starting to lose favour with the advent of Cforms and flow. What to do? I did s

Re: Multivalue field - setting values

2005-01-12 Thread Tony Edwards
ryone, Tony Tony Edwards wrote: > And while we're at it: > I've set the list contents from an XSP which obtains the data from the > database, how do you get the unselected list items from within flow? > > > Tony Edwards wrote: > > > Hello All, > > I&#x

Re: Multivalue field - setting values

2005-01-12 Thread Tony Edwards
Title: Re: Multivalue field - setting values And while we're at it: I've set the list contents from an XSP which obtains the data from the database, how do you get the unselected list items from within flow? Tony Edwards wrote: > Hello All, > I'm trying to set the v

Multivalue field - setting values

2005-01-12 Thread Tony Edwards
Title: Multivalue field - setting values Hello All, I'm trying to set the values of a multivalue listbox from flow and I 'm having a few issues. I've  read a few entries in various blogs and Wiki pages but I just can't seem to get the thing to fly. Reading multiple values set in the contro

Re: Manipulating the DOM in flowscript

2004-11-29 Thread Tony Edwards
Title: Re: Manipulating the DOM in flowscript Hi guys, I wrote a simple wiki page about creating and editing xml documents using flow: http://wiki.apache.org/cocoon/FlowBasedXMLEditor I attached a little flowscript file which exposes most of the DOM api calls in flow. It might be a little

log4j or Chainsaw in Cocoon

2004-09-28 Thread Tony Edwards
Hello all, Has anyone incorporated Chainsaw as the default logger for Cocoon as an alternative to the now seemingly defunct LF5? And/Or how does one use Log4J as the primary logger in Cocoon? Thanks, Tony - To unsubscribe, e-mail

Cayenne in Cocoon

2004-09-27 Thread Tony Edwards
Hi People, I'm trying to incorporate the Cayenne ORM system into Cocoon and am getting an error when the Cocoon servlet starts up. The error message is: java.lang.NoSuchMethodError: org.apache.log.output.ServletOutputLogTarget.(Ljavax/servlet/ServletContext;Lorg/apache/log/format/Formatter;)V o

Re: loading xml from webdav

2004-09-27 Thread Tony Edwards
Hello François, I use webdav to store a bunch of xml files for our help/documentation system. I had a similar problem but I solved by using http://webdav/slide/ as well as webdav://...!! If you're getting errors with the webdav: protocol, try using http: I'll dig through my code and work out whe

Re: generate XML from flowscript

2004-08-25 Thread Tony Edwards
Hi guys, I sent Eric my function off list but I'll add the contents and serving suggestion to the Wiki. Stand by Tony [EMAIL PROTECTED] wrote: its an interesting point can you create a wiki page? -- stavros On Wed, 25 Aug 2004, JACOB, ERIC wrote: Hi Tony, I can't attest as to its effi

Re: Flow Control - XML Editing

2004-08-24 Thread Tony Edwards
Hi Eric, I had a brief mail exchange with Mark Lundquist on the 5th August outlining my approach to flow based XML editing. Have a look and see if its detailed enough to get you started, otherwise let me know. Regards, Tony JACOB, ERIC wrote: Hi, Is it possible to edit/modify a XML file with flo

Re: generate XML from flowscript

2004-08-04 Thread Tony Edwards
obbled together from the flowscript. Hope this helps! Tony Mark Lundquist wrote: On Aug 4, 2004, at 6:18 PM, Tony Edwards wrote: Hi Mark, I'm using flow to create and modify an xml document which I then send through a pipeline for display. I've forgotten where I pinched the code f

Re: generate XML from flowscript

2004-08-04 Thread Tony Edwards
Hi Mark, I'm using flow to create and modify an xml document which I then send through a pipeline for display. I've forgotten where I pinched the code from but here's an example: importClass(org.apache.xpath.XPathAPI); importClass(javax.xml.parsers.DocumentBuilderFactory); importClass(org.w3c

Re: [CForms] Setting dynamic values in selection-list?

2004-07-19 Thread Tony Edwards
Hi Stephan, I use good old xsp to query a database and return the results as fd-selection items. Behold: int hcy_num = ; String hierarchy = .trim();

Re: Accessing global config values in sitemap through flow scripts

2004-07-15 Thread Tony Edwards
Hi Kranga, If you look in the slide sample's flow, its opening stanza has some code that extracts the globals form the sitemap, to wit: //Obtain reference to the global section of the sitemap: var global = cocoon.getComponent(InputModule.ROLE + "Selector").select("global"); //get global values f

Cocoon FOM objects

2004-05-13 Thread Tony Edwards
Hi Cocooners, I'm a little confused. I'm trying to upload an xml file and process it through the sitemap using Flow. I've hacked the file upload example to suit my needs and I've got the file being uploaded to my 'upload-dir' which I've set in web.xml. I've got some code from an xsp I had lying a

Re: Best way to merge two xml files

2004-04-29 Thread Tony Edwards
Hi David, Check out cinclude. We have a documentation application that combines documents from multiple sources. Eg we have a primary, high level description document that can reference any number of subordinate process description documents. Each of these process descriptions can reference any

Binding form to selected element of XML

2004-04-22 Thread Tony Edwards
Hi people, I'm progressing nicely with my journey down the enlightened path of Woody/CForms, incorporating more of its wonderful features as I go. I'm now at the stage where I'd like to bind the content of a CForm to a selected element of a large XML document. Is there any way to programmatically

Woody Calendar Dropdown position

2004-03-04 Thread Tony Edwards
Morning all, I was fiddling with an application that I had ported form 2.1.3 to 2.1.4 and noticed a curious thing: the woody dropdown calendar widget was now being displayed in the top left corner of the screen and not underneath the text input as usual. This characteristic is only evident in Mo

Re: 2.1.4-dev --> 2.1.4 release No languages defined!

2004-03-03 Thread Tony Edwards
People, I mistakenly removed this line from my sitemap after moving to 2.1.4 and it worked! Look for this line in the components section and comment it out and see what happens. Regards, Tony Peter Lerche wrote: Hi Bertrand, I, also suspected the but it wasn't the at fault. So I am stil

Re: Error running 2.1.3 app in 2.1.4

2004-02-29 Thread Tony Edwards
"Stefan Burkard" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Saturday, February 21, 2004 3:14 AM >Subject: Re: Error running 2.1.3 app in 2.1.4 > > > > >>hi tony >> >>i'm just suggesting, but if you're using flow-script, try

Re: Continuation Not Defined Error

2004-02-29 Thread Tony Edwards
) I loaded the Woody flowscript sample and everything worked fine! Thanks heaps. Regards, Tony Antonio Gallardo wrote: Hi Tony: Are you put the endorsed libs in $TOMCAT/commons/endorsed dir? Also, better use Tomcat 4.1.30 Best Regards, Antonio Gallardo Tony Edwards dijo: Hello all, I'

Continuation Not Defined Error

2004-02-29 Thread Tony Edwards
Hello all, I've been running 2.1.3 and 2.1.4 under the bundled Jetty servlet with no problems but the time has come to get my application into production under Tomcat 4.1.24. I built a war file and installed it but whenever I run a flow application it throws up a '"Continuation" is not defined'

Re: .

2004-02-25 Thread Tony Edwards
Lads, I stuck a CocoonUserGroupAustralia entry on the Wiki just the other night. I'm using Cocoon in various projects up here in Newcastle. There's a few people I've noticed on the user list making submissions so its starting to blossom. Read the suggestions I made on the wiki and get in touch!

Problem with transform of aggregation

2004-02-25 Thread Tony Edwards
Hi Cocooners, Sorry about the lengthy post but I'm flummoxed! I have a somewhat perplexing issue in that I'm aggregating the output of 3 XSPs that collectively return information about an asset's booking and date details. If I save the XML generated from the aggregation and run it through the tr

Re: Realtime generation of Woody Forms

2004-02-16 Thread Tony Edwards
names etc. thanks for all your input! Tony Bruno Dumon wrote: On Sun, 2004-02-15 at 23:31, Tony Edwards wrote: Thanks for your responses, people. I added cocoon:/ to the URL but got this error: uri is not allowed to contain a scheme (cocoon:/ is always automatically used) Any though

Error running 2.1.3 app in 2.1.4

2004-02-15 Thread Tony Edwards
Folks, I'm still interested to hear if I can generate woody forms on the fly - but it isn't really a show stopper at this stage (I'm quite happy to just insert a configuration step that generates the necessary forms and move these to a 'production' area). In the meantime, I just downloaded the

Re: Realtime generation of Woody Forms

2004-02-15 Thread Tony Edwards
Thanks for your responses, people. I added cocoon:/ to the URL but got this error: uri is not allowed to contain a scheme (cocoon:/ is always automatically used) Any thoughts, Thanks, Tony Bruno Dumon wrote: On Fri, 2004-02-13 at 06:52, Tony Edwards wrote: Cocooners, I'm trying to gen

Realtime generation of Woody Forms

2004-02-12 Thread Tony Edwards
Cocooners, I'm trying to generate a woody form definition and template in real time from a Torque xml database schema. I read somewhere that it was theoretically possible to do this but I'm getting an error: "Could not parse form definition from file:/C:/cocoon-2.1.3/build/webapp/AuthorityMenu/t

Re: Problem with date format for a woody widget in xsp

2004-02-10 Thread Tony Edwards
Hi Alex, I had a similar problem saving data back to a MySql database. The database only recognises dates in -MM-dd format and the flowscript was outputting dates like so: EEE, d MMM HH:mm:ss Z (the same as your issue). I fiddled with the settings but it didn't change the resulting for

Re: FLOW & inserting data to SQL

2004-01-27 Thread Tony Edwards
Hi Joose, check out the Petstore example for ideas on how to access databases from flow. I'm using flow to access an Informix database and a MySql database. Its a snap. I take Joerg's point about the separation of concerns, however but if you design your flowscripts carefully you can still achiev

Re: InflatedFileGenerator

2003-11-19 Thread Tony Edwards
Hi Jean, We use the OpenOffice format a fair bit here for other projects. I did write a simple generator to extract the 'content.xml' from the .sxw file but it was a bit of a kludgey hack as my java skills are still a bit infantile! I'd be interested in utilising your offering if that's possible

Re: Problems building 2.1.2

2003-11-06 Thread Tony Edwards
00:09, Tony Edwards wrote: Hello again, Still no joy compiling 2.1.2 obtained from cocoon-latest-srs.zip in the downloads section of the web site. Previous version built without incident. The difficulty is I'm not a java programmer and I get a little nervous when things don't

Re: Problems building 2.1.2

2003-11-06 Thread Tony Edwards
int) location: class org.mozilla.javascript.tools.debugger.Main db.setOptimizationLevel(OPTIMIZATION_LEVEL); ^ 2 errors Thanks, Tony Tony Edwards wrote: Good Morning People, I downloaded the latest release (version 2.1.2) last night and tried to build the war file but it re

Problems building 2.1.2

2003-10-27 Thread Tony Edwards
Good Morning People, I downloaded the latest release (version 2.1.2) last night and tried to build the war file but it returned the following error: "C:\cocoon-2.1.2\src\java\org\apache\cocoon\components\flow\javascript\JavaScriptInterpreter.java:198: cannot resolve symbol symbol : method setOpt

Re: xslt/transformer question

2003-10-16 Thread Tony Edwards
Title: Re: xslt/transformer question Hi Geert, I have written a basic xml editor in cocoon that can result in large files in region of 150 to 200kb +. Obviously at the upper end of the file size it gets a bit sluggish but works none the less. I use the source writing transformer to output th

RE: Cocoon Database samples not working?

2003-08-14 Thread Tony Edwards
Hi Derek, I've had no problem with databases at all with 2.0.4 and Java 1.4.   Did you copy your jdbc jar file to the WEB-INF/lib folder of Cocoon (if it was a new installation) and did you add the appropriate entries to the cocoon.xconf and web.xml files? I don't want to sound as though I'm

RE: Castor

2003-07-29 Thread Tony Edwards
Ralph, We use Castor to generate xml from beans using an xsp-action to create an instance of the bean then we use the generator to point to the castor config xml file: http://castor.exolab.org/cocoontransfomer";> The examples kind of explain the usage. Check out my reply to U

RE: Using JNDI datasources in Tomcat

2003-07-28 Thread Tony Edwards
get hold of the datasource before TC has initalized JNDI from the further down the file. (Tomcat bug? NB the DTD does not allow to invert the lines in web.xml.) HTH, Alfred. > -Original Message- > From: Tony Edwards [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 29. Juli 2003 02:16

Using JNDI datasources in Tomcat

2003-07-28 Thread Tony Edwards
Folks, Has anyone used the JNDI datasource function in Tomcat. There is a HowTo on wiki (http://wiki.cocoondev.org/Wiki.jsp?page=JNDIDatasourceWithJBoss3.0.6) but I can't seem to apply the same principle to Tomcat. Can anyone provide me with a clue? Thanks, Tony

RE: HTMLArea

2003-07-24 Thread Tony Edwards
Title: RE: HTMLArea Hi Peter, thanks for the reply. I know I'm getting close, but I just changed the generator from request to stream and I get the following error: "Content is not allowed in prolog". Obviously something is being prepended to the stream and causing an upset. Using the RequestG

RE: HTMLArea

2003-07-23 Thread Tony Edwards
4:52 PM To: [EMAIL PROTECTED] Subject: Re: HTMLArea Tony Edwards wrote: > Hello again, > I'm trying to integrate the nifty htmlArea widget from > http://www.interactivetools.com with Cocoon 2.0.4 and I'm just trying > to figure out if its best to use the StreamGenerator

RE: HTMLArea

2003-07-23 Thread Tony Edwards
Title: HTMLArea Sorry folks, I went back through the mail archive and found other references to this issue! I'll have a squiz through them. If anyone feels like assisiting me in any case, feel free!   Tony -Original Message-From: Tony Edwards [mailto:[EMAIL PROTECTED

HTMLArea

2003-07-23 Thread Tony Edwards
Title: HTMLArea Hello again, I'm trying to integrate the nifty htmlArea widget from http://www.interactivetools.com with Cocoon 2.0.4 and I'm just trying to figure out if its best to use the StreamGenerator or the HTMLGenerator. If you're better off using the HTMLGenerator, what do you enter

RE: Beans as input for cocoon

2003-07-16 Thread Tony Edwards
Title: RE: Beans as input for cocoon Uwe, Its in the cocoon-scratchpad.jar. You initialise it thus:     xml/test-mapping.xml         My pipeline segment for the castor bit looks like this:                                        

RE: Beans as input for cocoon

2003-07-15 Thread Tony Edwards
Title: RE: Beans as input for cocoon I'm using the Castor transformer to convert a large, nasty bean into xml and then into HTML/PDF. It works really well, seems fast (the slowest bit is the bean accessing the database to get its data) and best of all it manages to convert all ArrayLists and o

Web services best practice

2003-07-10 Thread Tony Edwards
Title: Web services best practice Hi guys, I've been trying to get a handle on establishing a cocoon based application as a web service (ie a web service server). My question is this: What's the best way to implement this? Do I use the WebServiceProxyGenerator or the AxisRPCReader and what are