prevent cocoon:/xxx caching

2001-11-14 Thread Ryan Agler
Hello~! I have a small problem that's driving me nuts Im wondering if anyone knows the answer to. In my sitemap, I have a pipeline (let's call it pipeline REF) with a serverpages generator that uses the cocoon: src attribute to reference a different pipeline (let's call it pipeline SRC)

Livesites

2002-04-22 Thread Ryan Agler
is it nice to be Microsoft-free, but Cocoon's framework is unparalleled in it's power and manageability. Here they are, check them out: http://www.boonetakeout.com http://www.orderupdelivery.com http://www.datadreamers.com Thanks, Ryan Agler

handle-errors skipped after first transformation

2002-09-12 Thread Ryan Agler
Hello, Just wondering if this is a bug or I'm just missing something obvious: I have several places in my sitemap where there are multiple transformations taking place (generate--transform--transform--serialize), and have experienced random map:handle-errors behavior when exceptions would

RE: how to write data to the XML file which the data is read from ?

2002-09-18 Thread Ryan Agler
If you're using Xalan, there is an XSLT extension that will let you do this. You could embed the code to save changes in the same XSL file you use for presentation, depending on a request parameter. map:generate src=docs/yourXMLfile.xml/ map:transform src=stylesheets/xalanStylesheet.xsl

RE: XML include

2002-09-18 Thread Ryan Agler
There are lots of different ways to achieve that effect with map:aggregate and im sure some tag libraries I have yet to explore :) Or you can do this in an XML file: ?xml version=1.0? !DOCTYPE include [!ENTITY theInc SYSTEM ../docs/blahblah.xml] doc theInc; /doc -Original Message- From:

RE: XML include

2002-09-18 Thread Ryan Agler
/principal.xml/ /map:aggregate map:serialize type=xml/ /map:match Thank you very much - Original Message - From: Ryan Agler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 18, 2002 11:46 AM Subject: RE: XML include There are lots of different

RE: tool xml/xsl ???

2002-10-01 Thread Ryan Agler
X-Emacs has some great XML editing modes. It's free. -Original Message- From: Jessica Niewint [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 5:04 AM To: [EMAIL PROTECTED] Subject: tool xml/xsl ??? Could someone give an advice for a xml-tool ? Or a xsl wysiwyg

multiple webapps sharing XSPs

2002-10-04 Thread Ryan Agler
, Ryan Agler - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: Why is my cocoon app an IE6 killer?

2002-10-04 Thread Ryan Agler
I experienced similar behavior awhile back. I did some fiddling, and finally came to the conclusion that it had something to do with Tomcat's Coyote connector. I commented out the Coyote connector in server.xml, and used the old HTTP/1.1 test connector, and the problem went away. I went so far

RE: Changing parameters of request inside Action

2002-10-06 Thread Ryan Agler
I am not sure how to alter request parameters, but I do know you can set/change request attributes. So, If you had an action with a statement like request.setAttribute(myAtt,10), and then you could call request.getAttribute(myAtt) from subsequent actions or xsp. -Original Message- From:

RE: Why is my cocoon app an IE6 killer?

