RE: Enabling client browser to cache content from cocoon

2002-08-30 Thread Ivan Rubin
, but the default setting on an IE setup. JW -Original Message- From: Ivan Rubin [mailto:[EMAIL PROTECTED]] Sent: donderdag 29 augustus 2002 20:31 To: [EMAIL PROTECTED] Subject: Enabling client browser to cache content from cocoon Hello, I have a pipeline that generates a javascript

Enabling client browser to cache content from cocoon

2002-08-29 Thread Ivan Rubin
the Expires http header at the beggining of the pipeline with the HttpHeader action but no results. Any information will be very useful as I couldn't find any information on the documentation, faqs nor mail-archives. Thanks, Ivan Rubin Ayma

[Fwd: Redirector and character encoding]

2002-04-30 Thread Ivan Rubin
Date: Sun, 28 Apr 2002 15:32:32 -0300 From: Ivan Rubin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hello, I'm using Redirector.redirect with a url like message?msg=ConfirmaciĆ³n test The action that process the http requests uses Request.setCharacterEncoding at the beginning, and it works fine when I

Redirector and character encoding

2002-04-28 Thread Ivan Rubin
Hello, I'm using Redirector.redirect with a url like message?msg=ConfirmaciĆ³n test The action that process the http requests uses Request.setCharacterEncoding at the beginning, and it works fine when I receive form posts with special characters, but it doesn't when I receive a URL with

Re: multiple submit button on a form

