Sorry but, I am reopening this, because I need to change some parameters on
the client form before I can add it to the database.
I have a 2 fields database key:
cat_id (foreign key from table categories)
pro_id
In the table are some values:
cat_id pro_id pro_name
1 1
The answer I found was using Javascript to change the values of 2 hidden
parameters using the OnChange event of the object select.
Antonio Gallardo
El Lunes, 07 de Octubre de 2002 00:31, Antonio Gallardo Rivera escribió:
Sorry but, I am reopening this, because I need to change some parameters
On 06.Oct.2002 -- 04:57 PM, Antonio Gallardo Rivera wrote:
Hi Folks!
Is in Cocoon support for generating random database keys? Or a function that
can return a random number?
I know that in Java is support for the Random class. This class generate a
sequence based on a seed (like
On 06.Oct.2002 -- 01:52 PM, Hugo Burm wrote:
Hello,
I am using the modular database actions and doing a simple select action on
a table.
With the CVS version of about a week ago, this worked ok, and the results
were stored in the request attributes by the default output module.
With the
Dear All,
I'm using Cocoon to apply a new style to an existing site, i.e. HTML-XML-HTML. So
far, it is working very well, however:
In the original site, there are a few HTML files that have + characters in the
filename,
e.g. mind+body.html. When used as the source for a pipeline, I get:
A
Hi !
I've got a very stupid problem...
If I insert an image link in an XML page, it isn't displayed at all...
Here is my sitemap code...
map:pipeline
map:match pattern=test.html
map:generate src=docs/test.xml type=serverpages/
map:transform
Make sure that the image is available at that link:
./test.html
./pics/test.jpg
Maybe you have to insert something like this:
map:match pattern=pics/*.jpg
map:read src=pics/{1}.jpg mime-type=image/jpg/
/map:match
Try to access your image directly (entering the URL into the adress bar)
Hi all and gurus,
I have an xsl stylesheet which uses a java extension, which has a native
method calling a dll (passing a string and getting a crypted string back). I
have to use this dll...
I use Tomcat 4.1.12 and the dll is not found, it doesn't seem to be a Tomcat
problem (its PATH points
Hi Reinhard,
Thank you very much, I modified the sitemap,
and it works perfectly :
Regards,
Ganaël.
- Original Message -
From: Reinhard Poetz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 07, 2002 11:22 AM
Subject: RE: Can't display images
Make sure that the
Hi people,
let's say you have a website with an administrative section that is
protected using the Authentication Framework:
map:match pattern=admin/**
map:act type=auth-protect
map:parameter name=handler value=authhandler/
map:match pattern=admin/newuser
...
Exactly like that.
You can't change request parameters, you should use request attributes
instead. In theory, if you need different request parameters then you should
create a new request and set all the parameters you need. But I don't think
that you'll need this approach for your task.
I've noticed this problem before.
Tomcat runs on port 9090, I can only browse links I have from Cocoon's main
page, I mean that direct typing of :
http://localhost:9090/cocoon/samples/resources or even
http://localhost:9090/cocoon/samples
leads to : resource not found.
CVS from 10/03. What is
Barbara,
Maybe a typo of you but you need a slash at the end to reach the samples:
http://localhost:9090/cocoon/samples/
Regards,
Reinhard
-Original Message-
From: Barbara Post [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 12:41 PM
To: [EMAIL PROTECTED]
Subject:
I have the same problem, try this:
1) ./build.sh clean
2) delete dirs: works and webapps/cocoon
3) ./build.sh -Dinclude.webapp.libs=true \
-Dinclude.scratchpad.libs=true installwar
4) Try: http://localhost:9090/cocoon/samples/
If this does not work,
5) delete dirs: works and webapps/cocoon
Great, thanks Reinhard, this works now :-)
- Original Message -
From: Reinhard Poetz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 07, 2002 12:47 PM
Subject: RE: Cannot access sub-sitemaps of Cocoon's doc
Barbara,
Maybe a typo of you but you need a slash at the end to
It seems that DefaultsMetaModule could fit my need : since I have troubles
with sitemap global parameters, they don't seem to work well, how can I use
Input Module to feed some variables (constants in fact) in ? It's not clear
to me.
Thanks for more info.
Babs
First of all I should warn you to be careful with InputModules until some
oficial release, cause they are actively discussed right now at the dev list
and they can be changed (names, behavior, interfaces). You have been warned.
To use the DefaultsMetaModule you should tweak your cocoon.xconf
On 07.Oct.2002 -- 04:03 PM, Piroumian Konstantin wrote:
First of all I should warn you to be careful with InputModules until some
oficial release, cause they are actively discussed right now at the dev list
and they can be changed (names, behavior, interfaces). You have been warned.
To use
Can you see the cocoon presentation page?:
http://localhost:port/cocoon
On Sat, 5 Oct 2002, Collado T Luis E wrote:
Hi, how are you?, I have a problem:
I am trying to installing cocoon1.8.2 with tomcat3.3a, using
http://xml.apache.org/cocoon1/install.html installation notes.
Tomcat is
Thanks Konstantin, your warnings are welcome :-)
I will have a look on cocoon-dev for more info...
Please, do you have an idea when I can fully use sitemap global parameters ?
With {../../ ... } it gets messy to read, and {/param} doesn't work for
now... (10/03 CVS).
Don't mean to offend.
Babs
Yes, i can see that page: It has a folder named samples/
A question: do you speak spanish?if your answer is afirmative we can talk
spanish.
On Mon, 7 Oct 2002, Mauro Daniel Ardolino wrote:
Can you see the cocoon presentation page?:
http://localhost:port/cocoon
On Sat, 5 Oct 2002,
Hi all!
Is it possible to tell the i18n transformer to use a fixed
catalogue-location from the projects root directory (so something like
'/translations' instead of 'translations')
I'm working with mounted sitemaps in sub-directories. This always creates a
wrong path when entering such a sub
From: Majcen, Kurt [mailto:[EMAIL PROTECTED]]
Hi all!
Is it possible to tell the i18n transformer to use a fixed
catalogue-location from the projects root directory (so
something like '/translations' instead of 'translations')
I'm working with mounted sitemaps in sub-directories.
OK guys, I give up. It seemed to be willing to work at first, but it won't.
If I change the input module name I get :
org.apache.avalon.framework.configuration.ConfigurationException: Error
while creating node 'generate' at jndi:/localhost/baepp/sitemap.xmap:460:122
Or else, if I keep
Sorry for the re-post, but there have been some mail
problems on Friday when I posted it and I haven't
heard from anyone since then. I'm still struggling
with both problems, so any help would be greatly
appreciated.
Alex
--- Alex Romayev [EMAIL PROTECTED] wrote:
Sorry the C is supposed to read
Alex Romayev wrote:
Hi,
I'm trying my way around SunShine and running into
2
problems:
1) I have an existing XML file with UTF-8
encoding.
I
use InsertTransformer to add a new record. It
does
so
correctly, but changes the file encoding to
ISO-8859-1
Hi, how are you?, I have a problem:
I am trying to installing cocoon1.8.2 with tomcat3.3a on Red hat Linux
7.2, using
http://xml.apache.org/cocoon1/install.html installation notes.
Tomcat is working well, but when i am trying to run the follow URL:
[snip]
works. I have not touched the main site map or any of the
samples code.
Ahh, but has your jdk installation been updated? The headless stuff
on the backend works differently between jdk1.3 and 1.4.
Just a thought.
--
Jacob L E Blain Christen
Entheal LLC
Hi
I am writing some Java extensions to XSL which are working fine when I run
them off the command line (java org.apache.xalan etc). The Java method is
returned and added to the transformation.
However, when I use Cocoon to run the transformation, there is no Java
output. The rest of the
ok, following Christian's piece of advice/explaination (creating a *_new
instance_*) made it work although I have some bugs I will check tomorrow.
My only worry about global-parameters was that the initial proposal implied
a {/name_of_param} path that doesn't work for now (I did not look into
Title: Problem with Directories Outside of cocoon...
Hi Guys,
I currently have cocoon 2.0.3 installed and running on Tomcat 4.1.12. I am able to edit my sitemap under the webapps/cocoon directory to recognize new xml and xsl's, however I now want to create a new webapp and use cocoon to
Problem with Directories Outside of cocoon...[snipped all because it wasn't
plain text, sorry but I'm a snob in this regard]
Here's what I did:
1) copied all of $COCOON_HOME/WEB-INF into the root of my new webapp
2) copied $COCOON_HOME/sitemap.xmap into the root of my new webapp
3)
Do you have any idea if I have to keep all of the files in the WEB-INF\lib directory,
the WEB-INF/db directory and everything in the WEB-INF/classes directory?
Jaimes
-Original Message-
From: Jacob L E Blain Christen [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 11:55 AM
My cowardly approach was to
cd webapps/cocoon
cp -r tutorial EXP
edit webapps/cocoon/sitemap.xmap
to copy the reference to tutorial, and make the
appropriate change in the copy to EXP,
and then, of course, actually do something useful and
new with my new
webapps/cocoon/EXP directory.
I figure
Hi all !
I've got a little problem with cocoon upload...
My project has to unzip a file once it's been uploaded, this is done with an
xsp page.
My problem is the file doesn't exist (nearly each time I upload a file) when
the code is executed !
The file.exists() java method returns false...
I
--- Carsten Ziegeler [EMAIL PROTECTED] wrote:
Alex Romayev wrote:
Hi,
I'm trying my way around SunShine and running
into
2
problems:
1) I have an existing XML file with UTF-8
encoding.
I
use InsertTransformer to add a new record. It
does
so
Hello!
I cannot understand how to configure a pipeline for this:
I have a xml-file and a xsl-file(logic). Applying them I want to obtain a
xsp page and then apply another xsl-file(style) to obtain a html-file.
Well, I've made this pipeline in my sitemap.xmap:
map:match pattern=prueba.xml
Hi Dario,
On Mon, Oct 07, 2002 at 12:59:56PM -0300, Dario Liberman wrote:
Hello,
I sent a message the other day asking for some architect guru to help me,
titled Re: Servlet-Ouput as Cocoon-Input
I have read the mailing list trying to find an answer by myself since then.
Did you
Hi guys,
I'm following along in the book Cocoon: Building XML Applications and trying to get
the Hello World example to work. BEFORE you delete my email, PLEASE take a quick
look at the really simple files and config info below and see if you can help me. I
would REALLY appreciate the help
On Monday 07 October 2002 19:24, Sonny Sukumar wrote:
The error: The requested URI /cocoon/helloworld was not found.
Now, the pipeline config info in sitemap.xmap:
I could have wild guess at this since I just was confused looking at a
helloworld example myself. But of course, your problem
Do you have any idea if I have to keep all of the files in the WEB-INF\lib
directory, the WEB-INF/db directory and everything in the WEB-INF/classes
directory?
Jaimes
-Original Message-
From: Jacob L E Blain Christen [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 11:55
Do you have any idea if I have to keep all of the files in the WEB-INF\lib
directory, the WEB-INF/db directory and everything in the WEB-INF/classes
directory?
Jaimes
-Original Message-
From: Jacob L E Blain Christen [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 11:55
I really need help on this. I red a lot of examples and a lot of
information about sitemap and still can't solve it (I'm new working
with cocoon).
Graphically (like in the manual):
xml(content) xsl(logic)
\ /
\ /
xsp
|
xml
Hello Mauro,
you need two matches:
map:match pattern=prueba.xsp
map:generate type=file src=content/prueba.xml/
map:transform src=logic/prueba.xsl /
map:serialize type=xml/
/map:match
map:match pattern=prueba.xml
map:generate type=xsp src=cocoon://prueba.xsp/
map:transform
Hello.
I have XIndice working with Cocoon. I followed the directions at
Cocooncenter and everything is going fine when requesting XMLDB URIs. Now
I'd want to have a XSP querying the database so I could encapsulate the DB
calls and pass parameters easily. I searched trough the archives and found
Greetings everyone -
I'm trying to get set up with sunRise. I've managed to get most of the
setup complete for authentication and protection of a test resource. I'm
able to enter a username and a password, and I can see in the encoded
URI in the browser window that redirection to my resource
Hi, please help me :)
I am getting the following error:
Description: org.apache.cocoon.ProcessingException: Could not add record:
java.sql.SQLException: ERROR: ExecAppend: Fail to add null value in not null
attribute cli_id
The parameter is set at the beginning of the page using:
parameter
Thanks a lot!! It works fine.
-- Mauro
On Mon, 7 Oct 2002, Joerg Heinicke wrote:
Hello Mauro,
you need two matches:
map:match pattern=prueba.xsp
map:generate type=file src=content/prueba.xml/
map:transform src=logic/prueba.xsl /
map:serialize type=xml/
/map:match
I'm using IE6SP1 and loaded the site WITH images without any problem.
I'm using a fully updated Win2K server version.
Did you solve the problem in the mean time?
Bert
At 11:20 5/10/2002 +0200, you wrote:
Ryan,
I can confirm your findings, with IE 5.5 and IE 6.0 I've experienced this
anomaly
Hello,
I sent a message the other day asking for some architect guru to help me,
titled Re: Servlet-Ouput as Cocoon-Input
I have read the mailing list trying to find an answer by myself since then.
I found mails talking about SOAP cocoon from Marcus. How should I get into
this?
Are there some
Hi,
I should have mentioned that sitemap.xmap is in $COCOON_HOME, where it is supposed to
be from what I've read. I tried your suggestion, and got the same error.
Btw, can anyone tell me why there are MULTIPLE sitemap.xmap files in $COCOON_HOME
subdirectories? I thought there was only
Sonny Sukumar wrote:
If anyone can help me out with my original Hello World question, I
would REALLY appreciate it..I want to get this to work sooo much.
I have trouble understanding your problem, too. Could you give us a
dirlisting of $TOMCAT_HOME/webapps/cocoon - assuming you have
I have not upgraded to SP1 yet, but Microsoft probably did fix the
problem if yours works. However, my main concern is that most users out
there will not have SP1. For me, the solution was using the test
HTTP/1.1 connector instead of Coyote. The test connector seems to do
something
Sure, here's a quick copy and paste of $COCOON_HOME (same thing as
$TOMCAT_HOME/webapps/cocoon):
cocoon.xconf.moved i18n resources sitemap.xmap.bak tutorial
docs logicsheets samples stylesheets WEB-INF
documentationMETA-INF search
I also don't understand why the other Cocoon pages still come up after I
deleted ALL the other stuff inside the map:pipelines tag other than my
map:pipeline for the Hello World example that
generates from helloworld.xml, transforms with helloworld2html.xsl and
serializes the output.
That
Sonny Sukumar wrote:
The problem *is* a Cocoon problem. The Tomcat servlet engine works
just fine and Cocoon runs on it, but I can't get this Hello World
example to work. I also don't understand why the other Cocoon pages
still come up after I deleted ALL the other stuff inside the
On a fresh Tomcat (4.1.12) installation I copied the file cocoon.war (this is Cocoon
2.0.3) into the $TOMCAT_HOME/webapps directory. I then started Tomcat using
$TOMCAT_HOME/bin/startup.sh, navigated to http://localhost:8080/cocoon and Tomcat
expanded cocoon.war into
I switched treeprocessor by commenting out one sitemap tag and uncommenting the
other one in cocoon.xconf.
Btw, what is stored in Tomcat's work directory? This might sound like a dumb question
to you, but I'm still on Hello World. :-)
Likewise, I haven't done anything with error handling,
Sonny Sukumar wrote:
I switched treeprocessor by commenting out one sitemap tag and
uncommenting the other one in cocoon.xconf.
no huuray however?
Btw, what is stored in Tomcat's work directory? This might sound
like a dumb question to you, but I'm still on Hello World. :-)
using the
Sonny Sukumar wrote:
HOWEVER: Cocoon now recognizes the URI when I navigate to
http://localhost:8080/cocoon/helloworld, but it is nothing but a
blank page. This started happening after switching the sitemap
tag, and this behavior is still there after deleting the contents of
I cleared out error.log and accessed http://localhost:8080/cocoon/helloworld again and
there's no errors that are logged. The page just comes up blank. When I click on
View Source, the document source is COMPLETELY empty. Should I be using something
other than serialize/? I just copied
Sonny Sukumar wrote:
I cleared out error.log and accessed
http://localhost:8080/cocoon/helloworld again and there's no errors
that are logged. The page just comes up blank. When I click on View
Source, the document source is COMPLETELY empty. Should I be using
something other than
Man, Steven, thanks for pointing that out--the Hello World example works now. The
really weird thing is that I *did* check that quite a few times and fixed the missing
? mark before. However, I had made a backup copy of the helloworld.xml file so that I
could delete my whole cocoon
- Make sure you xml declaration in helloworld.xml is
?xml version=1.0? (in your email it reads: ?xml
version=1.0, missing the ending ? - hopefully that
was just a typo.
- Try adding to your xsl:
xsl:template match=/
xsl:apply-templates select=document/
/xsl:template
Doing those two
On the Live Sites powered by Apache Cocoon page
(http://xml.apache.org/cocoon/link/livesites.html):
XSLTPatterns.com (http://www.xslt-patterns.com/) and
Order Up Delivery (http://www.orderupdelivery.com/) links are broken.
IE6 SP1 have the same problem. I still have the same problem with it.
As you noted before this problem is a combination of IE and Tomcat. Of course
if you upgrade or downgrade to a version without the problem, this is gone.
Thanks,
Antonio Gallardo
El Lunes, 07 de Octubre de 2002 15:36, Ryan
Thanks for the help!
I found that in dbAddAction, we must to supply into the descriptor like key
all the values that cannot be null! This is not describen into the
documentation.
I as not able to check my problem, because the FormValidatorAction tell that
all the valuse was there. But as I
I forgot mention I am using PosgreSQL 7.2 :)
Antonio Gallardo
El Lunes, 07 de Octubre de 2002 23:32, Antonio Gallardo Rivera escribió:
Thanks for the help!
I found that in dbAddAction, we must to supply into the descriptor like
key all the values that cannot be null! This is not describen
And it looks like the new Link Livesites that have been sent recently to
this list haven't been added yet to that page. (At least the Inventive
Designers site is not on the page)
How often does that page get updated?
Litrik De Roy
www.litrik.com
- Original Message -
From: Ahmed [EMAIL
Please give us more information - stack trace of the exception,
log files, sitemap etc - everything which might be appropriated
to tell where the error occurs.
Carsten
-Original Message-
From: Brian Schwark [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 8:19 PM
To: [EMAIL
Alex Romayev wrote:
This is currently hard coded into the transformer(!)
which
means you can't do anything against it...
The InsertTransformer has been merged with the
SourceWritingTransformer
in 2.1-dev - the SourceWritingTransformer can be
configured
to what encoding should be
71 matches
Mail list logo