Re: InputStream as source or generator

2004-05-20 Thread Geoff Howard
Craig Christophersen wrote: The data I will be getting from the bean is xml tagged. Most of it will be a full section of a document, tagged by sectionparagraphlineword, etc. I am hoping to find a way to stream that into the pipeline and output as an html page. Looking at Betwixt I am not sure

Re: [Heads-Up] List Etiquette Return Recipts (Was: Re: Asking again Portal framework login issue)

2004-05-12 Thread Geoff Howard
Sylvain Wallez wrote: Tony Collen wrote: This is a just general FYI for anyone who posts to the user and -dev lists: *Please un-set the option which causes your mail client to request a return receipt!* ... A good way to invite people to disable this option is for everybody to send the

Re: Problem: Enabling uploads

2004-04-24 Thread Geoff Howard
can confirm that, please enter a bug report on bugzilla. Shouldn't be hard to track down but I can't personally do it now, and don't want it to get lost. Geoff On Tue, 20 Apr 2004, Geoff Howard wrote: Steve Schwarz wrote: Tuomo I believe the behavior changed in 2.1 so that that is no longer

Re: Flowscript to Uploadfile

2004-04-20 Thread Geoff Howard
Jeroen Reijn wrote: Hi, maybe i'm thinking in the wrong direction, but the error messege says that it's getting a String. Is your form type correct(multipart) ? Just my 2 cents. That (String) can also happen if uploads are not turned on in web.xml - in case these are different webapps, or on

Re: Problem: Enabling uploads

