It soon will become FAQ...
Try this:
map:match pattern=**.xml
map:act type=email
map:generate src={../1}.xml/
Action also can return parameters, and you need parameters from previous (one level
up) component.
-Original Message-
From: cib [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 2:30 PM
To: Cocoon User Mail List
Subject: Nobody Knows HOW TO SAVE STREAM ON DISK!!
Hi,
I've been sending message everywhere and reading any book on jsp,
and nowhere it's told how I can
-Original Message-
From: Michael McKibben [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 31, 2001 10:01 PM
To: [EMAIL PROTECTED]
Subject: [C2] easy Q: about pipelines
Hello, I have a (dare I say 'dumb'?) question regarding pipelines defined
in the sitemap. What is the
Yes, this is jakarta question. Ask on jakarta list or just edit your conf/server.xml
Vadim
-Original Message-
From: Matt Jezorek [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 10:48 AM
To: [EMAIL PROTECTED]
Subject: log sizes
Is there anyway to make logs smaller
Title: Purpose of LinkSerializer?
It
returns list of URLs referenced from page, one URL on a
line.
Used
by CLI, look into Main.java
Vadim
-Original Message-From: Michael McKibben
[mailto:[EMAIL PROTECTED]]Sent: Thursday, August 23, 2001 5:24
PMTo: '[EMAIL
-Original Message-
From: Per Kreipke [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 24, 2001 12:10 PM
To: [EMAIL PROTECTED]
Subject: RE: [C2] Webapp directory for development...
I hate to do this, but I'm still confused. Can anyone help?
7/25/01:
Berin,
Should I
If you write for Oracle you could use connect by clause of select statement.
http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a85397/state21b.htm#2065648
Vadim
-Original Message-
From: Max Larsson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23,
1) Put
your parameters inside XML generated by XSP,
or
2) In
XSP, put parameters as attributesof request object,
use
action in sitemap to obtain these parameters into sitemap
parameters,
ans
pass these parameters to XSL:
map:genenrate type="serverpage"
src="..."/
map:act
-Original Message-
From: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 7:38 AM
To: [EMAIL PROTECTED]
Subject: Re: [C2] issues/observations
Hi!
Hello,
I'm currently evaluating Cocoon 2 for the next version of our site (we
deployed with
1. Put Tomcat 3.2.3 (that's latest release)
2. Do build clean
3. Do not copy cocoon, but do build install (see 3a) Automatic install. in install
file)
4. Remove jaxp.jar, parser.jar from tomacat/lib
5. put xerces_1_4_1.jar into tomcat/lib
6. launch tomcat.
If you still have problem, send
Use action to get session attributes and return them to sitemap.
Right now there is no such action, but it is easy to write it.
Vadim
-Original Message-
From: logica [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 1:09 PM
To: [EMAIL PROTECTED]
Subject: Session Parameters
On a contrary.
:)
Regards,
Vadim
-Original Message-
From: Madock Chiwenda [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 12:58 AM
To: [EMAIL PROTECTED]
Subject: message is null
Hi
I am testing Cocoon2 on Tomcat 3.2.2. On using Manage Employee Sample page the
Try
session:set-attribute
name=fruitxsp:exprapple/xsp:expr/session:set-attribute
Vadim
-Original Message-
From: Enke Michael [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 9:01 AM
To: [EMAIL PROTECTED]
Subject: Need help with session:set-attribute
Hello again,
I
Chris,
Access images/my_image.jpg from the browser and look into cocoon.log file.
(you may want to delete existing cocoon.log - if any - before this)
Vadim
-Original Message-
From: Chris Newland [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 10:10 AM
To: Cocoon-Users
);
XSPRequestHelper.invalidateSession(objectModel);
...
Michael
Vadim Gritsenko wrote:
Try
session:set-attribute
name=fruitxsp:exprapple/xsp:expr/session:set-attribute
Vadim
-Original Message-
From: Enke Michael [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 9:01 AM
I beleive this would create session:
xsp:logic
String id = session:get-id/;
/xsp:logic
Another approach is to move authentication code into action, then your XSP could have
create-session=true. Or even move the whole part into action,
Mark,
Question 1:
Consider the two following map components, noting the position of {1}:
This one works:
map:match pattern=protected/**
map:aggregate element=site
map:part src=cocoon:/{1}-screen.xml element=screen/
map:part src=docs/lookandfeel.xml
-Original Message-
From: Eric Vernichon [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 6:19 AM
To: [EMAIL PROTECTED]
Subject: RE: [C2] Stream Generator
Sorry for the same 3 posts but there was a problem of delayed email.
Try this:
map:generate type=stream
And here is the (in)complete table of mail archives:
http://xml.apache.org/cocoon2/mail-archives.html
With searchable? column in the table.
Vadim
-Original Message-
From: Luca Morandini [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 8:26 AM
To: [EMAIL PROTECTED]
-Original Message-From: cib
[mailto:[EMAIL PROTECTED]]Sent: Friday, August 17, 2001 5:42
PMTo: Cocoon User Mail ListSubject: urls mix
up
Hi
I'm getting a bit mixed up with urls inside
Tomcat, each application , Cocoon.
Just a few questions
- how do I get the
Assuming you do not see image correctly after refresh:
I had similar problem, but it's gone now for some reason. What I do remember:
Try and test this under Tomcat - problem should go away. Also, if you put resin behind
HTTP cache,
problem should disappear. I do not have explanation for this.
like
org/apache/cocoon/www/file_/C_/tmp/testmenu/sms/xml_cocoon2/webapp/
And clearly this path is derived from the physical
folder path of the build location..isnt this cause
more problems?
Thanx for u r time..
--- Vadim Gritsenko [EMAIL PROTECTED] wrote
http://xml.apache.org/cocoon2/install.html should be enough.
If not, Tomcat 3.X section should be modified.
Vadim
-Original Message-
From: Hewko, Doug [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 2:13 PM
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: RE:
/webapp/
And clearly this path is derived from the physical
folder path of the build location..isnt this cause
more problems?
Thanx for u r time..
--- Vadim Gritsenko [EMAIL PROTECTED] wrote:
Please checkout latest CVS,
now it should be ok
Vadim
-Original Message
Hi,
These are basic XSLT
questions, and have nothing to do with Cocoon - use XSLT mail lists in
future.
Here is an answer:
you must write this in one line:
xsl:attribute name="href"mailto:xsl:value-of
select="member/e_mail"/@ccra-adrc.gc.ca/xsl:attributeOR use xsl:text:
xsl:attribute
I'm looking into this issue. Hope will resolve over the weekend.
Vadim
-Original Message-
From: java guru [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 02, 2001 2:13 PM
To: cocoon users
Subject: Fwd: c2 package names driving me crazy...
Hi.,
Pardon me for posting this
Aggregator is generator also, and you can't have more then one in a pipeline.
Try this:
map:match pattern=test
map:aggregate element=sum
map:part src=docs/login.xsp /
map:part src=docs/config.xml element=userprofile/
/map:aggregate
-Original Message-
From: Enke Michael [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 11:25 AM
To: [EMAIL PROTECTED]
Subject: Re: strange Language Exception
Vadim Gritsenko wrote:
Send your test_error_xsp.java which is found under Cocoon's work directory
Check first line of your XML, it should look like:
?xml version=1.0 encoding=ISO-8859-1?
or
?xml version=1.0 encoding=UTF-8?
(encoding might be different in your case)
Vadim
-Original Message-
From: Hewko, Doug [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 11:21 AM
-Original Message-
From: java guru [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 10:45 AM
To: cocoon users
Subject: map:part sequence of execution
Hi.,
I was wondering if the map:part s of map:aggregate
will execute in the sequence they are mentioned or
Yes.
Do you have this problem with latest CVS version?
I think that this is already fixed in CVS.
Thanks,
Vadim
-Original Message-
From: Enke Michael [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 3:56 PM
To: [EMAIL PROTECTED]
Subject: xsp: strange Language Exception
Hi
It is possible using Cocoon2 and its command line interface (CLI).
Download unpack cocoon, then launch run.sh or run.bat,
and follow instructions.
Vadim
-Original Message-
From: Duane Kehoe [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 4:40 PM
To: [EMAIL PROTECTED]
-Original Message-
From: Hewko, Doug [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 9:26 AM
To: '[EMAIL PROTECTED]'
Subject: How to program for Cocoon2?
I am eager to get started programming server-side XML in Cocoon2. First, is
there a document that says where I can
I added show-time parameter to web.xml in HEAD branch.
(This preserves existing functionality of cocoon-showtime parameter which is given
higher priority)
Shall we add this parameter to 2.0 also?
Vadim
-Original Message-
From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
Sent:
It is important also to properly size component pools as this affect performance a lot.
If pools are too small comparing to the load, Cocoon will create/destroy components
for each request.
Vadim
-Original Message-
From: Berin Loritsch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
Check CVS version of transformer - IIRC this issue is already resolved.
Vadim
-Original Message-
From: Lajos Moczar [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 15:20
To: [EMAIL PROTECTED]
Subject: [C2.0/1] Error in SQLTransformer??
I've been trying to find out why
Try this:
xsl:for-each select=state
xsl:text function start(frm){
initialize('/xsl:text
xsl:value-of select=@id/
xsl:text', /xsl:text
xsl:apply-templates/
xsl:text);
output(frm, 'init');
}/xsl:text
/xsl:for-each
Looks like that instead of map:read src=docs/images/{1}.gif mime-type=image/gif/
you need to use map:read src=docs/images/{../1}.gif mime-type=image/gif/
Note: {1} replaced with {../1}.
If it does not help, post your entire pipeline.
Vadim
-Original Message-
From: java guru
PROTECTED]
Subject: RE: funny problem with sitemap session validator
Thanks for the reply..it worked..but can u please
explain why?..
Thanks for u time..
--- Vadim Gritsenko [EMAIL PROTECTED] wrote:
Looks like that instead of map:read
src=docs/images/{1}.gif mime-type=image/gif/
you
-Original Message-
From: java guru [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 11:31
To: [EMAIL PROTECTED]
Subject: Is SQLTransformer gonna be there?..Re: SQL Transfomer
This may look like newbie question..but is
SQLTransformer and taglib gonna continue or
PROTECTED]Subject: Re: How can
I make a validation !Thanks Vadim,
I tried but doesn't work, now the message is:
java.lang.RuntimeException: Error executed prepared statement: insert into
Departamento values
Vadim Gritsenko wrote:
Why do you use esql:parameter
here
1201 - 1241 of 1241 matches
Mail list logo