, 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
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
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
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
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() {
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
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
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
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
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-*
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
31 matches
Mail list logo