Hi,
unfortunately that did not help and I am still wondering what is causing this.
i18n:text
xsp:attribute name=key prefix=i18n
myKey
/xsp:attribute
defaultValue
/i18n:text
This always results in the defaultValue (myKey is defined)
If I look at the an intermediate result using a
Hi all.
I need an advice.
I am using HTMLGenerator to tidy the html files
that are requested.
Since JTidy sometimes messes up the original
file (like with scripts inside tables - I posted
a message about it few weeks ago), I
would want to preprocess the original html file
before passing it
Hi Anna,
Since JTidy sometimes messes up the original file (like with scripts
inside tables - I posted
a message about it few weeks ago), I would want to preprocess the
original html file before passing it to the HTMLGenerator.
In order to use a Cocoon pipeline you need to generate SAX events
Hi,
I'm using cocoon 2.0.4, and after calling a request that causes
an exception, sometimes I get an EmptyStackException from the
environment stack.
I traced this behavior, and found out that, the environment
stack is sometimes not initialized, when the request is
just starting to process,
Hello Lars,
Kirchhoff, Lars wrote:
Hello,
I have some problems with the xsl transformation in
combination with utf-8 characters and am wondering if
somebody could explain me this.
I used this code to select specific items depending on
there letter, which means the letter they start with.
I'm sorry i mixed the xml and the xsl stylesheet a bit
up in the example...
this is the stylesheet that just puts the required letter
in the xml file before the xmlform action will enroll the
data from the dom.
xsl:template match=xf:itemset
xf:itemset
xsl:attribute
Title: validation declaration
Hi all,
In validation, we often has constraint declarations such as :
parameter name=persons type=long min=2 default=9 nullable=yes/
parameter name=deposit type=double min=10.0 max=999.99/
parameter name=email type=string max-len=50
Hi,
I could recommend Professional XSLT Programming from
the wrox publishers.
Kavitha Ramesh
--- Ines Robbers [EMAIL PROTECTED] wrote:
Hi,
Many thanks for your reply!
* (and get a more recent book).
Can you recommend one that is suitable for a
beginner like me with some
XML and
Title: Problem with return-value from store procedure in a XSP page
Hello
I have a cocoon version number 2.0.3, a tomcat version number 4.0.16 and an Oracle 8i database
I have a store procedure in my database called sp_add_user.
I tested the store procedure manually and it doesn't have
Hi
Is it (would it be) possible to call a pipeline within a neighbouring
sitemap,
e.g.
root-sitemap
|
---
| |
sub-sitemap1 sub-sitemap2
sub-sitemap1
Wrox do another excellent XSLT book - Beginning XSLT
which I thoroughly recommend for even quite
experienced XSLT coders. It has loads of best
practice and well worked examples.
There is a link from my site (http://www.pigbite.com)
Best regards
Jeremy
P.S. (said in complete side whisper)
Hi Nico,
You need to use BOTH the prefix and uri attributes. So you should have:
xsp:attribute name=key prefix=i18n
uri=http://apache.org/cocoon/i18n/2.0;
myKey
/xsp:attribute
Just as a caveat, I haven't actually tried this, but based on the
documentation, that should work. =)
Harry
I'm having difficulty passing parameters to my XSP. I'm using the following
in my sitemap:
map:match pattern=*/test.html
map:generate src=docs/test.xsp type=serverpages
map:parameter name=id value={1}/
/map:generate
map:transform src=stylesheets/encode-html.xsl/
map:serialize/
Hi Harry,
you are absolutely right.
It's working fine now.
thx very much.
Nico
[EMAIL PROTECTED] 01/07/03 04:53PM
From: [EMAIL PROTECTED]
Sent: Tuesday, January 07, 2003 4:53 PM
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject:RE: i18n in combination with xsp:attribute
Jacob Arnold wrote:
I'm having difficulty passing parameters to my XSP. I'm using the following
in my sitemap:
map:match pattern=*/test.html
map:generate src=docs/test.xsp type=serverpages
map:parameter name=id value={1}/
/map:generate
map:transform src=stylesheets/encode-html.xsl/
From the latest 2.1 dev out of CVS, I'm having trouble with serializers in
general, so something in general is haywire.
I have a very minimal sitemap, which is below an even more minimal
sitemap. I'm just trying (for now) to read an xml file with a generator,
then serialize it as xml or text or
That worked. Thanks for the help.
J
-Original Message-
From: Michael Wechner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 9:44 AM
To: [EMAIL PROTECTED]
Subject: Re: Trouble Passing Parameters
Jacob Arnold wrote:
I'm having difficulty passing parameters to my XSP. I'm
Hi,
I have another WebLogic *only* problem with
Cocoon2.0.4 - anyone else seen this? (it works fine in
JBoss Jetty/TomCat).
It is impossible to access the root resource e.g.
http://localhost:8080 or http://localhost:8080/
even though I have a match in my sitemap for both /
and for
What
Hello Robert,
it's the old JAR problem using Java 1.4. Copy xalan-xx.jar,
xerces-xx.jar and xml-apis.jar (the versions used in current Cocoon) for
example into %TOMCAT_HOME%/common/endorsed.
Regards,
Joerg
Robert Ellis Parrott wrote:
From the latest 2.1 dev out of CVS, I'm having trouble
This looks very similar to my problem with 2.1-dev and jdk1.4 and
Tomcat4.1.12 per my posting:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=104041952007585w=2 I have
to create that endorsed directory in Tomcat and copied xalan*.jar, xerces*.jar
and xml-apis.jar from cocoon/WEB-INF/lib
The following snippet is the guide example for the first two questions.
map:pipeline
map:match pattern=sub/*
map:mount check-reload=yes src=sub/sitemap.xmap
uri-prefix=sub/
/map:match
map:handle-errors
map:transform src=errors.xsl/
map:serialize status-code=500/
[EMAIL PROTECTED] wrote:
Hi, you can call other resources also by scr=cocoon://other-resource
right, this way you are able to call the root-sitemap, but
not the neighbouring sub-sitemap2 (or at least it doesn't work
in my case)
Thanks
Michael
I think you can use that to use other
I have been trying to start cocoon within a few servlet and application
servers. While I successfully can serve pages I always get heaps of debug
messages on the console of the type:
18:09:11.050 EVENT DEBUG (2003-01-07) 18:09.11:040 []
(/forms/emplo
yee)
Just replace DEBUG by ERROR within the file
WEB-INF/logkit.xconf
and restart Tomcat.
HTH
Michael
Maximilian A. Ott wrote:
I have been trying to start cocoon within a few servlet and application
servers. While I successfully can serve pages I always get heaps of debug
messages on the
Michael,
Tried that, but no change. What would I see if the logkit.xconf file is
missing (just to check I changed the right one)?
Thanks,
-max
-Original Message-
From: Michael Wechner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 6:38 PM
To: [EMAIL PROTECTED]
Okay...answering some of my own questions...
Miles Elam wrote:
1) What is the accepted correct behavior for subsitemaps: errors in
subsitemaps elicit errors up the chain to parent (sub)sitemaps or
subsitemap validity has no bearing at all on parents?
If foo/sitemap.xmap is missing, is not
Not sure if this works for you, but I've set up a standard database realm
and use a generic role in web.xml (say, authorized). Then, I have a
simple action that checks specific roles for sitemap level control of other
resources. To give access I assign a user the generic authorized role and
also
*sigh* ... Feeling foolish for wasting bandwidth...
3) Do subsitemaps require a components section at all? Just defaults?
If so, why do they need to be specified in each subsitemap? Why not
inherit the defaults of the parent if they're not specified? I ask
because I'd like subsitemaps to
On 07.Jan.2003 -- 03:46 PM, [EMAIL PROTECTED] wrote:
Hello
I have a cocoon version number 2.0.3, a tomcat version number 4.0.16 and an
Oracle 8i database
Cocoon 2.0.4 is released and fixes a number of bugs and Tomcat 4.1.18
is out containing security related fixes.
I have a store procedure
29 matches
Mail list logo