2004-04-20 Thread Geoff Howard
Steve Schwarz wrote: Tuomo I believe the behavior changed in 2.1 so that that is no longer true: http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithCocoon2.1 Steve Exactly - and the general security weakness of the old system (unlimited uploads to any url handled by any cocoon server with

Re: Serving arbitrary OutputStreams with Cocoon

2004-04-13 Thread Geoff Howard
Oscar Picasso wrote: Hi, I have a Java application that can generate Postscript or PDF to OutputStreams. I would like to be able serve these OutputStreams with Cocoon. I have looked at ReaderResource but it seems to read resources from the file system. I also looked at implementing a Serializer

Re: xml file caching ??

2004-04-06 Thread Geoff Howard
Jim Emerson wrote: Hi All, I'd like an example of how to cache an xml file in a pipeline, I haven't found any examples online, the documentation helped a little but didn't explain how to do it. I have this in my sitemap componenents: map:pipes default=caching map:pipe

Re: Logging all HTTP Requests to a database

2004-04-06 Thread Geoff Howard
Steve Krulewitz wrote: Surjan Singh wrote: I already have a Component that can be called in an action which logs request details asynchronously to a database. What I'd like to do, is to somehow use the same Component to log _all_ requests. I'm not sure if this is the answer you're looking

Re: WebGate Availability

2004-04-05 Thread Geoff Howard
This continues to look good - wish I had time right now to play with it. I'm curious about how you integrated the wordnet dictionary searching. It looks like they are written in C - did you use JNI, or Runtime.exec(), direct database access, etc? Geoff [EMAIL PROTECTED] wrote: I just

Re: Strange errors with IE and multipart forms - HELP!!

2004-03-30 Thread Geoff Howard
Mark Lundquist wrote: On Mar 30, 2004, at 10:42 AM, Marcin Okraszewski wrote: Hi, Users of Internet Explorer experiences a strange error using my webapp. Sometimes it works, and sometimes the IE says (a translation from Polish): It isn't possible to find server or an error of DNS in Internet

Re: 95 Warnings later...

2004-03-24 Thread Geoff Howard
George Hester wrote: Building the latest Cocoon. Why and how to fix. Thank George Hester Probably no need. What were the warnings? Did the build report that it was successful or failed? Geoff - To unsubscribe, e-mail:

Re: Calendar Generator

2004-03-23 Thread Geoff Howard
Alan wrote: * Geoff Howard [EMAIL PROTECTED] [2004-03-23 12:27]: Alan wrote: I asked this question. Now I'm back. :^) Would the above simply generate a calendar without an iCal source? My blog entries are not stored in iCal. Nope. But in this case, you'd need to find a way to convert

Re: [RT] Re: Calendar Generator

2004-03-21 Thread Geoff Howard
Ryan Hoegg wrote: Geoff Howard wrote: Alan wrote: I'd like to generate an XML calendar for navigation of my blog. Is there a Calendar generator for Cocoon? One doesn't yet exist - how would you picture it working? Geoff WARNING: I tried to compress many hours of brainstorming over two

Re: Calendar Generator

2004-03-21 Thread Geoff Howard
://www.arachnedesign.net On Mar 20, 2004, at 6:40 PM, Geoff Howard wrote: Alan wrote: I'd like to generate an XML calendar for navigation of my blog. Is there a Calendar generator for Cocoon? One doesn't yet exist - how would you picture it working? Geoff

Re: Revising Documentation (not as off-topic as one might think)

2004-03-20 Thread Geoff Howard
John Lianoglou wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey folks, I know there's a whole mailing list dedicated to the documentation, but I've tried posting there in the past, and it doesn't seem very productive, as it winds up being a sea of Wiki update notifications... In fact,

Re: Calendar Generator

2004-03-20 Thread Geoff Howard
Alan wrote: I'd like to generate an XML calendar for navigation of my blog. Is there a Calendar generator for Cocoon? One doesn't yet exist - how would you picture it working? Geoff - To unsubscribe, e-mail: [EMAIL

Re: performance with transformation on BIG xml files

2004-03-18 Thread Geoff Howard
[EMAIL PROTECTED] wrote: So nobody ever served big xml files with Cocoon ? Don't confuse no answer given with no answer existing. I have not personally (although I was involved with using Cocoon to present the bible in xml format - but we split it up into 66 files - one file per book - instead

Re: HSQLDB Trigger

2004-03-15 Thread Geoff Howard
Johannes Goerke wrote: Hello, I've written a Trigger for my HSQLDB. Trigger classes in HSQLDB are Java - classes implementing org.hsqldb.Trigger. They have to be in the CLASSPATH of the JVM that is running HSQLDB. Normally something like java -classpath hsqldb.jar;MyTriggers.jar

Re: Eventcache - Invalidate from XSP?

2004-03-12 Thread Geoff Howard
Thomas Zehetbauer wrote: Is it possible invalidate cache entries from an XSP page? Yes, but I'm not sure it should be encouraged According to the samples one can either use flowscript (event.js) or the CacheEventAction to invalidate entries. I would however prefer to raise the necessary

Re: Eventcache - Invalidate from XSP?

2004-03-12 Thread Geoff Howard
Thomas Zehetbauer wrote: On Fre, 2004-03-12 at 08:40 -0500, Geoff Howard wrote: Hopefully you meant an XSP action. No, I mean an XSP page. I use a Java bean to update the database and output a XML document containing some information about this update. Do you recommend another approach

Re: Jetty/Cocoon Config Question

2004-03-12 Thread Geoff Howard
Steve Schwarz wrote: Hi I've been using the 2.1 bundled Jetty and would like to change the configuration to remove the cocoon from the uri as described here (for Tomcat): http://cocoon.apache.org/2.1/faq/faq-configure-environment.html#faq-N10005 Can someone give me the clue for how to setup

Re: Indexing cocoon for search engines

2004-03-11 Thread Geoff Howard
Schultz, Gary - COMM wrote: After trying to get this working, I've determined I'm having trouble getting cocoon indexed properly outside of the Lucene example. Eventually I need to have Cocoon indexed by Google, Inktomi etc. Yesterday someone posted a reply showing that something served by Cocoon

Re: Component initialization at cocoon startup

2004-03-11 Thread Geoff Howard
Torsten Curdt wrote: Viswashanti Kadiyala wrote: Thanks for the reply. I did readup on Avalon lifecycle doc. And I also implmented the Configurable interface. But the problem i am facing is that cocoon loads up Components dynamically (i.e) when they are first referred. What i want is

Re: Q: I wrote my custom component - and now?

2004-03-10 Thread Geoff Howard
Francesco Rossi (Milano, Italy) wrote: Hi y'all I just finished writing my own custom component - a transformer - following precious advice I found in the book Cocoon: building XML applications everything went pretty smooth so far what got me a little stuck is: what JAR files in the WEB-INF/lib

Re: Packages naming best practises

2004-03-08 Thread Geoff Howard
Oscar Picasso wrote: Hi, I am writing a Cocoon application. I would like to avoid renaming my packages in case there are useful for the cocoon community. Let's say I have the following classes: // Sitemap components - com.mycompany.cocoon.generation.CacheableVelocityGenerator -

Re: Problems Loading Generator Component

2004-03-08 Thread Geoff Howard
Joel Sookram wrote: Thanks for your response. I'm using the Jetty server provided with Cocoon 2.1.3. I did restart the server several times but I keep getting the same error. I know this could be a deployment problem but it is quite stubborn. Is there a location besides the

Re: Cocoon 2.1.4 and ProcessingException error with 'large' xml file ?

2004-03-05 Thread Geoff Howard
Stefan Geelen wrote: Hi, when indexing some XML files I get this strange error: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Cannot parse!: org.xml.sax.SAXParseException: The string -- is not permitted within comments. column: 18

Re: How to set properties for jdbc connection

2004-03-05 Thread Geoff Howard
Vlad Ali wrote: hi all again! i read docs on coocoon.org cocoon.wiki but i hasn't found answer on may question I need to set two properties for my jdbc connection (for xsp page) (mySQL driver) useUnicode = true; characterEncoding = Cp866 if i use xsp:logic...

Re: binding params in dynamic queries in ESQL

2004-03-05 Thread Geoff Howard
Joel McConaughy wrote: It WOULD be interesting if that's what I did. I actually didn't end up using any bound parameters; just dynamically created the statement. Are you required to use a prepared statement? If so, I'd be interested in why -- it may be somethig I need to do with my app as

Re: binding params in dynamic queries in ESQL

2004-03-05 Thread Geoff Howard
Geoff Howard wrote: How are you protecting against SQL Injection attacks? esql:queryselect * from foo where foo.x = 'xsp-request:get-parameter name=bar/'/esql:query if you take myVar in any way from a request parameter, what happens if I pass in a value like bar=abc;delete%20from%20foo (try

Re: [XConfToolTask] java.net.ConnectException: Connection timed out: connect

2004-03-02 Thread Geoff Howard
, it'll fix it? Maybe - we did upgrade to Xerces 2.6.2 from 2.6.1 about six days ago. You may just try upgrading Xerces (I think Xpatch will use the version in tools/lib??) Geoff Thanks, -Alex --- Geoff Howard [EMAIL PROTECTED] wrote: Alex Romayev wrote: Hi, Most of the time when I

Re: [XConfToolTask] java.net.ConnectException: Connection timed out: connect

2004-03-02 Thread Geoff Howard
Joerg Heinicke wrote: On 02.03.2004 21:48, Geoff Howard wrote: Alex Romayev wrote: Hi, Most of the time when I run XConfToolTask, it works fine, but sometimes I get the following error: IOException: java.net.ConnectException: Connection timed out: connect Any idea what's the problem here

Re: NullPointerException @ cocoon+ mysql //thank you!

2004-02-29 Thread Geoff Howard
Liqiao Han wrote: I set up a mysql server in my own machine. and it work fine with my cocoon. does it say that mysql driver works fine? I am almost frustrated... That is a strong indication that the IP access permissions are not set up correctly. What you posted before looked correct, but

Re: NullPointerException @ cocoon+ mysql //thank you!

2004-02-28 Thread Geoff Howard
Liqiao Han wrote: Textor, thank you for your reply, actually i set a user and password, still doesn't work I just find the message sent by my machine contains no data at all following is what I get from windump. I don't know if this has something to do with the different os of my machine

Re: Aggregating unknown sources

2004-02-26 Thread Geoff Howard
Alex Romayev wrote: I'm trying to parse an html page, which contains links to other pages, which I need to aggregate. I understand I can develop a pipeline like this: map:match pattern=links map:generate type=html src=http://foo.org/ map:transform src=create-links.xsl/ map:serialize type=xml/

Re: Aggregating unknown sources

2004-02-26 Thread Geoff Howard
Alex Romayev wrote: Oh, good point... feel silly now ;-) :). Don't. --- Geoff Howard [EMAIL PROTECTED] wrote: Alex Romayev wrote: I'm trying to parse an html page, which contains links to other pages, which I need to aggregate. I understand I can develop a pipeline like

Re: Starting problem with Cocoon

2004-02-25 Thread Geoff Howard
Liesen, Dr. Arndt wrote: Hello, here is an absolute novice to Cocoon trying to get running 2.0.4 under Tomcat 3.2. Instead of the Welcome page http://localhost:8080/cocoon gets me a (judging from the format: cocoon - ) page Internal servlet error indicating Cocoon was not initialized. Cannot

Re: ESQL update and select statements in the same map:match problem

2004-02-25 Thread Geoff Howard
It's not a bug -- and I wouldn't recommend using a workaround like the one below (which would probably work). Don't try to modify the data model while it's being turned into sax (the job of the generator). Other non-MVC friendly frameworks force this but Cocoon almost forces you not to

Re: Error compiling fresh CVS download

2004-02-22 Thread Geoff Howard
Johan Kok wrote: Got the following error trying to compile cocoon after CVS download: C:\Apache\cocoon\cocoon-2.2\src\java\org\apache\cocoon\components\flow\AbstractI Don't use 2.2 yet. http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=107600552608370w=2 Geoff

Re: having fun with wiki ?

2004-02-22 Thread Geoff Howard
Stéphane Delort wrote: Hello, As I'm trying to understand how to run actions, I had a look at this wiki page : http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadWithAction Once I downloaded the file attached I had the surprise to discover that the .jsp was in fact a .jpeg : $file

Re: [Flow] Releasing components

2004-02-21 Thread Geoff Howard
Andreas Hartmann wrote: Hi Cocoon community, I just took a look at the cron block sample. It obtains a component: cocoon.getComponent(Packages.org.apache.cocoon.components.cron.JobScheduler.ROLE); but I can't find the place where it is released. Is this done automatically now? Not (yet?)

Re: Incomplete image requests

2004-02-21 Thread Geoff Howard
beyaNet Consultancy wrote: forgot to attach the the svg file, here it is I just looked quickly at your xsp and before we get any further into this, can you explain why you're not using an image/database reader for this? Is it because of the hibernate support? I don't see any purpose for

Re: combining coocon with my web application

2004-02-19 Thread Geoff Howard
reza x wrote: hi all. I am going to combine cocoon with my current framework and web application.I don't want use the WAR file which is ready in cocoon distribution. how can i do this combination? This might be an area where if you have to ask, I don't recommend you try might apply. the only

Re: FileUploadsWithFlow problem

2004-02-16 Thread Geoff Howard
Mark Lundquist wrote: On Feb 16, 2004, at 5:03 AM, Bert Van Kets wrote: Hmmm... well, it looks like if you use a relative path there, it's relative to the working directory of the process that started the servlet container. I'm using Jetty on Unix, so YMMV. Anyway, I do this:

Re: Processing issue.....

2004-02-15 Thread Geoff Howard
beyaNet Consultancy wrote: Hi, I am having problems with an image string which prints the string to the screen instead of loading the image! 1. in my xsp page I first build up the image string as so: xsp:logic String num = 39; StringBuffer sb = new StringBuffer() .append(lt;img src=\)

Re: org.apache.cocoon.transformation.SourceWritingTransformer

2004-02-12 Thread Geoff Howard
Anthony Davies wrote: Hi, I'm trying to get this transformer working so that I can write xml on the fly on my server. Unfortunately, I can't get this component to work. What error do you get? The relevant sitemap bits as I have them are: ... altersubmit.xsl is: ... xsl:template match=/

Re: upload dir cleared at Cocoon startup

2004-02-11 Thread Geoff Howard
Bert Van Kets wrote: Hi all, I have a very annoying problem regarding uploads. To be able to do multi part uploads I went to web.xml and set the enable-uploads init-param to true and the upload-directory to data (no quotes of course). As I need ony one upload directory, it looked like the obvious

Re: Excel Spreadsheet Generator|Transformer

2004-02-11 Thread Geoff Howard
Sure - submit a patch to bugzilla and we'll take a look at it. Won't make it in 2.1.4 which now looks once again like it'll be this week, but it'd be considered after that. Geoff JD Daniels wrote: Yes!! I was just about to start something like it. :) JD Derek Hohls wrote: I think it

