I don't think there's a xsp-response:send-redirect location=/. Check the
source dir to see your xsp logicsheets and their functions:
\cocoon-2.1\src\java\org\apache\cocoon\components\language\markup\xsp\java.
If your debugging xsp, it's always good to see your compiled page (that's
where the error
I think Jan's right - I can't find a reference to
xsp-response:send-redirect anywhere. On my system the xsp compiles and
runs, but it doesn't do anything.
Best regards,
John
Jan Hoskens wrote:
I don't think there's a xsp-response:send-redirect location=/. Check the
source dir to see your xsp
Have you checked the wiki page: http://wiki.cocoondev.org/Wiki.jsp?page=Firebirdsql
Currently I am not a cocoon user, but have done some testing a couple of months ago
and found out that using Firebird is no fun, esp. (but not only) in connection with
cocoon. The page mentioned above is mainly a
In the Cocoon sample set for modular database actions,
the author says:
Note, that we do no parameter validation here, just see if
some parameters are present. For a real application, you'd
want to check their values as well.
* First question - has anyone created an application that uses
See woody binding examples,if you want to save the data using modular
database action ,I think there's no easy way.
That's what I do for saving dom data by actions.
in flow js:cocoon.sendPage(formname+-add,{data:document});
you can write an inputmodule to read data from the data object,then
On Mon, 16 Feb 2004 07:46:26 +
beyaNet Consultancy [EMAIL PROTECTED] wrote:
Hi,
so far I have been making reference to images via my
sitemap as standard:
map:match pattern=*.jpg
map:read mine-type=text/jpeg
Thanks Roy,
but this is all far too complex for my needs ...
I will see if there are any other suggestions
posted!
(my feeling right now is that Woody seems to
simplify some things but hugely complicate others:
I might be better off doing things the old way - with
actions and simple form
Derek Hohls wrote:
In the Cocoon sample set for modular database actions,
the author says:
Note, that we do no parameter validation here, just see if
some parameters are present. For a real application, you'd
want to check their values as well.
* First question - has anyone created an
Hello All!
1. I have problem with using Cocoon 2.1-M1.
I have the pipeline login.
map:match pattern=login
map:act type=login
map:generate src=cms/usecase/login/{page}.xml/
map:serialize type=html/
/map:act
/map:match
After success login it redirects to choose project pipeline which is
It's an HTML/XHTML problem. see wiki on HTML Serializer (and/or encoding
problem)
Le Lundi 16 Février 2004 11:24, Andrey Almirov a écrit :
Hello All!
1. I have problem with using Cocoon 2.1-M1.
I have the pipeline login.
map:match pattern=login
map:act type=login
map:generate
I thought about other method to save woody data back into database ,like
ojb ...,but I think using existing action to save xml data is much more
flexible(don't need write java code every application/table).Woody now is
not stable and easy to use now,but for long time maintain,I still choose
Due to the very specific nature of the interface to the databases. If you're
interested: they are PIDS and COAS servers (see
http://www.omg.org/healthcare, search for Person Identification
Specification and Clinical Observation Access Specification).
Basically they don't support SQL but use
I am trying to test the WoodyActionSample from the wiki site
and would appreciate help from anyone who has managed
to get it working:
My (basic) questions/problems are:
1. How do I go about compiling and using the java files
referred to at the top of the page?
2. In the sitemap, the
Nobody has any remarks about this? Or is it because it was posted at the end
of the week;-)
Or should I ask dev list?
Kind Regards,
Jan
- Original Message -
From: Jan Hoskens [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 13, 2004 11:32 AM
Subject: Bug? Reading File
»Æ º£¶¬ dijo:
I thought about other method to save woody data back into database ,like
ojb ...,but I think using existing action to save xml data is much more
flexible(don't need write java code every application/table).
Hi:
In relation to OJB:
1. There are automated tools that can write the
Why don't you use a final version of Cocoon 2.1 instead of a milestone, like i.e.
2.1.4?
David
-Mensaje original-
De: Andrey Almirov [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 16 de febrero de 2004 11:25
Para: [EMAIL PROTECTED]
Asunto: IE explorer problem
Hello All!
1. I
hi corin,
it wouldn't make sense to 'cache actions'. responses are cached (and the
CacheableProcessingComponent methods are called) by the processing pipelines
but the ServerPagesAction directly uses the ServerPagesGenerator. so, the
short answer is; respones from server pages 'invoked' from a
Hi all,
Does anybody know why xmlns namespace references are not removed by the HTML
serializer?.
In my browser I can see some code like this:
html xmlns:xf=ima.xf
head
META http-equiv=Content-Type content=text/html; charset=UTF-8
link xmlns:i18n=http://apache.org/cocoon/i18n/2.1;
cf Wiki.
Le Lundi 16 Février 2004 12:56, Carmona Perez, David a écrit :
Hi all,
Does anybody know why xmlns namespace references are not removed by the
HTML serializer?.
In my browser I can see some code like this:
html xmlns:xf=ima.xf
head
META http-equiv=Content-Type
See:
http://wiki.cocoondev.org/Wiki.jsp?page=RemoveNamespaces
[EMAIL PROTECTED] 2004/02/16 01:56:10 PM
Hi all,
Does anybody know why xmlns namespace references are not removed by the
HTML serializer?.
In my browser I can see some code like this:
html xmlns:xf=ima.xf
head
META
Hi,
I want to be able to create one deployable war file containing Cocoon
(2.1.3) with my own custom components (Generators, Selectors and
Transformers). To comply with the WAR file specifications I want to
configure my Generators (who use database access) so that I can change
settings when
Hello,
How do I configure cocoon (2.1) to use as little memory as possible (i.e.
possibly lower performance, but smallest possible footprint)?
I have a very simple xml/xsl website, and I would like it to run on a very
tight memory budget. I'd also like not to have to tamper with the startup
Why don't you use CLI?
Le Lundi 16 Février 2004 13:28, [EMAIL PROTECTED] a écrit :
Hello,
How do I configure cocoon (2.1) to use as little memory as possible (i.e.
possibly lower performance, but smallest possible footprint)?
I have a very simple xml/xsl website, and I would like it to run on
[EMAIL PROTECTED] wrote:
Due to the very specific nature of the interface to the databases. If you're
interested: they are PIDS and COAS servers (see
http://www.omg.org/healthcare, search for Person Identification
Specification and Clinical Observation Access Specification).
Basically they don't
How do I configure cocoon (2.1) to use as little memory as possible (i.e.
possibly lower performance, but smallest possible footprint)?
Why don't you use CLI?
Well, its a small site xml/xsl site, but not all xml is xml-files. Some
dynamic content is based on request params, directories,
Hi,
Is anyone on the userslist attending the XML Europe 2004?
Kind regards,
Arjé Cahn
Hippo Webworks
Grasweg 35
1031 HW Amsterdam
The Netherlands
Tel +31 (0)20 6345173
Fax +31 (0)20 6345179
-
[EMAIL PROTECTED] / www.hippo.nl
Hi group,
I want to be able to access Tomcat's Environment Entries in the Cocoon sitemap the same way I access my jdbc connection.
For instance, I want to be able to add via the Tomcat administrator:
Name:ldapServerUrl
Type:java.lang.String
Value:
Hi,
I wrote a custom Generator persistence.ViewGenerator It extends the
AbstractGenerator (with the Interface LoggingEnabled).
In the method generate() I wrote that following code:
..
if (getLogger().isDebugEnabled()) {
this.getLogger().debug(Generating View);}
..
In the logkit.xconf I defined
Hmmm... well, it looks like if you use a relative path there, it's
relative to the working directory of the process that started the
servlet container. I'm using Jetty on Unix, so YMMV. Anyway, I do
this:
upload_manager
Thanks for all answers, it works ok. :)
David
-Mensaje original-
De: Derek Hohls [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 16 de febrero de 2004 13:05
Para: [EMAIL PROTECTED]
Asunto: Re: xmlns namespace references not removed by the HTMLserializer.
See:
AFAIK the source of this problem is a bug in the File.toURL method of
the Java API. (in the javadoc of jdk 1.4 I see this limitation is now
documented and an alternative method is provided).
The trouble with fixing this is that there are probably already people
depending on this incorrect
On Mon, 2004-02-16 at 08:12, Jan Hoskens wrote:
to test that the sitemap really calls this code, i changed the value of
the continuation like this map:call continuation={1}/{2}/ and i get
- correctly - an error, so it runs the correct code in the sitemap
finally my question: isn't it
But all this doesn't immediately help you of course...
I guess trying to avoid filenames containing non-ascii characters is a
bad suggestion? ;-)
I already had that in mind, but the filenames contain names, and therefore I
would prefer that they are correct. I thought it would be better
On Feb 15, 2004, at 10:16 PM, reza x wrote:
hi all.
Is it practical to use HTMLSerializer to build reports without using
cocoon framework?08.gif
if it is ,please guide me how can I use it to build my web application
reports, other wise introduce me a good and robust report generator to
build
I prefer to see the the continuation ID's in the URL. I see the
continuations as resources existing on the server (temporary resources
then), and a resource should be addressed by an URL.
The URL-structure I'm currently using is as follows. Suppose the thing
we're editing is an order, then I
On Feb 16, 2004, at 5:03 AM, Bert Van Kets wrote:
Hmmm... well, it looks like if you use a relative path there, it's
relative to the working directory of the process that started the
servlet container. I'm using Jetty on Unix, so YMMV. Anyway, I do
this:
upload_manager
On Mon, 2004-02-16 at 15:47, Jan Hoskens wrote:
I prefer to see the the continuation ID's in the URL. I see the
continuations as resources existing on the server (temporary resources
then), and a resource should be addressed by an URL.
The URL-structure I'm currently using is as follows.
On Sun, 2004-02-15 at 23:31, Tony Edwards wrote:
Thanks for your responses, people.
I added cocoon:/ to the URL but got this error:
uri is not allowed to contain a scheme (cocoon:/ is always automatically
used)
Any thoughts,
I think that's the message you get when you use cocoon:/ as
If you're following an as long as it works its fine attitude, yes. The
fact that resources should be identified by URL's is basic web
architecture though.
What are you referring to with 'basic web architecture'? Is there anyting
more I should know?
(Just trying to learn a bit ;-)
Kind
Mark Lundquist wrote:
On Feb 16, 2004, at 5:03 AM, Bert Van Kets wrote:
Hmmm... well, it looks like if you use a relative path there, it's
relative to the working directory of the process that started the
servlet container. I'm using Jetty on Unix, so YMMV. Anyway, I do
this:
On Mon, 2004-02-16 at 16:12, Jan Hoskens wrote:
If you're following an as long as it works its fine attitude, yes. The
fact that resources should be identified by URL's is basic web
architecture though.
What are you referring to with 'basic web architecture'? Is there anyting
more I
Hi Jan:
Not sure if this is a bug. Can you upgrade to 2.1.4?
Best Regards,
Antonio Gallardo
Jan Wielgus dijo:
Hello, the following snippet of code makes problems under Cocoon 2.1.3:
map:act type=auth-loggedIn
map:parameter name=handler value=lmhandler/
map:redirect-to uri=main.xsp/
Hi Rob,
I put JDBC driver at Tomcat/common/endorsed. But situation is same.
And I update JDBC driver to Jaybird 1.5 Beta 3.
I encounter same error.
ERROR (2004-02-17) 00:28.35:926 [core.manager]
(/cocoonSimpleESQLSample/ESQLSample.html) Thread-7/ESQLSample_xsp: Could
not get the datasource
hy,
with the woody new features (dynamic widget, etc..)
,do you think that it's theoricaly possible to
create a tools to convert XSD to woody form ?
thanks in advance
Hi:
In relation to OJB:
I saw ojb,but it need java code,I need a tool to write code once ,use many
times,binding xml data can config by parameter and config file.OJB can
mapping but map object(java bean?) and database,so it will need some java
code every time,that's why I don't choose it.Did I
Simon,
thanks for the tip you gave earlier. It works fine in Netscape but is a broken image in IE. What am I doing wrong?
My xsp looks like this:
byte[] photoa = artist.getArtistPhoto1();
!-- base64 encode byte array -->
String newPhoto = Base64.encodeBytes(photoa);
!-- remove spaces from
First of all thanks very trying to help me with this.
It is good to know there seems more behind
this problem then just a small error - played to long
with this problem to be just easy to solve. :-)
It seems it has to do something with the html
tag combined with the XHTML namespace. I tried
Daiju Kato Escribio :-)
Hello all,
Please assist me if you use Firebird.
I try to connect Firebird database with Jaybird JDBC driver.
Even though loading JDBC driver in web.xml, below error is encountered.
Could not get the datasource
Gabriel,
I was looking into another issue, and came across this Input Module that looks like it does exactly what you want? It'll walk up a directory tree looking for a file.
See the following URLs (not in any specific order):
Hi,
How do I specify the file extension that a serializer uses to
write a file on disk when running Cocoon 2.0 in CLI mode ? E.g. I use
the XML-serializer and Cocoon always appends .xml to file filename,
but I need another extension.
Thanks,
gerd
Carlos,
(B
(B i think you do not have declare the class name of the driver
(B in web.xml.
(B
(BI have already set class name in web.xml.
(BPlease let me know if you know anything for the problem.
(B
(Bthanks.
(B
(BDaiju Kato Escribio :-)
(B Hello all,
(B
(B Please assist me if
Hi Jan:
Not sure if this is a bug. Can you upgrade to 2.1.4?
It seems that it is a bug in 2.1.3. I upgraded to 2.1.4 and now it
works correctly.
Jan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hello,
I am having troubles with getting JSR-168 portlet samples running in the portal demo.
They still display The coplet Portlet-1 is currently not available. in the portlet
window and write exception in the log:
2004-02-16 19:39:29 WARN(2004-02-16) 19:39.29:974 [portal ]
Hi, any one get cocoon to compile or run with j2sdk 1.5.0-beta? I get:
2004-02-16 11:40:34 StandardWrapperValve[Cocoon]: Servlet.service() for
servlet Cocoon threw exception
java.lang.ExceptionInInitializerError
at org.apache.xml.serializer.ToStream.init(ToStream.java:152)
at
Hey all.
I needed place to store XML data, so I wrote a native XML
persistence engine. I call it Momento.
* It supports XSLT 2.0 and XQuery 1.0 (via Saxon) and XUpdate.
* It supports concurrent queries and inserts.
* It is transactional and ACID.
It is getting
* Alan [EMAIL PROTECTED] [2004-02-16 19:41]:
Hey all.
I needed place to store XML data, so I wrote a native XML
persistence engine. I call it Momento.
* It supports XSLT 2.0 and XQuery 1.0 (via Saxon) and XUpdate.
* It supports concurrent queries and inserts.
* It
Rob Gregory wrote:
Please could anyone confirm that they are using Oracle with ESQL on
Cocoon 2.1+ with the esql:more-results tag working??
Thanks in advance for any input.
There have been some refactorings of the code that determines the
number of rows in a resultset. These are most likely
Hello,
I have such a problem in my logicsheet. I defined my own package
where I have functions for creating and deleting user directories.
If I use them in my logicsheet with the full package path, they
work correctly, for example:
Hi,
On Mon, 16 Feb 2004 16:51:27 +
beyaNet Consultancy [EMAIL PROTECTED] wrote:
Simon,
thanks for the tip you gave earlier. It works fine in
Netscape but is a broken image in IE. What am I doing
wrong?
My xsp looks like this:
byte[] photoa =
Daiju Kato Escribio :-)
Carlos,
i think you do not have declare the class name of the driver
in web.xml.
I have already set class name in web.xml.
Please let me know if you know anything for the problem.
thanks.
Well i do not remember any problem more.
I configure web.xml,
Simon,I can save the image in Netscape and then load it up into IE
without any problems. Does IE support src=data:image/jpeg;base64 ???
On 16 Feb 2004, at 21:48, Simon Mieth wrote:
Hi,
On Mon, 16 Feb 2004 16:51:27 +
beyaNet Consultancy [EMAIL PROTECTED] wrote:
Simon,
thanks for the tip you
Thanks very much Christian ;o)
Was a little concerned nobody seemed to be able to help with this and
grateful one of the Guru's has been able to offer some advice. I have
seen your name mentioned all over the net while trying to resolve this -
especially with regards to ESQL and am glad for some
hi cocoon-users
i was wondering that the thread i began (woody/flowscript and
URI-problem), gets a little bit philosophic :-) in the meantime i redo
the whole thing again and it works! must be a stupid typo-error or
something like this.
anyway, here's the whole step-by-step-example how to do
Daiju Kato Escribio :-)
Carlos,
i think you do not have declare the class name of the driver
in web.xml.
I have already set class name in web.xml.
Please let me know if you know anything for the problem.
thanks.
Well i do not remember any problem more.
Try to see if the
[SORRY, ONCE AGAIN MY QUESTION, BECAUSE THERE WAS NO ANSWER]
hi there
i wonder that cocoons serializer just writes a meta-tag with the
encoding in the html-page. it doesn't do this in the http-header.
therefore apache set the http-header to his standard-encoding and
destroys the correct
there may be no best way. You can probably fix this issue at several different levels; Cocoon; Tomcat; Apache (if using it), etc. In Cocoon, the easiest would probably be an Action. It can be dirt simple. If you want to use an xsp-action, it could be something like this:
xsp:page
Bruno, You are the Man!!
I piffed the 'cocoon:/' schema from the form.showForm() call and it worked!
This means I can now generate in real time a quick and easy table
maintenance form based on the torque schema file - as long as I come up
with some clever flow to handle different table names
Simon,
could you just confirm to me that i am using the correct syntax
sitemap:
map:serializers default=html>
map:serializer name=svg2jpeg src=org.apache.cocoon.serialization.SVGSerializer mime-type=image/jpeg logger=sitemap.serializer.svg2jpeg/>
/map:serializers>
Hi,
following sendmail action (partially reproduced)
runs fine:
sendmail:send-mail
sendmail:fromxsp:exprrequest.get("from")/xsp:expr/sendmail:from
...
== Note that you should read the
sendmail:from as one line (in case your mail program wraps
it).
Now, with following an Lanaguage
On Mon, 2004-02-16 at 23:20, Stefan Burkard wrote:
[SORRY, ONCE AGAIN MY QUESTION, BECAUSE THERE WAS NO ANSWER]
hi there
i wonder that cocoons serializer just writes a meta-tag with the
encoding in the html-page.
The actual serializer implementation is provided by Xalan, who does
this.
On Mon, 2004-02-16 at 19:17, Christian Kreutz wrote:
First of all thanks very trying to help me with this.
It is good to know there seems more behind
this problem then just a small error - played to long
with this problem to be just easy to solve. :-)
It seems it has to do something with
This is correct your current version was compiled for 1.4 and since 1.5 is
still Beta maybe there are some issues.
The problems with compiling are related to the VM checking inside Cocoon.
I think if you want to build a test You will need to change some files in
cocoon-2.1/tools/targets dir. See:
Jan Wielgus dijo:
Hi Jan:
Not sure if this is a bug. Can you upgrade to 2.1.4?
It seems that it is a bug in 2.1.3. I upgraded to 2.1.4 and now it
works correctly.
Hi Jan:
Glad to hear that! Enjoy Cocoon ;-)
Best Regards,
Antonio Gallardo
i wonder that cocoons serializer just writes a meta-tag with the
encoding in the html-page. it doesn't do this in the http-header.
therefore apache set the http-header to his standard-encoding and
destroys the correct encoding of the response, because most browsers
ignore the meta-tag if the
Hi:
The lesson I learned from 2 webapp we did using XSP+DB Actions vs.
OJB+CForms+Flow (OCF) is:
1-Try to separate concerns. Is is easier using OCF than with XSP. We have
some XSP scripts that we don't want (nor like to think in the idea) to
change them. Those files are too complex to get into
Any one have an idea why I get the following error when trying to run the
Linotype sample:
NOTE: enable-uploads is now set to true.
-
An Error Occurred
Failed to execute pipeline.
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
java.lang.RuntimeException:
Dear all,
I've started down a route to generate XSP pages from a SQL query to send
e-mails to the users of our system about updates.
I have subsequently realised that a mail transformer would be better,
and seem to remember it used to exist.
Assuming it is still available (Cococoon 2.1.2) I
-Original Message-
From: DURDINA Michal [mailto:[EMAIL PROTECTED]
Sent: Monday, February 16, 2004 7:50 PM
To: [EMAIL PROTECTED]
Subject: [Portal] JSR-168 examples
Hello,
I am having troubles with getting JSR-168 portlet samples
running in the portal demo. They still display The
78 matches
Mail list logo