RE: Enabling client browser to cache content from cocoon

2002-08-30 Thread Ivan Rubin
ally". This is NOT what > you want during development btw, 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 PROT

Enabling client browser to cache content from cocoon

2002-08-29 Thread Ivan Rubin
t 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

[Fwd: Redirector and character encoding]

2002-04-30 Thread Ivan Rubin
r encoding 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 t

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 par

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.) function somefunction() { document.ff.action = 'someuri'; document.ff.method = 'POST'; document.ff.submit(); } Fiedler, Raul

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. The server pages is the XSP generator. You can generate XML from a file with a FileGenerator component, and you can aggregate content with map:aggregate. Hope it helps, Steven Pu

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 way?

Re: [HELP]Exception in creating Transform Handler

2002-03-22 Thread Ivan Rubin
The simplest. You should check the different sitemaps provided with the samples. Hope it helps, Albert Hervas wrote: > Description:org.apache.cocoon.ProcessingException: Exception in creating Transform >Handler: java.lang.NullPointerException > > I'm Albert Hervas,

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.or

Re: XSP and well formed ...

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

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 > |||mycocoo

Re: XSP and well formed ...

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 || >

Re: XSP and well formed ...

2002-03-19 Thread Ivan Rubin
and common. I can do 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 arbit

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

XSP and well formed ...

2002-03-19 Thread Ivan Rubin
Hello, I need to open and close tags arbitrarily while iterating through a record set. does not work, as , and I have to do that over the basis of conditionals, and in different places. the logicsheet does not even generate the .java file. The log says that xsp:content must be terminated w

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): > > > ..generate a xsp file... >

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. 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 can tell this should be > Ok...

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 "conte

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 you can use those pipelines in an aggregation for generating some content

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. TREGAN Fabien wrote: > I use this serializer : > > class="org.apache.cocoon.serialization.XMLSerializer" > mime-type="text/xml" > logger="sitemap.serializer.xml"/> > > in this

WriteDOMTransformer

2002-02-25 Thread Ivan Rubin Ayma
Hello, I have to generate some content, write it to the session and redirect to another pipeline. I can't do that! If I don't serialize, the events does not flow through the pipeline and through WriteDOMSession transformer. Do I have a way to accomplish that, or should I change my logic? Thank

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 dom

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 layer,

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 original

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 serv

RE: Serving wbmp images in cocoon

2002-02-07 Thread Ivan Rubin Ayma
check the logs on cocoon to see if it is serving it. do you have a in your sitemap? -Mensaje original- De: Sean Malone [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 07 de febrero de 2002 17:38 Para: [EMAIL PROTECTED] Asunto: Serving wbmp images in cocoon Hi, I am using cocoon to deli

RE: Simple XSL question

2002-02-05 Thread Ivan Rubin Ayma
Simone, Just for the record, I went on using this 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 xml data and then go into a number of transformations for each specific section of the base xml, tr

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
l 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 WEB-INF/web.xml there's an init-param, commented with de > default

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: Tsu

RE: Object X is not a component error

2002-01-29 Thread Ivan Rubin Ayma
er on the same web.xml to true, for cocoon to use his own classloader. Thanks, -Mensaje original- De: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Enviado el: martes, 29 de enero de 2002 12:09 Para: [EMAIL PROTECTED] Asunto: RE: Object X is not a component error > From: Ivan Rubin Ayma

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 --

RE: Object X is not a component error

2002-01-29 Thread Ivan Rubin Ayma
have *more* then one class Component loaded by Java due to use of different ClassLoadrers and/or several class files for the same Component class. I'm not sure that this could help you, but I don't know what's going wrong on your system and can't suggest you anything right now.

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 ene

Object X is not a component error

2002-01-28 Thread Ivan Rubin Ayma
I wrote the simplest component I could and at sitemap-compilation cocoon keeps on giving me: Error in sitemap configuration : Object Zeus.core.cocoon.JSessionLogin is not a Component Why? The component: public class JSessionLogin extends org.apache.cocoon.acting.ComposerAction implements Threa

Simple XSL question

2002-01-28 Thread Ivan Rubin Ayma
Hello, How can I make a XSLT transformation of just a couple of elements, leaving the rest untouched, without having to select everything and passing it through? I'm trying to create pipelines involving a number of transformations with a specific task each. Thanks,

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 good

RE: Help me....

2002-01-09 Thread Ivan Rubin Ayma
Check out the site map, sitemap.xmap, and the documentation for it. You have to specify there the structure for your application. An improvment (!) on cocoon 2. A headache, but an improvment, I assure you. Centralization. -Mensaje original- De: Malathi Rao [mailto:[EMAIL PROTECTED]] Env