Re: Windows/Tomcat/Cocoon Installation --htm attached.

2004-02-11 Thread Geoff Howard
Michael Wolf wrote: what about putting the info on the wiki-page? So people don't have to keep this email and people not in this list can access the information too. That'd be great, but there is very little here which is specific to your set up. These same instructions should work for: 1) any

Re: FileUploadsWithFlow problem

2004-02-11 Thread Geoff Howard
Bert Van Kets wrote: Hi all, I have finally gotten the FileUploadsWithFlow sample working without errors, but I still can't see anything arriving on the server. :-( Finally got a chance to look at this tonight, and I think I have answers. I have not tested any of this, so it's all fresh from 5

Re: Is it possible to have poolable actions ?

2004-02-10 Thread Geoff Howard
MAHE Vincent FTRD/DIH/REN wrote: Do you mean that every action already implements the Poolable interface ? If so, why do I have these messages about decommissioning instance of ? Some of the base action classes do, so it depends on your inheritance tree. If your action just implements Action

Re: A notebook for Cocoon development

2004-02-10 Thread Geoff Howard
, do you get the same behavior deployed on Jetty? (either the bundled version or the full version from mortbay.org) - Are there any symptomatic errors in cocoon's or tomcat's logs? - How do you restart? - Which Cocoon blocks do you have installed? Geoff Geoff Howard wrote: Brent L Johnson wrote

