Hi,
Is it possible to jump out of a pipeline from within an xsp and return a
specific HTTP status code?
For instance under certain circumstances I want to return 304 (not
modified).
Chris.
-
Please check that your question
Hi,
Some browsers request a PDF with multiple GETs. The following article
describes it http://support.microsoft.com/default.aspx?scid=kb;EN-US;q293792
I'm encountering this problem because I don't let a PDF be generated twice.
So, for the first GET cocoon generates the PDF and returns it,
Hi,
I would be interested in getting some statistics on Cocoon downloads. Can
someone with power give an overview as to the number of downloads of the
different Cocoon versions ... by month ... or whatever is available.
Many thanks
Matthew
--
Open Source Group Cocoon { Consulting,
Hi cocoon lovers
I am trying to implement a multi select list box where user select 1 or 2
or more values which is passed as a query to Oracle database to return a
output.
For Example a multiselect listbox which contains projectnames populated
from oracle database.
When a user select the
Hello,
is it possible in Cocoon to define and set some kind of global variable which I can
access from all currently running sessions in parallel?
Regards,
Elmar
-
Please check that your question has not already been
I assume you are trying to use the i18n transformer with Xalan command
line version only? It's part of Cocoon, not of Xalan, so it won't work.
Or is it only a problem with creating the i18n keys? Then you should
provide some more code. Maybe on another list too.
Joerg
Albert Cervera Areny
Vadim Gritsenko wrote:
From: Alessandro Marcellini [mailto:[EMAIL PROTECTED]]
Vadim Gritsenko wrote:
From: Alessandro Marcellini [mailto:[EMAIL PROTECTED]]
Hi all,
I've a problem transforming big xml Files with Xalan or Saxon.
How big are they?
they are
Hallo!
Can a XSP implement an interface?
If yes, what would be the proper syntax?
Many thanks,
Hans
-
Please check that your question has not already been answered in the
FAQ before posting.
Hi all,
it seems to me like it is not possible to perform multiple map:call
resource=xxx/ calls in a single matcher.
Fragments from my sitemap:
[...]
map:resources
map:resource name=aspetto-finale
map:transform src=_xsl/style.xsl
map:parameter name=nome
On 30.Jul.2002 -- 10:44 AM, Frank Taffelt wrote:
Hi,
i'm trying to get an oracle stored procedure working, that returns a
resultset.
but i always get a :
java.lang.RuntimeException: Error executing statement: { call ? :=
sp_get_stocks(?) } : java.sql.SQLException: ORA-01008: not all
On 29.Jul.2002 -- 01:23 PM, Dominic Reynolds wrote:
I am trying to use ESQL (basic xsp page modelled on the samples).
my problem is that I get the following null pointer exception:
Original exception : java.lang.NullPointerException
at
I've been looking into the aggregation techniques and
there seems to be two ways people go about doing it.
I'm trying to understand the pros/cons of the two
approaches.
Approach 1: Aggregate HTML
Each map:part calls a pipeline, which generates,
transforms and serializes to HTML, e.g.,
If I understand correctly, the aggregation will read the data from each of
the subordinate pipelines WITHOUT the serialization step, so these 2 would
be equivalent.
-Original Message-
From: Alex Romayev [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 30 July 2002 22:18
To: [EMAIL
Sven Kuenzler wrote:
Good question. ATM, I only could give artificial scenarios.
The real use case I had in mind was the application where I used the
Serializer out of Cocoon. This application produces an Excel sheet
which is sent out by Email. So it is not direct a response but a side
Hi,
if you were following my weblog then you will already have seen my notes on
the OReilly Open Source Convention. If not - then now's the time to go back
and read :-) (http://radio.weblogs.com/0103021/).
Here's a brief summary from a Cocoon perspective. To start off it seems that
Cocoon is
This was meant for cocoon-dev. Sorry.
M.
-Original Message-
From: Matthew Langham [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 8:52 AM
To: [EMAIL PROTECTED]
Subject: Cocoon statistics
Hi,
I would be interested in getting some statistics on Cocoon downloads. Can
someone
Hi gang,
we are working on a project where one of the main goals is to provide a
filter for external web pages. The idea is that the client accesses the
filter running on a server and then receives HTML pages that have been
filtered according to certain rules.
One way of doing this is obviously
From: Alessandro Marcellini [mailto:[EMAIL PROTECTED]]
Vadim Gritsenko wrote:
From: Alessandro Marcellini [mailto:[EMAIL PROTECTED]]
Vadim Gritsenko wrote:
From: Alessandro Marcellini [mailto:[EMAIL PROTECTED]]
Hi all,
I've a problem transforming big xml
ok second try with:
esql:call
{call sp_get_stocks(esql:parameter
direction=intype=Intxsp:expr20/xsp:expr/esql:parameter) }
/esql:call
esql:call-results
esql:row-results
outesql:get-string column=1//out
/esql:row-results
/esql:call-results
results in :
Error executing
From: Sternath Elmar [mailto:[EMAIL PROTECTED]]
Hello,
is it possible in Cocoon to define and set some kind of global
variable which
I can access from all currently running sessions in parallel?
http://marc.theaimsgroup.com/?l=xml-cocoon-usersw=2r=1s=global+variab
lesq=b
Vadim
From: Dr. Hans M. Rupp [mailto:[EMAIL PROTECTED]]
Hallo!
Can a XSP implement an interface?
No.
(why?)
Vadim
If yes, what would be the proper syntax?
Many thanks,
Hans
-
Please check that your question has
From: Lorenzo De Sio [mailto:[EMAIL PROTECTED]]
Hi all,
it seems to me like it is not possible to perform multiple map:call
resource=xxx/ calls in a single matcher.
Fragments from my sitemap:
[...]
map:resources
map:resource name=aspetto-finale
map:transform
On 30.Jul.2002 -- 02:37 PM, Frank Taffelt wrote:
ok second try with:
esql:call
{call sp_get_stocks(esql:parameter
direction=intype=Intxsp:expr20/xsp:expr/esql:parameter) }
/esql:call
esql:call-results
esql:row-results
outesql:get-string column=1//out
Andrew C. Oliver schrieb:
The real use case I had in mind was the application where I used the
Serializer out of Cocoon. This application produces an Excel sheet
which is sent out by Email. So it is not direct a response but a side
effect to the request. In C2 this is called a sink (or
Hi Mattthew
What's about the tidy software in the release?
I don't know the details of XHTML but it looks like that tidy is near this
Klaus
-Original Message-
From: Matthew Langham [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 1:59 PM
To: Cocoon-Dev@Xml. Apache. Org;
the final chapter:
...
Oracle itself can only return result sets from a 'naked' query, or via a
cursor as a stored procdure output parameter. The latter is not available
from
standard JDBC, only the extension to JDBC,
CallableStatement.getResultSet(int paramindex)
available from Oracle drivers.
From: Barbara Post [mailto:[EMAIL PROTECTED]]
Hello,
is this ok for your problem ? But if style is not specified this
wouldn't
be ok. So you would have to specify a default value anyway when
submitting...
Edited version:
map:match pattern=**.xml
map:generate src={1}.xml/
!-- Here:
Hi Klaus,
yes I meant using Tidy. We do this already but on a much lesser scale than
providing a proper filter solution.
Matthew
-Original Message-
From: Klaus Bertram [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 2:54 PM
To: [EMAIL PROTECTED]
Subject: RE: Filtering HTML
On 30.Jul.2002 -- 03:15 PM, Frank Taffelt wrote:
the final chapter:
...
Oracle itself can only return result sets from a 'naked' query, or via a
cursor as a stored procdure output parameter. The latter is not available
from
standard JDBC, only the extension to JDBC,
From: news [mailto:[EMAIL PROTECTED]] On Behalf Of Sven Kuenzler
Andrew C. Oliver schrieb:
The real use case I had in mind was the application where I used
the
Serializer out of Cocoon. This application produces an Excel sheet
which is sent out by Email. So it is not direct a
Hi Vadim,
thanks for your support. Caching works now for JSPs and also for CIncludeTransformer
as long as I get my XML input from static xml files. Unfortunately, I have to get my
XML input via HTTP requests from a remote server. In this case, these requests are
always executed, caching does
Hey Barbara,
thanks for your suggestion, unfortunately it won't work for us as sending a style all
the time would require a massive rewrite of our system which generates all the urls
automatically and it is really only occassional special cases we need to catch with a
specified style
thanks
Vadim, thanks a lot for your reply. I now understand
the '../1' syntax. Unfortunately though it seems that
this is not the problem.
The matchers in my pipeline are hard coded, ie:
map:match pattern=abc
map:act set=employee
map:generate type=serverpages src=abc.xsp /
map:transform
From: Jo Bourne [mailto:[EMAIL PROTECTED]]
Hi Vadim,
I am confused by your example, the way it reads to me the default xsl
will
always run, even if the special one is detected and run first?
You have not interpreted sitemap correctly.
map:match pattern=**.xml
map:generate
So you need to return a cursor as first parameter and use
@resultset-from-object=1
yes but the to code to achive this is oracle dependent:
IMHO code to achive this should look like:
1 CallableStatement cstmt = conn.prepareCall(query);
2 cstmt.registerOutParameter(1,OracleTypes.CURSOR);
3
Hi,
I have installed Cocoon 2.0 in the IBM Websphere 4.0.3 and my JSP Generator doesnt work.If someone knows please help me,,,
Kavitha.
Sell you car, by placing a classified ad on Yahoo India Autos . It's Free!!
We have an architecture where a command puts objects into the request or
session and the XSP fetches those Objects. Since both the command and the
XSP need to know the attribute name of a particular object in the
request, I thought it might be nice to have an interface where the
attribute names
This is my solution for a serverpage redirect combined with an action:
1. Sitemaps needs ServerPagesAction
map:actions
map:action logger=sitemap.action.xsp-action name=xsp-action
src=org.apache.cocoon.acting.ServerPagesAction/
/map:actions
2. Site matcher
map:match
From: Per Kreipke [mailto:[EMAIL PROTECTED]]
...
See lint.xmap
I don't see it in 2.0.3, is lint.xmap a 2.1 file? Will it work
under 2.0.3?
Forget it, I figured it out: you meant lint/sitemap.xmap
Oops. My bad. Yes, lint/sitemap.xmap. I was trying to put in there as
much syntax
Hello, how can my stylesheet get all the http request parameters since the
http request sends a variable number of parameters named checkedbox_i for
example, i being an unique identifier ? checkboxes are in variable number
on the submit page, depending on a former choice.
on the submit page the
Gerhard,
Not sure if you got an answer, but I just got cocoon 2.0.3 + jboss 3.0.0
+ tomcat 4.0.3 running.
I built the standard cocoon webapp (.war) into a .ear file and deployed
from that. When I tried to deploy the .war file, I got the same error
you mention below. The .ear file works,
On 30.Jul.2002 -- 07:15 PM, Barbara Post wrote:
Hello, how can my stylesheet get all the http request parameters since the
http request sends a variable number of parameters named checkedbox_i for
example, i being an unique identifier ? checkboxes are in variable number
on the submit page,
Terry,
Not sure if you got an answer, but I just got cocoon 2.0.3 + jboss 3.0.0
+ tomcat 4.0.3 running.
I built the standard cocoon webapp (.war) into a .ear file and deployed
from that.
It sounds like you simply renamed the .war to .ear. Is that what you meant
or did you specify a
If I do the following in an XSP, the CInclude transformer doesn't recognize
the cinclude:include element because it has no namespace associated with it.
xsp:element name=cinclude:include
xsp:attribute name=srcxsp:exprstrURL/xsp:expr/xsp:attribute
/xsp:element
I had to change it to be:
Thank you Terry,
I will try this shortly, I report success story (hopefully) when I am done.
Gerhard
Terry Anderson wrote:
Actually, built the .war into the .ear along with the applications.xml
file.
-Original Message-
From: Per Kreipke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July
I see these OutOfMemory errors in my webserver logs. Does anybody know
what's causing this error. I have a 3MB xml file that I am trying to
transforming to html. My XSLT traverses this 3MB xml to extract only
relevant information based on user's input and generate an xml out of it.
Please help...
I do have those param names inside my XSLT. Anyway I found an alternate way
to send values to these parameters from my URL without going thru action.
Thank you.
Hy,
I just was trying to run the example
wrotten by Steve Punk in "Getting started with Cocoon 2" http://www.xml.com/lpt/a/2002/07/10/cocoon2.html
More precisely, the last example that
calculates a factorial from a numeric value submitted via HTTP
POST.
Here's the sitemap:
map:sitemap
hello Christian,, I don't want to use xsp, only xsl
so...
Babs
--
website: www.babsfrance.fr.st
ICQ #: 135868405
- Original Message -
From: Christian Haul [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 30, 2002 7:45 PM
Subject: Re: multiple checkboxes and request
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
currently I have the problem, that LinkSerializer isn't working on all
HTML-Tags, that I'm using in my HTML output. I've thought about adding them
to the source, but I think it's better to prepend a xsl to the LinkSerializer
to transform
From: Per Kreipke [mailto:[EMAIL PROTECTED]]
If I do the following in an XSP, the CInclude transformer doesn't
recognize
the cinclude:include element because it has no namespace associated
with it.
xsp:element name=cinclude:include
This is incorrect.
xsp:attribute
hallo
sorry for the long code but i need a little help (please)
my page2fo-javascript.xsl has this
?xml version=1.0?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:fo=http://www.w3.org/1999/XSL/Format;
xmlns:lxslt=http://xml.apache.org/xslt;
Hi Vadim -
Thanks for the suggestion - my code now works
perfectly. I actually knew that an action not
returning a map object will cause the rest of the
pipeline, inside the map:act, to be skipped.
I didn't think this was my problem because in sample
code 'employee.xsp' the action is not
Without a look on the stack trace OutOfMemoryError often occurs while
having endless loops/endless recursive calls etc. in the XSLT.
Regards,
Joerg
[EMAIL PROTECTED] wrote:
I see these OutOfMemory errors in my webserver logs. Does anybody know
what's causing this error. I have a 3MB xml
This has nothing to do with the example, it's a common error message,
when having the XML declaration not as the absolutely first thing in the
XML file. There must not be any whitespaces or other characters in front
of the XML declaration and it has to be in the form as at
If I do the following in an XSP, the CInclude transformer doesn't
recognize
the cinclude:include element because it has no namespace associated
with it.
xsp:element name=cinclude:include
This is incorrect.
Of course. I thought it might take it from the a parent XSP element but it
56 matches
Mail list logo