RE: Confused about Actions

2001-09-10 Thread Vadim Gritsenko
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.

RE: Nobody Knows HOW TO SAVE STREAM ON DISK!!

2001-09-10 Thread Vadim Gritsenko
-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

RE: [C2] easy Q: about pipelines

2001-09-04 Thread Vadim Gritsenko
-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

RE: log sizes

2001-09-04 Thread Vadim Gritsenko
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

RE: Purpose of LinkSerializer?

2001-08-24 Thread Vadim Gritsenko
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

RE: [C2] Webapp directory for development...

2001-08-24 Thread Vadim Gritsenko
-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

RE: separation of content and logic

2001-08-23 Thread Vadim Gritsenko
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,

RE: Passing a parameter to a XSL Stylesheet

2001-08-23 Thread Vadim Gritsenko
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

RE: [C2] issues/observations

2001-08-23 Thread Vadim Gritsenko
-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

RE: newcomer: desperately impossible getting Cocoon Started

2001-08-23 Thread Vadim Gritsenko
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

RE: Session Parameters in Stylesheets

2001-08-23 Thread Vadim Gritsenko
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

RE: message is null

2001-08-22 Thread Vadim Gritsenko
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

RE: Need help with session:set-attribute

2001-08-22 Thread Vadim Gritsenko
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

RE: C2: can't match images in sitemap

2001-08-22 Thread Vadim Gritsenko
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

RE: Need help with session:set-attribute

2001-08-22 Thread Vadim Gritsenko
); 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

RE: C2: Create session conditionally in XSP page?

2001-08-21 Thread Vadim Gritsenko
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,

RE: Wildcard Parameters in Sitemap

2001-08-17 Thread Vadim Gritsenko
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

RE: [C2] Stream Generator

2001-08-17 Thread Vadim Gritsenko
-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

RE: searchable mailing list..

2001-08-17 Thread Vadim Gritsenko
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]

RE: urls mix up

2001-08-17 Thread Vadim Gritsenko
-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

RE: Strange problem with the Reader

2001-08-14 Thread Vadim Gritsenko
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.

RE: c2 package names driving me crazy...

2001-08-08 Thread Vadim Gritsenko
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

RE: Problems when installing Cocoon with Tomcat 3.1

2001-08-08 Thread Vadim Gritsenko
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:

RE: c2 package names driving me crazy...

2001-08-06 Thread Vadim Gritsenko
/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

RE: Cocoon2 changing links on me....

2001-08-03 Thread Vadim Gritsenko
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

RE: c2 package names driving me crazy...

2001-08-03 Thread Vadim Gritsenko
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

RE: Aggregation

2001-08-03 Thread Vadim Gritsenko
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

RE: strange Language Exception

2001-08-01 Thread Vadim Gritsenko
-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

RE: Strange error messages...

2001-08-01 Thread Vadim Gritsenko
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

RE: part sequence of execution

2001-07-31 Thread Vadim Gritsenko
-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.

RE: strange Language Exception

2001-07-31 Thread Vadim Gritsenko
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

RE: Very beginner question

2001-07-31 Thread Vadim Gritsenko
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]

RE: How to program for Cocoon2?

2001-07-30 Thread Vadim Gritsenko
-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

[VOTE?] RE: Processing Time in last line in C2 like in 1.8?

2001-07-27 Thread Vadim Gritsenko
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:

RE: Cocoon2 - bad performance with increasing amount of clients?!

2001-07-25 Thread Vadim Gritsenko
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,

RE: [C2.0/1] Error in SQLTransformer??

2001-07-09 Thread Vadim Gritsenko
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

RE: Problems with linebreaks in Cocoon 2

2001-07-05 Thread Vadim Gritsenko
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

RE: funny problem with sitemap session validator

2001-07-02 Thread Vadim Gritsenko
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

RE: funny problem with sitemap session validator

2001-07-02 Thread Vadim Gritsenko
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

RE: Is SQLTransformer gonna be there?..Re: SQL Transfomer

2001-06-26 Thread Vadim Gritsenko
-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

RE: How can I make a validation !

2001-06-18 Thread Vadim Gritsenko
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

<    8   9   10   11   12   13