Re: Memory Leak with Tomcat (was Re: A notebook for Cocoon development)

2004-02-10 Thread Geoff Howard
Brent L Johnson wrote: None that I've noticed. But unlike John, I dont wait for OutOfMemory.. once performance drops I can't stand it so I just restart Tomcat. I thought you were saying this problem spanned restarts - obviously we're talking about re-deploys in a running container then. So

Re: ClassNotFoundException and not unique container name : cocoon-portal

2004-02-09 Thread Geoff Howard
Bert Van Kets wrote: Hi all, I just did an update of my CVS Head and built the whole thing (clean built!). Checking the logs I saw that I got an ClassNotFoundException org.exolab.jms.jndi.InitialContextFactory. So, I go to Sourceforge, get the needed classes, build and add the lib to Cooon. Now,

Re: ClassNotFoundException and not unique container name : cocoon-portal

2004-02-09 Thread Geoff Howard
Sorry, didn't finish my sentence: Geoff Howard wrote: If you do need jms, either get OpenJMS, start it, and put its client jar in WEB-INF\lib (and/or in %COCOON_HOME%\optional so it's added there after any future rebuilds) or configure the JMS block in cocoon.xconf to use some other jms

Re: ClassNotFoundException and not unique container name : cocoon-portal

2004-02-09 Thread Geoff Howard
Bert Van Kets wrote: Checking the logs I saw that I got an ClassNotFoundException org.exolab.jms.jndi.InitialContextFactory. So, I go to Sourceforge, get the needed classes, build and add the lib to Cooon. Yes, this comes from the jms block which by default is configured to use OpenJMS but we