2002-10-07 Thread Ryan Agler
, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Ryan Agler [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 05

Sitemap relaod breaks w/ inputmodule and param

2002-10-08 Thread Ryan Agler
Is anyone aware of this as a bug, or am I doing something improperly? Whenever I have an instance in my sitemap where I use both an input module and a sitemap parameter, cocoon breaks if I subsequently modify the sitemap. For example, I have the following in my sitemap: map:match pattern=*.gif

RE: Cocoon FAILS in transforming XML

2002-10-08 Thread Ryan Agler
Best guess is that something is wrong with the xsp. Can you post your log file? -Original Message- From: Roger Ting [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 11:48 PM To: [EMAIL PROTECTED] Subject: Re: Cocoon FAILS in transforming XML I am using the latest binary

RE: Passing parameters to action-set

2002-10-09 Thread Ryan Agler
Try {../process} instead of {process} -Original Message- From: Robin Wyles [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 3:04 AM To: [EMAIL PROTECTED] Subject: Passing parameters to action-set Hi All, Apologies if this has been answered before, I can't find it in the

RE: ESQL and JDBC on JDK1.4.1

2002-10-09 Thread Ryan Agler
I am successfully using JDK1.4.0 with the recent mysql-connector-j-3.0.0-bin.jar. Visit http://www.mysql.com/downloads/api-jdbc-dev.html According to that page it works with JDK-1.2 or newer. -Original Message- From: Bert Van Kets [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October

RE: Cocoon FAILS in transforming XML

2002-10-09 Thread Ryan Agler
My apologies as I'm having trouble following sitemap flow from your description. You can find most likely the root cause in the WEB-INF/logs. A couple things that might help: Make sure you have include type=serverpages when generating the xsp (map:generate type=serverpages src=myfile.xsp/).

RE: Special characters in JavaScript Strings

2002-10-10 Thread Ryan Agler
I haven't tried this, but its worth a shot: i18n:text i18n:key=EL50Ihre Login-Angaben waren zwei Mal falsch. Bitte beachten Sie, dass Ihr Konto nach dem dritten Fehleintrag gesperrt wird.\n Falls Sie Ihr Passwort vergessen haben, können Sie es sich per E-Mail zuschicken lassen. Mxsl:text

RE: Request parameters in a cocoon:/

2002-10-16 Thread Ryan Agler
In my experience the request parameters seem to be preserved. I am using the interpreted sitemap (not sure if that makes a difference) and have several places in my sitemap where I am certain they are working. For example: map:match pattern=*.xsp map:generate type=serverpages

RE: Request parameters in a cocoon:/

2002-10-16 Thread Ryan Agler
Good question -- I have not tried that scenario. As a workaround, instead of extracting request parameters from a stylesheet, you could something like this in the xsp fooxsp:exprrequest.getParameter(foo)/xsp:expr/foo barxsp:exprrequest.getParameter(bar)/xsp:expr/bar and use XSLT to get the

RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-23 Thread Ryan Agler
I had this problem too, and had to write a custom java class to do this inside XSLT, but it works. ?xml version=1.0? xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0 xmlns:java=http://xml.apache.org/xslt/java; exclude-result-prefixes=java xsl:template match=/

RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-23 Thread Ryan Agler
-topic:XSLT] Passing an XML fragment via a HTML form. Hi, Can you simply do: input name=txtNode xsl:attribute name=value xsl:copy-of select=/page/thing/ /xsl:attribute /input or perhaps: textarea xsl:copy-of select=/page/thing/ /textarea best, -Rob -Original Message- From: Ryan Agler

How to return last-modified

2002-10-18 Thread Ryan Agler
Anyone know how to make Cocoon return a last-modified header when reading xml files from disk? I found some mention of adding an expires attribute to map:pipeline, but what I really need is to return last-modified for the files I'm reading. Any Ideas? Thanks, Ryan Agler

RE: [Fwd: [Juglist] Monday night - Introduction to Cocoon 2.0]

2002-10-21 Thread Ryan Agler
Awesome, right down the street. I'll be there :) -Original Message- From: Andrew C. Oliver [mailto:acoliver;apache.org] Sent: Sunday, October 20, 2002 11:40 PM To: cocoon users; [EMAIL PROTECTED] Cc: poi users Subject: [Fwd: [Juglist] Monday night - Introduction to Cocoon 2.0]

RE: Problems rendering PDF dynamically, but identical fop xml works fine when sent straight to serializer

2002-10-24 Thread Ryan Agler
I played around with fo for the first time yesterday and ran into the same thing. Turns out if I enclosed everything after fo:flow flow-name=xsl-region-body with an fo:block, and then also enclosed anything within an fo:cell with fo:block things worked out fine. -Original Message-

RE: [Off-topic:XSLT] Passing an XML fragment via a HTML form.

2002-10-24 Thread Ryan Agler
Yes, I use that exact same technique (hidden textareas). To get the parameter back as XML, I wrote an XSP that grabs the request parameter XML string, turns it into a DOM document, and then iterates through the DOM nodes to emit corresponding SAX events. Now my Java isn't the best in the world,

RE: Creating PDF with graphics

2002-10-24 Thread Ryan Agler
If you set up your sitemap right, you can pull this off (well, most of it, not sure how you would do borders). First, you want to create pipelines for the images you want to create: map:match pattern=*.dynamic.jpeg map:generate type=serverpages src=svgData/{1}.xsp / map:transform

RE: XML to Excel file

2002-10-28 Thread Ryan Agler
Not a full-blown solution, but you can encode a web page with tags in the Excel namespace xmlns:x=urn:schemas-microsoft-com:office:excel and, use formulas etc in html table cells: td style=width:0pt x:fmla==COUNT(A4:A9) width=0 class=x868 span style=mso-spacerun: yes/ /td Try saving an .xls

RE: Mixed XSL performance under Windows/UNIX?

2002-10-29 Thread Ryan Agler
One thing that comes to mind is the different ways Unix and Windows insert line breaks. I sometimes author XSLT text files in Windows, and after opening them in Linux (X-Emacs) there are a bunch of ^M characters at the end of each line. I replace them just because they are annoying and make the

RE: xml version procesing instruction and text serializer?

2002-11-05 Thread Ryan Agler
In your XSLT file, right under xsl:stylesheet, include: xsl:output omit-xml-declaration=yes method=text / -Original Message- From: Oskar Casquero [mailto:jtacaoio;bi.ehu.es] Sent: Tuesday, November 05, 2002 11:31 AM To: [EMAIL PROTECTED] Subject: xml version procesing instruction and

RE: JavaScript problems in XSP

2002-11-21 Thread Ryan Agler
Hi Anna, Client-side (in your web browser) JavaScript is a completely different beast than server-side (on your web server) JavaScript. In server-side JavaScript, there are no windows, DHTML, or much any other properties or methods you would use to manipulate a browser for dynamic content. To

RE: Complicated setup

2002-12-03 Thread Ryan Agler
No need to redirect, your problems can be solved with the AliasMatch directive in httpd.conf: AliasMatch ^(.*)/([^/]+\.gif)$ /path/to/images/$2 AliasMatch ^(.*)/([^/]+\.css)$ /path/to/css/$2 The above will match any .gif or .ccs, both legacy and cocoon, and serve them from the same location.