Currently my application consists of cocoon-actions that invoke xsp/xsl
files upon requests. As normal the new output always refreshes the client's
browser view.
Based on some calculations at the actions I'm required to delegate the
response not to the current browser window but to a newly
Zack,
Isn't
xsp:logic
String userLogin = xsl:value-of select=login/;
String userPass = xsl:value-of select=password/;
/xsp:logic
xsp:logic
String userLogin = xsl:value-of select=login/;
String userPass = xsl:value-of select=password/;
/xsp:logic
You can achieve this in HTML by setting the target of your form to
_blank which will post the results to a newly openned window.
The javascript solution is better if you want more control over how the
newly openned window looks.
Andrew
On Fri, 2002-05-03 at 09:38, yuryx wrote:
[EMAIL
Description:org.apache.cocoon.ProcessingException:
java.lang.NullPointerException
I am running Tomcat 4.0.3 and Cocoon 2.0.2 and JDK 1.3.1 on a MacOS X 10.1.4
All the xsp samples give me this error except the Javascript XSP Samples.
Also some other samples using java give this error
Help?
Robert,
Well done getting it to compile.
Now that it has, do you know if Connection Pooling works for ESQL etc?
By the way, when I've tried jdk1.4 before, with Michael Enke's help I
believe,
the _first_ time I used a pooled connection it was OK,
but if I tried it _again_ then it failed?
If
I'm using
Win2k Server SP2
Tomcat 4.0.1
JDK 1.3.1_02
Cocoon 2.1-dev (yesterdays CVS HEAD)
Acrobat Reader 5.0
and the two PDF's in the samples do work in IE 6.0.2600!
The two samples are
http://localhost:8080/cocoon/hello.pdf
http://localhost:8080/cocoon/fo (can be found in the static content
Have a look at this tutorial :
http://tech.irt.org/articles/js128/index.htm
It's quite helpful.
Regards,
Matthieu
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 3 mai 2002 08:25
Objet : dispatch to new window in web browser possible?
I just want to add that you can name windows and submit data between
them. It is perfectly possible to gather data in 1 window and always show
the result in a second window, without opening a new window every
time. The _blanc parameter will open an new window with every
submit. You do not
I'm trying to link Cocoon with Zope, to take advantage of all of Zope's
CMS features and interface etc, but havin git output XML for use in
cocoon to produce nicely formatted web-pages, with the option of
converting them to .rtf .pdf or whatever should people desire.
However, I'm havin gproblems
Hi All
I have problem running Cocoon on websphere, it works on some of the pages
from the install
but on others for example.
http://localhost:9080/cocoon/cocoon/documents/index.html
it dosnt i think that the under underling error message is.
Cannot set header. Response already committed.
Is
quot; instead of might be needed. Thus
String userPass = quot;xsl:value-of select=password/quot;;
Mind the double ;
Regards,
Edgar
-Oorspronkelijk bericht-
Van: Graaf, Edgar de (fin) [mailto:[EMAIL PROTECTED]]
Verzonden: vrijdag 3 mei 2002 9:23
Aan: '[EMAIL PROTECTED]'
Onderwerp:
On 02.May.2002 -- 10:16 PM, Horst Rutter wrote:
Can someone please fill me in on the following:
I found two ways of sending an email in Cocoon:
1) the sendmail.xsp/sendmail.xsl combo
2) the SendMailAction
Is this intentional and if so in which case would I be using which one?
Maybe this
If there's anybody with good knowledge and some time to answer some of my
questions, please let me know.
I'm looking for some help regarding XUpdate and application development
using Xindice...
Thanks in advance.
JOERN
-
Hi,
[EMAIL PROTECTED] schrieb:
Johannes Koch wrote
Cocoon 1.8.2 only uses the User-Agent header for mapping clients to
device client classes. As the Kannel doesn't add something to the
client's User-Agent header, you can't recognize the Kannel
Thanks for the input.
I have to
Now that it has, do you know if Connection Pooling works for ESQL etc?
Hmmm. I will see. I don't yet use any of the database-related features of
Cocoon in my work, nor the XSP features, although that will happen
eventually. I'm trying to migrate a document-rich web site that currently
runs
Hi all,
I have downloaded CVS xml-cocoon2_20020502102538.tar.gz, and have BUILD
SUCCESSFUL.
Many problem is solved, but there is new problem, when insert or update via
DatabaseAddAction and DatabaseUpdateAction, see
http://localhost/cocoon/tutorial/create-dept.html.
Cocoon 2.1; Tomcat 4.0; JDK
Hi all,
I'm having a strange problem with cocoon, my
configuration is Cocoon2.02, jdk1.4.0, Tomcat 4.03 and
Apache/1.3.23. Basically I've got an aggregate with
the one part being a local resource and the other
being a soap call to a separate servlet and the
request param action like so:
Hi
I am trying to learn FO, and have started with the IBM developer works
Tutorial;
http://www-106.ibm.com/developerworks/education/transforming-xml/xmltopdf/index.html
the code samples were orginally designed to run under Cocoon 1, but I
thought *should*
work under 2 as well...
I get the
Hi,
I want to prepare a site which I will serve both in English and
Turkish language. So I want to use a way of serving my site in
different languages but without using i18n property of Cocoon.
Because I think this technology is in stage of development. Thus I
think I will use a method such like
Have a look at the examples shipped with cocoon. you'll find the wildcard
matcher which will help you
e.g.
map:match pattern=/*/*.xml
map:generate src={1}/{2}.xml/
map:transform type=cinclude/
Those of you interested in the portal components may like to take a look
here: http://needacake.blogspot.com. The screenshot shows a preview of a
tabbed portal layout that we will be presenting at Jax2002 in Frankfurt in a
couple of weeks. In addition we will be showing how to build and integrate
Hi
Still trying to get FO-PDF working - the hello.pdf sample
in the Cocoon samples directory works fine, but as soon
as I copy the sample XML file and the stylesheet over to
a subsite, along with a suitable pipeline entry, the Adobe
reader is no longer triggered, and I get what looks like
The problem with XSLT-FO code attached, was that it
was an earlier spec and needs some work to update -
I will contact the author...
[EMAIL PROTECTED] 03/05/2002 01:31:12
Hi
I am trying to learn FO, and have started with the IBM developer works
Tutorial;
Hi Derek,
Derek Hohls schrieb:
Hi
I am trying to learn FO, and have started with the IBM developer works
Tutorial;
http://www-106.ibm.com/developerworks/education/transforming-xml/xmltopdf/index.html
the code samples were orginally designed to run under Cocoon 1, but I
thought *should*
From: Jon Pallas [mailto:[EMAIL PROTECTED]]
Hi All
I have problem running Cocoon on websphere, it works on some of the
pages
from the install
but on others for example.
http://localhost:9080/cocoon/cocoon/documents/index.html
it dosnt i think that the under underling error message
From: Hiloliddin Karimov [mailto:[EMAIL PROTECTED]]
Hi all,
I have downloaded CVS xml-cocoon2_20020502102538.tar.gz, and have
BUILD
SUCCESSFUL.
Many problem is solved, but there is new problem, when insert or
update via
DatabaseAddAction and DatabaseUpdateAction, see
From: Graeme Rocher [mailto:[EMAIL PROTECTED]]
Hi all,
I'm having a strange problem with cocoon, my
configuration is Cocoon2.02, jdk1.4.0, Tomcat 4.03 and
Apache/1.3.23. Basically I've got an aggregate with
the one part being a local resource and the other
being a soap call to a
Dear colleagues,
does anybody know how to open a new cocoon page in a new window (I can use
JavaScript window.open) and if the opened window has submitted I want to
make a request to the opener window so that their values can be updated.
Every time after opening the window, cocoon returns a
Volker,
as far as I understood your problem, it has has nothing to do with Cocoon.
Anyway, look at the window.opener property of the child window, it lets
you set data inside the mother window's forms.
Best regards,
-
Luca Morandini
Title: Message
I'm trying to get
Cocoon 1.8.2 up and running with Tomcat 3.2.1 on a Windows XP
machine.
I'm new to Cocoon
and I can't seem to get things running.
I followed the
installation instructions included in the /docs/install.htm file exactly - I got
a 404 when trying to access
Does this one works from the browser on the same host
where Cocoon installed?
Yes it does, it works fine if i call the servlet
directly without going through cocoon, but fails when
i pass i through cocoon unless i talk directly to
tomcat on port 8080.
Why do you think that call on port 80 would
Hi,
If I turning off cookies from the browser, Session does not persist.
I'm using Cocoon 2.0rc2 and as of my understanding it wraps the
javax.servlet.http.HttpSession, As I know when cookies are
disabled it should use URL rewriting with jsessionid. I can see that
Cocoon rewrites URL for
Hi Joshua:
http://www.galatea.com/flashguides/apache-tomcat-cocoon-win32.xml should
help you.
Regards,
Lajos
Joshua Miller wrote:
I'm trying to get Cocoon 1.8.2 up and running with Tomcat 3.2.1 on a
Windows XP machine.
I'm new to Cocoon and I can't seem to get things running.
This smells a LOT like the wrong mime type.
I've done a lot of programming using FDF's (PDF forms) and these also come
through in the pure text type if the mime type is not set up
correctly. Check your sitemap serializer entries.
Bert
At 15:44 3/05/2002 +0200, you wrote:
Hi
Still trying to
From: Graeme Rocher [mailto:[EMAIL PROTECTED]]
Does this one works from the browser on the same host
where Cocoon installed?
Yes it does, it works fine if i call the servlet
directly without going through cocoon, but fails when
i pass i through cocoon unless i talk directly to
tomcat
From: Alexander Smirnoff [mailto:[EMAIL PROTECTED]]
Hi,
If I turning off cookies from the browser, Session does not persist.
I'm using Cocoon 2.0rc2 and as of my understanding it wraps the
javax.servlet.http.HttpSession, As I know when cookies are
disabled it should use URL rewriting
Alexander Smirnoff wrote:
Hi,
If I turning off cookies from the browser, Session does not persist.
I'm using Cocoon 2.0rc2 and as of my understanding it wraps the
javax.servlet.http.HttpSession, As I know when cookies are
disabled it should use URL rewriting with jsessionid. I can see that
I have tried with/without the serializer:
The base sitemap has:
map:serializer name=fo2pdf
src=org.apache.cocoon.serialization.FOPSerializer
mime-type=application/pdf/
I have tried copying this into the subsitemap and then removing it;
either way makes no difference!
Strange that it works in
Berin Loritsch wrote:
Alexander Smirnoff wrote:
Hi,
If I turning off cookies from the browser, Session does not persist.
I'm using Cocoon 2.0rc2 and as of my understanding it wraps the
javax.servlet.http.HttpSession, As I know when cookies are
disabled it should use URL rewriting
Hello people,
I'm new to cocoon 2, I'm running on OS X 10.1.4 and Tomcat 4.0.1 and
I've got a problem with i18n. The pipeline is failing to execute, file
not found error on the examples page. My guess is that the sitemap need
to be modified or the transformer included into tomcat 4.01.
Thanks Vadim
The logs were helpfull. The access.log shows that there is an change in the
context after it says
No pipeline matched request: /cocoon/documents/index.html
and then it g
The initilal link on the home page is
http://localhost:9080/cocoon/documents/index
this gets redirected to
Ok, that's the old websphere bug and I guess that they again changed the
behavior of encodeRedirectURL.
Take a look at the HttpEnvironment class in the Cocoon:
// FIXME (VG): WebSphere 4.0/4.0.1 bug
if (!newURL.startsWith(/) newURL.indexOf(':') == -1
redirect.indexOf(':') !=
If I turning off cookies from the browser, Session does not persist.
I'm using Cocoon 2.0rc2 and as of my understanding it wraps the
javax.servlet.http.HttpSession, As I know when cookies are
disabled it should use URL rewriting with jsessionid. I can see that
Not *it*, but *you*
I am trying to move from cocoon 1 to cocoon 2 using the combination
Linux with Apache 1.3.24 and Tomcat 4.0.4, Cocoon 2.0.2. and JDK 1.4.0
I am using the 'mod_webapp' connector between Apache and Tomcat.
All of the demonstration and provided examples work with the above combination.
My own
Hi,
I'm wondering what is the preferred use of i18n. I'm developing a
bi-lingual site.
I've looked at message catalogs, but I don't want to insert all my content
in a single file (of course).
should I use the locale variable to choose between directories that have
Actually, your version seems syntactically correct, but mine works...go
figure.
Well, apparently the problem is stemming from OSX being a UNIX
operating system, but using a non case-sensitive file system. I've
experienced weird anomalies like this before where I'd have to export
and recreate
I've browsed a bit through the archives, but I haven't found much on this --
so here goes.
I'm using Cocoon with DocBook, and Norman Walsh's DocBook 1.50 HTML style
sheets.
I've been able to successfully render trivial DocBook Articles, but can't
get cocoon to render and DocBook books.
Hi all,
My esql query is returning huge amount of data (many rows). I know there's a
way to limit the number of rows but I do need all rows. But I want to
display only 10 rows at a time. And then next 10 rows and so on. Is there a
way to do that?
Sushil
Hi,
I use this sitemap fragment to change the locale session variable on my
site. the variable is set in the .xsp, obtained from a request variable.
When I run this fragment with serialize on the end, it runs fine. however,
when I change it to redirect, the session data
Title: RE: esql question
-Original Message-
From: sushil Bhattarai [mailto:[EMAIL PROTECTED]]
Subject: esql question
My esql query is returning huge amount of data (many rows). I
know there's a
way to limit the number of rows but I do need all rows. But I want to
display
Just to follow up with this, it appears this a bit of a bug with C2. I
don't know why the normal Cocoon sitemap wasn't working, but for my sitemap
it was a case of a little too much cutting when I cut and pasted the
sitemap: I was missing the pipeline tags. The questionable behavior is
that
Title: Message
I'm trying to get
Cocoon 1.8.2 up and running with Tomcat 3.2.1 /
JDK 1.3.1on a Windows XP machine.
I'm new to Cocoon
and I can't seem to get things running.
I followed the
installation instructions included in the /docs/install.htm file exactly - I got
a 404 when trying
hello,
i hope someone can help me with sitemap/subsitemaps. in the sitemap located
in the default cocoon directory (d:\tomcat\webapps\cocoon\sitemap.xmap)
contains the sub-sitemap mount
map:match pattern=admin/**
map:mount uri-prefix=admin src=file:///d:/tomcat/webapps/admin/
Sushil,
You use SQL syntax to limit your result set. Like this:
SELECT * FROM MYTABLE LIMIT 1,10
will give you the results starting from the first one, all the way until
the next 10 (1-10).
SELECT * FROM MYTABLE LIMIT 50,10
Will give you the results starting from the 50th, all the way until
I am working on a project where we have a datasource
which produces XML based on certain parameters. I would
like to use this as input to an XSP page which defines
overall content structure (semantics) then, finally,
apply a stylsheet appropriate for the invoking client.
Problem: It seems
We built the website of our mountaineering club
SAC Sektion Piz Sol with Cocoon 2.
http://www.sac-piz-sol.ch
Thank you for your great effort in developing Cocoon.
It's cool!!
Sincerely,
Felix Roethenbacher
-
Please check
This is a really strange problem.
I've just begun working with a set of documents in a sub site. After
several iterations of playing with the wildcards, etc. I was able to
deliver the documents just fine using one particular stylesheet that
converted my xml to html.
Then I substituted a
Okay, I just learned that the problem was with my subsitemap xmap file.
I neglected to include the bare minimal component references:
map:components
map:generators default=file/
map:transformers default=xslt/
map:serializers default=html/
map:selectors default=browser/
sushil Bhattarai wrote:
Hi all,
My esql query is returning huge amount of data (many rows). I know
there's a way to limit the number of rows but I do need all rows. But I
want to display only 10 rows at a time. And then next 10 rows and so on.
Is there a way to do that?
esql let's you
I need to use teh roles in the user authentication and have been tying to
get *something* going all day, with no succes. I've read the docs at least
ten times, but can't find the way to get it going.
What I need:
I have several types of users.
- The simplest ones only can access the member
Robert:
Next time you see some error, try reading the log file. It has some
useful info in it; also sometimes it is too verbose.
Vadim
--
Resistance is futile.
-Original Message-
From: Robert J. Lebowitz [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 4:09 PM
To: [EMAIL
I'm using Cocoon with DocBook, and Norman Walsh's DocBook
1.50 HTML style
sheets.
snip
Failed to execute pipeline.
org.apache.cocoon.ProcessingException:
Failed to execute pipeline.:
java.lang.RuntimeException: 2 = 2
OK, I solved my problem by substituting Saxon
Read installation notes about X-less Cocoon installation, Batik, and
UNIX. Take a look also at FAQs and mail archive.
For some reason (org.apache.batik.dom.svg.SAXSVGDocumentFactory) I think
you have an issue running Batik on that box.
Vadim
--
Resistance is futile.
-Original
Thanks for the input (and sorry for the delay)
I will try out the modification in the Kannel code
and will get back to you. Meanwhile please
keep checking the post.
SNODX
Johannes Koch wrote:
Read about HTTP headers in the HTTP 1.1 specification:
http://www.w3.org/Protocols/rfc2068/rfc2068
Don't worry seems to have been an old Xerces jar file lying around in the
classpath
On 3/5/02 16:04, Vadim Gritsenko [EMAIL PROTECTED] wrote:
From: Deepak Mehta [mailto:[EMAIL PROTECTED]]
Description:org.apache.cocoon.ProcessingException:
java.lang.NullPointerException
I am running
65 matches
Mail list logo