Re: ClassNotFoundException and not unique container name : cocoon-portal

2004-02-09 Thread Geoff Howard
was not refering to the problem I reported. :-/ The cocoon-portal duplicate container name only appears when you add the openJMS library to Cocoon, so that is why I reported it in one mail. Bert - Original Message - From: Geoff Howard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday

Re: A notebook for Cocoon development

2004-02-09 Thread Geoff Howard
Brent L Johnson wrote: I've noticed something very similar. I've got a production box running right now out of Florida and it runs Cocoon with Tomcat just fine.. been running for well over a month now (with small amounts of traffic though, since it isnt scheduled to go live until next month). But

Re: FileUpload with Cocoon

2004-02-08 Thread Geoff Howard
Nicolas Toper wrote: Hi, I'm writing an XSP to manage uploading of file and I'm wondering how do you know which class is used between PartOnDisk and PartInMemory? I thought the wiki page answered this pretty clearly. PartOnDisk is used when autosave-uploads is set to true, PartInMemory when it

Re: [BUG ?] ModuleHelper is not setup correctly

2004-02-07 Thread Geoff Howard
Found that the input module logicsheet was broken in 2.1.3. Just now committed a fix for this which will be in the imminent 2.1.4 release. see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26754 Geoff Luca Morandini wrote: Today I tried to switch from 2.1.2 to 2.1.3. After the

Re: Encoding Params in the Sitemap

2004-02-07 Thread Geoff Howard
Brent L Johnson wrote: Is there a way I can encode the {request-param:paramname} in a sitemap? I'm trying to use a request parameter in the HTMLGenerator as part of a GET request, but using {request-param:paramname} decodes the parameter. So if the parameter has a space - instead of putting a

Re: Multipart form upload