2002-04-03 Thread Ivan Rubin
with HTML and JavaScript, you can specify which uri to post the form to for each button. (Changing the action attribute of the form and then submitting it.) form name=ff input type=submit onClick=javascript:somefunction()/ /form script language=javascript function somefunction() {

Re: Cocoon2 emulation of Cocoon1: How?

2002-03-25 Thread Ivan Rubin
Steve, You should take a look at the examples that come with cocoon distribution, and the sitemaps. map:match pattern=help map:generate type=serverpages src=help.xsp/ map:transform src=help.xsl/ map:seriliaze type=html/ /map:match The server pages is the XSP generator. You can

Re: [HELP]Exception in creating Transform Handler

2002-03-22 Thread Ivan Rubin
map:pipeline map:match pattern=someuri map:generate type=file src=somefile.xml/ map:transform src=somesheet.xsl/ !-- xslt default transformation -- map:serialize type=html/ /map:pipeline The simplest. You should check the different sitemaps provided with the samples. Hope it

ContentHandler-DocumentHandler

2002-03-22 Thread Ivan Rubin
Hello, I can't quietly understand the deprecation between these interfaces. I see contentHandler deprecated in some places, as DocumentHandler in others. (Implementations.) As I understand it ContentHandler matchs the (standard?) SAX2 implementation, with support for namespaces. That's the

Re: jdbc or xsp or esql problem

2002-03-20 Thread Ivan Rubin
von Schwerdtner, Thomas (GXS, FPI) wrote: Hey folks, Setup: cocoon-2.0.2dev (can give snapshot date if needed, it's from about a week ago) tomcat 4.0.3-LE jdk1.4 linux java2/1.2/1.3/1.4 postgresql jdbc driver is in classpath (downloaded bianry from jdbc.postgresql.org which

Re: Generator already set. You can only select one Generator

2002-03-19 Thread Ivan Rubin
you want to pick up an xml an put it into the pipeline, transform it and use the result (ing tree?) as an entry point for an xsp generator? von Schwerdtner, Thomas (GXS, FPI) wrote: Heya, I'm trying to do something like this (in sketchy psudocode): map match=foo-generate-bar-*

XSP and well formed xsp:content.../xsp:content

2002-03-19 Thread Ivan Rubin
Hello, I need to open and close tags arbitrarily while iterating through a record set. xsp:content/operator/xsp:content does not work, as xsp:contentoperatorxsp:content, and I have to do that over the basis of conditionals, and in different places. the logicsheet does not even generate the

Re: Generator already set. You can only select one Generator

2002-03-19 Thread Ivan Rubin
yeah, but I only saw a serverpages generator taking input from a file, not from a stream. Anyway I don't know if that's what he wants to do... Benjamin Grant wrote: Try an aggregation and use internal pipelines to create the intermediary output...? On Tuesday 19 March 2002 12:58 pm,

Re: XSP and well formed xsp:content.../xsp:content

2002-03-19 Thread Ivan Rubin
this with sax. There's a workaround to do it with xsp? Don't get angry with me Vadim, I try to do my best. Thanks, Vadim Gritsenko wrote: From: Ivan Rubin [mailto:[EMAIL PROTECTED]] Hello, I need to open and close tags arbitrarily while iterating through a record set. xsp:content/operator/xsp:content

Re: XSP and well formed xsp:content.../xsp:content

2002-03-19 Thread Ivan Rubin
Sorry. I should add a line to the example... Ivan Rubin wrote: Not valid XML, but are not we working with a flow of events? Isn't hierarchy the last tabu? String operator=null; while( recordset.next() ) { if( operator == null || !operator.equalsIgnoreCase( recordset.operator

Re: Subsitemap in another directory

2002-03-19 Thread Ivan Rubin
map:mount has a 'src' attribute that acomplishes that, as you wrote. Lars Trieloff wrote: Hello, is there a way to mount a subsitemap which is not in the cocoon directory? Imagine a directory structure such as following: webapps |myapp ||mycocoon |||docs |||styles |||mycocoon.xmap

Re: XSP and well formed xsp:content.../xsp:content

2002-03-19 Thread Ivan Rubin
Yes. There's a well formed way. Thanks a lot Vadim, Vadim Gritsenko wrote: From: Ivan Rubin [mailto:[EMAIL PROTECTED]] Sorry. I should add a line to the example... Ivan Rubin wrote: Not valid XML, but are not we working with a flow of events? Reminder: XSP is and XML file = Must be well

Re: help with a sitemap problem

2002-03-15 Thread Ivan Rubin
Steven, I don't know if this is generating (sic) your problem, but src=cocoon:/foo in your map:part aggregation is not refering to the pipeline you're defining there under the name foo It should be just foo? cocoon:/xxx refers to an internal pipeline named And who's handling

Re: help with a sitemap problem

2002-03-15 Thread Ivan Rubin
Steven, cocoon:/ it's ok, and who's matching what does not matter at sitemap compilation. map:aggregate element=something you have to specify the root element for your aggregated content. Sorry if I mislead you, Ivan Steven Sedlmeyer wrote: Ok, I've looked through the docs and near as I

Re: questions about a few pipeline options

2002-03-13 Thread Ivan Rubin
Tom, You can't access an internal pipeline from the outside. Sometimes you need to hide a pipeline that does something for other pipelines, but not for the public in general. If you have map:pipeline internal-only=true map:match pattern=test !-- do something -- /map:match

Re: IE / NS don't reconize my XML output as XML

2002-03-12 Thread Ivan Rubin
I think map:serialize's parameter is called type, not name, at least using the standard serializer. map:serializer name=xml mime-type=text/xml src=org.apache.cocoon.serialization.XMLSerializer/ map:serialize type=xml/ TREGAN Fabien wrote: I use this serializer : component-instance

Database

2002-02-22 Thread Ivan Rubin Ayma
Hello, My generators use to communicate with a database through JDBC and now I have to make Windows NT authentication, so the JVM running the system have to be running on super-user mode, but I don't like the idea of running everything on super user. I would like to just run the database

ReadWriteDOMsession

2002-02-22 Thread Ivan Rubin Ayma
Hello, I have a login page. The form points to a do-login pipeline I want do-login to authenticate the user through an action, that's ok, and then generate an XML with a menu, write a DOM on the session and go to the main pipeline. The main pipeline, in between a number of things, reads the

RE: IllegalAccessException: Object is not a Component

2002-02-14 Thread Ivan Rubin Ayma
Christian, Remove every reference to your component everywhere but from the cocoon classloader, as to hide it from any different classloader but that one. To use the cocoon classloader and to pass parameters to it, you're in the right place, the initparams at web.xml -Mensaje

RE: servlet, generator or ... (design question)

2002-02-13 Thread Ivan Rubin Ayma
We are evaluating C2 for a very large, public, data-dissemination project (NHGIS.ORG). I would like to build a few small XML visualization tools in C2 for demonstration purposes. For example, a facility to upload an XML instance, associate it with a stylesheet living on the server

RE: Simple XSL question

2002-02-05 Thread Ivan Rubin Ayma
Simone, Just for the record, I went on using this template. xsl:template match=@* | node() xsl:copy xsl:apply-templates select=@* | node()/ /xsl:copy /xsl:template I still wonder if it is not a bad design to generate a base xml at the begining of the pipeline, aggregate other generated

Generators

2002-01-31 Thread Ivan Rubin Ayma
It would be useful for me to use more than one generator at the beggining of a pipeline, as I have to generate pretty different things (in logic) and use the sum of them at the transformations stage. There's a way to do it? Thanks, Ivan

RE: how to add extra classes into cocoon's classpath?

2002-01-30 Thread Ivan Rubin Ayma
With Tomcat WEB-INF/web.xml there's an init-param, commented with de default distribution, to add classes to the cocoon's classpath. You should check the class-loader param for Cocoon to use its own class loader if you keep on having problemas loading classes. -Mensaje original- De:

RE: how to add extra classes into cocoon's classpath?

2002-01-30 Thread Ivan Rubin Ayma
path section of web.xml. Is this a bug? I am running cocoon on tomcat 4.0.1 on winNT. -Original Message- From: Ivan Rubin Ayma [mailto:[EMAIL PROTECTED]] Sent: 30 January 2002 16:08 To: [EMAIL PROTECTED] Subject: RE: how to add extra classes into cocoon's classpath? With Tomcat

Object X is not a component error

2002-01-29 Thread Ivan Rubin Ayma
I tried to put the component in the package org.apache.cocoon.acting wondering what IllegalAccessException could be, but nothing. I'm posting the complete java source, subsitemap and the cocoon error. Thanks, -Mensaje original- De: Ivan Rubin Ayma Enviado el: lunes, 28 de enero de

Sitemap reloading

2002-01-29 Thread Ivan Rubin Ayma
My root sitemap does automatic reloading when I change it, synchronious, as specified on cocoon.xconf, but my sub-sitemap behaves completly different, it does reloading when he wants, or something like that. Any hints? Thanks, Ivan

It's a way?

2002-01-25 Thread Ivan Rubin Ayma
Hello, I have to make a web interface to an existing database java application. The app is divided in a number of Data clases, that represent a table in the DB, Win classes to show that data in differente ways in a swing window, and Form classes to add-modify registers. I think Cocoon is a