2004-02-06 Thread Geoff Howard
Chris Wilder-Smith wrote: Geoff, On Thu, 2004-02-05 at 19:45, Geoff Howard wrote: Chris Wilder-Smith wrote: snip I get ** request class: org.apache.cocoon.environment.http.HttpRequest Right - and that's the point. Sorry I didn't explain more, but a change was made to the environment

Re: Multipart form upload

2004-02-06 Thread Geoff Howard
Chris Wilder-Smith wrote: Geoff, On Fri, 2004-02-06 at 11:42, Geoff Howard wrote: snip hmmm, I would be suspicious that uploads were broken in 2.1.3 but I really don't think so. Can you triple check that the web.xml used in this case really has enable-uploads set properly? After that, i'd

Re: Multipart form upload

2004-02-06 Thread Geoff Howard
Chris Wilder-Smith wrote: Geoff, On Fri, 2004-02-06 at 14:08, Geoff Howard wrote: snip Are you using cinclude or something like it? Can you send the relevant bit of your pipeline? Also, try the upload sample if you have it or can hack it into your set up (really just a pipeline and associated

Re: cocoon +jetty +vhosts

2004-02-05 Thread Geoff Howard
[EMAIL PROTECTED] wrote: hi, How can i configure Jetty to have a particular sub-sitemap mounted on a given vhost? eg: vhost1 - mounts sitemap in dir1 vhost2 - mounts sitemap in dir2 ... You can do that in the root sitemap with a host matcher. Geoff

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-05 Thread Geoff Howard
Phil Blake wrote: Ok, I think the proposal to do this is not going to go anywhere, but there is a solution. You'll probably need to give more info (or remind us of it) of what code you are calling this from (action, flow, generator, transformer, etc.). While you are at it, can

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-05 Thread Geoff Howard
Phil Blake wrote: While you are at it, can you give more info about what part of the Cayenne API relies on this? It is odd that they need an http session object - what if you wanted to use this code outside of a webapp? From what I can see, cayenne is simply using the HttpSession as a

Re: samples

2004-02-05 Thread Geoff Howard
James Cummings wrote: Hi there, I checked out cocoon-2.2-dev from CVS today, and build seem to go fine. I then was looking at the samples and some seem to work and others didn't. Simple: don't use 2.2 yet. It is still in the middle of a massive reworking including replacing the underlying

Re: Multipart form upload

2004-02-05 Thread Geoff Howard
Chris Wilder-Smith wrote: Hi, We're trying to use a multipart/form-data post to upload audio files recorded on the client machine to our cocoon-based backend. All of the web.xml file upload params seem to be set correctly:

Re: Multipart form upload

2004-02-05 Thread Geoff Howard
String) { // upload is disabled - I think. } Geoff On Thu, 2004-02-05 at 16:35, Geoff Howard wrote: Chris Wilder-Smith wrote: Hi, We're trying to use a multipart/form-data post to upload audio files recorded on the client machine to our cocoon-based backend. All of the web.xml file upload params

Re: Multipart form upload

2004-02-05 Thread Geoff Howard
Chris Wilder-Smith wrote: On Thu, 2004-02-05 at 17:23, Geoff Howard wrote: Chris Wilder-Smith wrote: snip the sanity check stuff. all sounds right. 4) Did you say you were getting a HttpRequest? That brings up a change to the Request stored in the objectModel which may make that code

Re: FileGenerator making two HTTP requests

2004-02-04 Thread Geoff Howard
Teator, Michael wrote: So, how do I make it stop??? Not good when the XML is dynamically generated. -Original Message- From: Ivo Limmen [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 2:00 AM To: [EMAIL PROTECTED] Subject: Re: FileGenerator making two HTTP requests My take:

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-03 Thread Geoff Howard
Geoff Howard wrote: Phil Blake wrote: By the way, it's important that people know the basic reason Cocoon doesn't give you an HTTP session. Cocoon abstracts the environment so that it can be run from many different environments, not just http/servlet. Currently the command line interface

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-03 Thread Geoff Howard
Geoff Howard wrote: Phil Blake wrote: By the way, it's important that people know the basic reason Cocoon doesn't give you an HTTP session. Cocoon abstracts the environment so that it can be run from many different environments, not just http/servlet. Currently the command line interface

Re: JDBC-Driver and web.xml

2004-02-02 Thread Geoff Howard
Nicolas Toper wrote: What do you mean if cocoon doesn't run as a webapp? Cocoon is not tied to the servlet environment, and can be run from an arbitrary environment in theory. In practice, there are two (three?) environments: servlet/http and command-line. IIRC the command-line environment

Re: Evaluation of Cocoon

2004-02-02 Thread Geoff Howard
Ralph Goers wrote: You are under a slight misperception. In a clustered environment all requests must go to the cluster, but to any server in the cluster - not just the one the user logged into. Cocoon needs to make sure that it either a) stores what it needs in the session so that the session

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-02 Thread Geoff Howard
Joerg Heinicke wrote: On 02.02.2004 23:20, Phil Blake wrote: How do I access the javax.servlet.http.HttpSession from within XSP? I know I have xsp-session but it is a org.apache.cocoon.environment.Session And request.getSession() also returns a org.apache.cocoon.environment.Session I've seen

Re: [HELP]Unable to get transformer handler for factium/.xsl

2004-01-31 Thread Geoff Howard
Antonio Gallardo wrote: Hi: Can you be more specific? Please show the a snipet of the sitemap. But from: Unable to get transformer handler for factium/.xsl ^ Seems like a wildcard is not well given. Best Regards, Antonio Gallardo van der Weide

Re: build targets

2004-01-28 Thread Geoff Howard
John L. Webber wrote: Try ant -projecthelp build -projecthelp if you don't have ant in your classpath [EMAIL PROTECTED] wrote: hi are somewhere (in any file in cocoon distribution) all available build targets build build war ?? build ??

Re: [SOLVED] Calling an external http resource from an HTML anchor

2004-01-28 Thread Geoff Howard
[EMAIL PROTECTED] wrote: Hi Sorry, simple error, someone had typed url as http//: rather than http:// Cocoon was just adding its path to something that it saw wasnt a proper http address ... Clever Cocoon :) Correction: your browser was doing it. Look at the html source to confirm. Cocoon

Re: problems creating file......

2004-01-28 Thread Geoff Howard
beyaNet Consultancy wrote: Hi, I am in the process of re-building cocoon 2.1.3 (binary dstribution) and have forgotten how to create a war file. Could someone kindly refresh my memory as I can't find the howto details in the documentation. I am using OS X 10.3. ./build.sh war this was asked a

Re: FLOW inserting data to SQL

2004-01-27 Thread Geoff Howard
Joerg Heinicke wrote: On 27.01.2004 13:14, Joose Vettenranta wrote: Hello, I've seen lot's of discussion back and forward on the subject how to to save/retrieve data from SQL-server from flow-script but I have never really seen any answers how to do that. So, how can I do simple UPDATE

Re: Large XML File as Generator

2004-01-27 Thread Geoff Howard
Brent L Johnson wrote: Does anyone know why I get the following when I attempt to use a large XML file as a generator? (a blank page in my browser that looks like this...) !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEAD META http-equiv=Content-Type content=text/html;

Re: Building of 2.1.4-dev problem

2004-01-26 Thread Geoff Howard
Peter Velychko wrote: Hello, I try to build current cvs version of the cocoon 2.1.4-dev but it is unsuccessful. I have the message: BUILD FAILED D:\java\cocoon-2.1\tools\targets\webapp-build.xml:75: Following error occured while executing this line

Re: Multiple DB Inserts for XSP?

2004-01-26 Thread Geoff Howard
Brent L Johnson wrote: Sorry, I have no clues on your main question but I just had to pipe in on this strategy. Most people would really recommend that you not use a generator to perform actions. That's what flow (and Actions) are for. I think I'll take this advice and modify the code that do

Re: parameter in a pipeline

2004-01-26 Thread Geoff Howard
Vincent Charlot wrote: Hi! I'm using an XSP to get the value of a parameter (called num_recup) from a SQL database. I'd like to use this parameter at the end of the same pipeline with a redirect: map:redirect-to uri=cocoon:id_data.html?num={num_recup}/ The problem is that I don't know how to

Re: Can I post to this list, without getting mail

2004-01-25 Thread Geoff Howard
Steven Noels wrote: On Jan 25, 2004, at 7:19 AM, Guy Worthington wrote: I couldn't find a no-mail option, so I'm off to bother the mail administrator. Just unsubscribe and post from your non-subscribed address. If it's legitimate mail, we'll moderate you through and add you to the no-mail

Re: Multiple DB Inserts for XSP?

2004-01-24 Thread Geoff Howard
Brent L Johnson wrote: I'm using the authentication framework to handle logins on the site I'm working on. When the login is handled successfully the pipeline should do a map:generate for an XSP that does a database insert into a login_log table. Sorry, I have no clues on your main question but

Re: File upload/Multipart form

2004-01-23 Thread Geoff Howard
Lionel Crine wrote: The code is complicated because, at some moment we have to check which content-type was coming and what to do. I don't know if it was a good choice but it worked. now, it's useless. So I did what you said and here is a new example : try { Object oXml =

Re: Cocoon 2.1.3 on WebLogic 8.1: CocoonServlet does not have a d efault constructor

2004-01-20 Thread Geoff Howard
Ralph Goers wrote: But with your sitemap? I build Cocoon with only the blocks I want and then use the generated sitemap (except that I remove references to finding stuff in users home directories - the build should be able to be made to disable that!). This can be done of course with an xpatch

Re: Installation for Dummies

2004-01-19 Thread Geoff Howard
Derek Hohls wrote: Does this mean that if you start Cocoon from the command line (as described), it will then be running in a system window; from which you can use the Ctrl+C prompt? FYI this is only in the stripped down Jetty we bundle for convenience. The full version uses a shutdown listener

Re: slow pipeline (svg, aggregation)

2004-01-19 Thread Geoff Howard
Jorg Heymans wrote: Why is the svgserializer making an http call to web5.w3.org every time a template is rendered? Would the used doctype be the culprit here? !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd; Look at the catalog support in

Re: HTML Editor for Woody

2004-01-19 Thread Geoff Howard
Patrick Hess wrote: [EMAIL PROTECTED] wrote: this javascript editor support IE or not yet ? btw linotype sample does not work for a long time I've tested it on a fresh 2.1.3 yesterday and it worked for me. It supports (only) Mozilla because of using the midas editor

Re: missing jar file/s

2004-01-16 Thread Geoff Howard
beyaNet Consultancy wrote: Hi, I wondered whether you could shine some light on this issue for me. I have built an action which retrieves some data from a database, and am now trying to compile the java file. I get the following error message: GetUserDetail.java:4: package

Re: Excel Generator

2004-01-11 Thread Geoff Howard
of course free to share that experience. I'll try to get a chance to look back over the poi notes and be ready for some more specific discussion. Geoff Geoff Howard wrote: Yves Vindevogel wrote: And through XSP ? xsp:logic Code in Java to open the file with POI and generate xml?/xsp:logic

Re: xml select own stylesheet?

2004-01-11 Thread Geoff Howard
Conal Tuohy wrote: Mark, for one technique, see my message from about 12 hours ago (sitemap logic depending on pipeline content). Aside from the technique in Conal's message, this is generally not possible. The technical reason is that a pipeline is assembled before processing starts. Only

Re: Why a Selector is evaluated at beginning of pipeline?

2004-01-11 Thread Geoff Howard
Sebastian Klamar wrote: * Sebastian Klamar [2004-01-10 18:49 +0100] wrote: map:transformer type=bla/ !-- here the session attribute is generated -- map:transformer type=myexaminer/ map:select type=session-attribute map:parameter name=attribute-name value=foo/ map:when test=okay map:transform

Re: File Upload using cocoon. Unable to catch FilePartFile object from request object

2004-01-08 Thread Geoff Howard
1) in your sitemap below, I don't see where you are calling the xsp. As far as I can see it's not running at all. 2) I'd really recommend _not_ using an xsp generator to do business logic (like saving an uploaded file). If you're stuck in 2.0x use an action (which can also be coded using xsp

Re: Excel Generator

2004-01-08 Thread Geoff Howard
Yves Vindevogel wrote: And through XSP ? xsp:logic Code in Java to open the file with POI and generate xml?/xsp:logic -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: donderdag 8 januari 2004 21:40 To: [EMAIL PROTECTED] Subject: Re: Excel Generator On 08.01.2004

Re: Cocon as a XSP parser only

2004-01-06 Thread Geoff Howard
Upayavira wrote: Frans Thamura, Intercitra wrote: anyone know how to make cocoon only parse an xsp only, and the rest will become tomcat standard, so i can use struts, turbine, webwork inside my context can you help me? First a disclaimer: I've never used XSP. AFAIK, XSP in Cocoon is a set

  1   2   3   4   >