Cocoon book reviewers wanted

2002-05-22 Thread Matthew Langham

Hi,

together with our publisher (www.newriders.com), we are looking for people
interested in reviewing chapters from our book. Hopefully you will have
something positive to say and then your quote may be used in the book or to
promote it.

If you would be interested then please send me an email. Please note that we
will only be able to suggest (!!) reviewers - our publisher will choose. And
probably only a few of those in the end.

Thanks

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon book reviewers wanted

2002-05-22 Thread Michael Homeijer

Hi Matthew,

What kind of readers do you expect? Skills, level etc?

Michael

 -Original Message-
 From: Matthew Langham [mailto:[EMAIL PROTECTED]]
 Sent: woensdag 22 mei 2002 8:36
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Cocoon book reviewers wanted
 
 
 Hi,
 
 together with our publisher (www.newriders.com), we are 
 looking for people
 interested in reviewing chapters from our book. Hopefully you 
 will have
 something positive to say and then your quote may be used in 
 the book or to
 promote it.
 
 If you would be interested then please send me an email. 
 Please note that we
 will only be able to suggest (!!) reviewers - our publisher 
 will choose. And
 probably only a few of those in the end.
 
 Thanks
 
 Matthew
 
 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 =
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




SAXPaseException

2002-05-22 Thread ENDI, CUSD
Title: SAXPaseException





hi, 


I am new to Cocoon, got to know it when I was trying out the Kryalis Centipede build tool. When I tried to build a site for my project using Centipede, I encountered SAXParseException (attached). I tried to find the log file as suggested in FAQ but it's not there (missing command line argument??).

Attached are the exception, snippet of of the build file that calls Cocoon, sitemap.xmap and cocoon.xconf. These are the files I can think of, let me know if you need more info.

Greatly appreciate your help.


Thanks and best Regards
Endi
 Attachment.zip 
This communication contains confidential or privileged information. If you are not the intended recipient, please notify us IMMEDIATELY that you have received it and destroy it. We are not liable for any unauthorised sending of or interference with this communication.




Attachment.zip
Description: Binary data

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


problem with request

2002-05-22 Thread Madhu latha

Hi,
   I created a small xml program to test the request parameters.
?xml version=1.0?

xsp:page
xmlns:xsp=http://apache.org/xsp;
xmlns:xsp-request=http://apache.org/xsp/request/2.0;

  html
bRequest method:/b xsp-request:get-method/
br/
bFruit requested:/b xsp-request:get-parameter name=fruit/
  /html
/xsp:page

I had a proper entry in sitemap.xmap. When i try to run this program with 
the following syntax http://localhost:8080/cocoon/request.xml?fruit=apple, 
it is displaying a null pointer exception. I am not knowing whether this is 
the right way to access the request parameters or not. Can you please inform 
me what is wrong with my code ??

Thanks
Madhu

_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: I18n Performance

2002-05-22 Thread Konstantin Piroumian

There were an activity in Avalon scratchpad a while ago on the i18n
resources abstractization, but AFAIK it was never finished. The idea was to
have a Bundle interface and use any implementation you like: a property
file, XML file or a database. Also, you could use different factories for
your bundles, say use a property file that is loaded from a DB, JNDI and so
on.

Current implementation of XMLResourceBundle is the first implementation from
the Avalon scratchpad. I know that the  approach in i18n transformer is very
limiting, but since nobody complained about it before (except for the
superfluous logging) I've never care about it.

Btw, I don't think that replacing XMLResourceBundle with a HashMap will
improve perfomance much in the long run, because the values are stored in a
HashMap on the first use, so there should be no much difference.

I've redesigned i18n samples and now working on the documentation to attract
more people to use it and therefore more people will be interested to
improve it.
But the time is everyone's problem...

Konstantin


- Original Message -
From: Torsten Curdt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 21, 2002 10:44 PM
Subject: Re: I18n Performance


  But IIRC the I18nTransformer is still not cachable - is he?

 doh! Yes, you're correct. (I'm using my own bastardization of the standard
 I18nTransformer over here. Cacheable + very fast since i replaced the
 XMLResoruceBundles with some hashmaps. Its on my list to package up +
 donate back, time is just very very slim :(

Same here *sigh*

Ages ago I proposed some changes on having a more abstract resource bundle
(we'd like serve our from db) which has a last modified stamp so we can
easily implement cacheable... but time you know ;-)

This would be a major(!) improvement... we haven't yet (and wouldn't) use
the
i18n transformer under the current circumstances.

My 2 cents
--
Torsten

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: XSLTC

2002-05-22 Thread Graaf, Edgar de (fin)

O okay, I knew I read something about it somewhere, but at that time I
didn't knew where it was for exactly. Now I knew, but could find where I
read about it.

Thanks,

Edgar

-Oorspronkelijk bericht-
Van: Stephen Ng [mailto:[EMAIL PROTECTED]]
Verzonden: dinsdag 21 mei 2002 17:49
Aan: [EMAIL PROTECTED]
Onderwerp: RE: XSLTC


XSLTC is not ready for general use yet--there are bugs which are being
worked out.  There are a few messages on this topic floating around the
cocoon-dev list.

Steve

 -Original Message-
 From: Graaf, Edgar de (fin) [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, May 21, 2002 10:04 AM
 To: Cocoon-Users (E-mail)
 Subject: XSLTC
 
 
 Hello,
 
 Can anyone tell me how I would use XSLTC in cocoon. Is there 
 a transformer that can call a translet or something like 
 that? Maybe it is handy to have the option to compile all XSL 
 on usage (to translet). Or is that already the case?
 
 Regards,
 
 Edgar
 
 -
 Please check that your question has not already been answered 
 in the FAQ before posting. 
http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




New session is created at each response

2002-05-22 Thread a000

Hello!

Is ther a different behavior regarding session management when I use
Klondike WAP Browser or Nokia Mobile Internet Toolkit V 3.0?

My application works normal using Klondike. However if I switch to Nokia's
Toolkit on each request a new session is created.

I'm redirecting to the pages in question using the following sitemap entry:

   map:pipeline
map:match pattern=Main.* type=wildcard
  map:act type=my-processRequest
map:parameter name=ext value={1}/
map:redirect-to uri={nextPage} session=true/
  /map:act
  map:serialize/
/map:match
  /map:pipeline
  
Using the following pipeline instead solves the problem but then I'm
required to use a specific pipeline for each type like .htm or .wml:

 map:pipeline
map:match pattern=Main.* type=wildcard
  map:act type=my-processRequest
map:parameter name=ext value={1}/
map:generate src=cocoon:/{nextPage}/
  /map:act
  map:serialize type=wml/
/map:match
  /map:pipeline
  
Further investigations showed me if I encode the response's URL I can use
redirect. However this I try to avoid.

What does cocoon force to create a new session if I don't encode URL using
Nokia? How can cocoon access the current session using clients like Klondike
for WAP or IE for HTML?

Comments are really appreciated

Regards,

Harald

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Form Validation and Descriptor File

2002-05-22 Thread Christian Haul

On 21.May.2002 -- 10:56 AM, Naquin, Beth wrote:
 I am new to cocoon and any help is appreciated!
 
 Where can I find more information about form validation and the descriptor
 file?  The cocoon documentation mentions 'javadocs', but what are these and
 where can I find them?

http://xml.apache.org/cocoon/apidocs/

 I need to validate a form, then if the input is valid, send a request to a
 servlet to launch actions on a database.  Info from the servelet must be
 displayed on the next xsp page that is shown in the browser.
 
 Any ideas/examples on how to do this?

Several such examples are included with the Apache Cocoon
distribution.

Chris.

-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: I18n Performance

2002-05-22 Thread Volker Schneider

Hi Nicola,

working with WebSphereApplicationDeveloper my experience was, that the value
in web.xml helps to avoid WebSphere logs which decreases performance.

Best regards
- Volker -

-Original Message-
From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 21. Mai 2002 18:35
To: [EMAIL PROTECTED]
Subject: Re: I18n Performance


From: Michael Zehrer [EMAIL PROTECTED]

 I'm using I18n just for simple translations, no number, date,
 currency formatting and just one substitution. My log level is already
 ERROR.
 So nothing real special here. If I take out the I18n transformation,
 everything is quite ok, if it's in the cpu load is very high after a
 little while and pipeline processing takes very long.

 The machine is a Sun Netra X1 (500Mhz/2GB RAM)

Sorry if I'm being pedantic, but did you set your log-level in the
logkit.xconf file?
The one in web.xml is used only at startup and when logkit.xconf is absent.

--
Nicola Ken Barozzi   [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: search mailing list?

2002-05-22 Thread Volker Schneider
Title: search mailing list?



Hi 
Beth,

you 
candownload the zip-files from xml.apache.org web site unpack it and you 
can take an editor which support "find in files" or you can use the 
Windows-search.

Best 
regards
- 
Volker -

  -Original Message-From: Naquin, Beth 
  [mailto:[EMAIL PROTECTED]]Sent: Dienstag, 21. Mai 2002 
  20:05To: '[EMAIL PROTECTED]'Subject: search 
  mailing list?
  Is there a way I can search this mailing list (not 
  the archive)?? 
  Beth Naquin SAGEM MORPHO Inc. 1145 Broadway 
  Plaza STE 200 Tacoma, WA 98402 
  253-597-8245 


Re: search mailing list?

2002-05-22 Thread Sylvain Wallez

You can also go to http://marc.theaimsgroup.com/?l=xml-cocoon-users and 
search there. This archive is updated in real time.

Check also other archives listed at 
http://xml.apache.org/cocoon/mail-archives.html

Sylvain

Volker Schneider wrote:

 Hi Beth,
  
 you can download the zip-files from xml.apache.org web site unpack it 
 and you can take an editor which support find in files or you can 
 use the Windows-search.
  
 Best regards
 - Volker -

 -Original Message-
 *From:* Naquin, Beth [mailto:[EMAIL PROTECTED]]
 *Sent:* Dienstag, 21. Mai 2002 20:05
 *To:* '[EMAIL PROTECTED]'
 *Subject:* search mailing list?

 Is there a way I can search this mailing list (not the archive)??

 Beth Naquin
 SAGEM MORPHO Inc.
 1145 Broadway Plaza STE 200
 Tacoma, WA 98402

 253-597-8245



-- 
Sylvain Wallez
  Anyware Technologies  Apache Cocoon
  http://www.anyware-tech.com   mailto:[EMAIL PROTECTED]




-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cocoon book reviewers wanted

2002-05-22 Thread Paul Chisholm

Hi Matthew,

I'm new to Cocoon but have many years software engineering experience. I
assume your book is of an introductory nature and, if so, I would be keen to
review some chapters.

By the way, Amazon states the book will be published on July 19. Is that
accurate?

Paul

- Original Message -
From: Matthew Langham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 4:35 PM
Subject: Cocoon book reviewers wanted


 Hi,

 together with our publisher (www.newriders.com), we are looking for people
 interested in reviewing chapters from our book. Hopefully you will have
 something positive to say and then your quote may be used in the book or
to
 promote it.

 If you would be interested then please send me an email. Please note that
we
 will only be able to suggest (!!) reviewers - our publisher will choose.
And
 probably only a few of those in the end.

 Thanks

 Matthew

 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 =



 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon book reviewers wanted

2002-05-22 Thread Matthew Langham

Hi Paul


By the way, Amazon states the book will be published on July 19. Is that
accurate?

Yes.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-Original Message-
From: Paul Chisholm [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 12:54 AM
To: [EMAIL PROTECTED]
Subject: Re: Cocoon book reviewers wanted


Hi Matthew,

I'm new to Cocoon but have many years software engineering experience. I
assume your book is of an introductory nature and, if so, I would be keen to
review some chapters.

By the way, Amazon states the book will be published on July 19. Is that
accurate?

Paul

- Original Message -
From: Matthew Langham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 4:35 PM
Subject: Cocoon book reviewers wanted


 Hi,

 together with our publisher (www.newriders.com), we are looking for people
 interested in reviewing chapters from our book. Hopefully you will have
 something positive to say and then your quote may be used in the book or
to
 promote it.

 If you would be interested then please send me an email. Please note that
we
 will only be able to suggest (!!) reviewers - our publisher will choose.
And
 probably only a few of those in the end.

 Thanks

 Matthew

 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 =



 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cocoon book reviewers wanted

2002-05-22 Thread marco spinetti

One question: is the profit for the apache software foundation (ASF)?

If not, in my opinion it's against the open source apache philosophy.

Cocoon is borned as open source project and then all is free.

Are you a member of people that created Cocoon?
Have you received the assent from ASF or people as Stefano Mazzocchi?

If yes all is ok, otherwise in my opinion you are speculating on Cocoon.


Marco


+---+
Software engineer  Spinetti Marco
Italy
+-+




- Original Message -
From: Matthew Langham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 11:02 AM
Subject: RE: Cocoon book reviewers wanted


Hi Paul


By the way, Amazon states the book will be published on July 19. Is that
accurate?

Yes.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-Original Message-
From: Paul Chisholm [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 12:54 AM
To: [EMAIL PROTECTED]
Subject: Re: Cocoon book reviewers wanted


Hi Matthew,

I'm new to Cocoon but have many years software engineering experience. I
assume your book is of an introductory nature and, if so, I would be keen to
review some chapters.

By the way, Amazon states the book will be published on July 19. Is that
accurate?

Paul

- Original Message -
From: Matthew Langham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 4:35 PM
Subject: Cocoon book reviewers wanted


 Hi,

 together with our publisher (www.newriders.com), we are looking for people
 interested in reviewing chapters from our book. Hopefully you will have
 something positive to say and then your quote may be used in the book or
to
 promote it.

 If you would be interested then please send me an email. Please note that
we
 will only be able to suggest (!!) reviewers - our publisher will choose.
And
 probably only a few of those in the end.

 Thanks

 Matthew

 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 =



 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: esql v1.22 multiple returned update counts and ResultSets

2002-05-22 Thread Christian Haul

On 22.May.2002 -- 10:34 AM, neil wrote:
 On 22 May 2002 Christian Haul wrote:
 OK. I didn't spot that your change depends on updates to other files too.
 Picky minor point: Although I don't like the semantics of JDBCs
 getMoreResults()
 I like even less having different semantics for the same method name in
 EsqlQuery.

Good point. OTOH I consider this method internal.

 Thats nice, but not relevant to the Sun doco that I quoted. I'll rephrase
 it: fetching OUT
 parameters should be done after processing all returned results.
 
 From esql.xsl 1.24:
   xsl:if test=esql:call
 // call results
 xsp:content
   xsl:apply-templates select=esql:call-results/
 /xsp:content
   /xsl:if
 
   xsl:call-template name=do-results/
 
 My understanding is that fetching OUT parameters is done within
 esql:call-results
 and processing returned results is done by esql:do-results. If so it is done
 the
 wrong way around.

OK, changed.

  I settled for Torstens solution without @index. Both requirements
 (different /
  same esql:results) are difficult to provide. Please suggest a syntax for
 that.
 Some possibilities are to reuse the last one or to add a 'default' attribute
 or some such.
 But I wouldn't bother unless there is some consensus that its a good idea.

I'm undecided on this one. I fear both solutions are difficult to work
with. But as I hardly have the requirement to process several results,
I have no strong opinion.

  So, could you please check with the current code whether it does what it
 should?
 I'm trying to get minimum modifications to cocoon-2.0.2 to do what I need.
 I can't just switch from a stable release to the latest CVS snapshot (boring
 I know).
 Do you think I should try the latest esql.xsl, EsqlQuery.java 
 EsqlHelper.java
 over cocoon-2.0.2 or do you know of other updates that these depend on
 (those are the only files I had to update for my patch).

I believe that's it.

Chris.

-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Looking for companies using cocoon.

2002-05-22 Thread Arjé Cahn

Cederic,

We are using parts of Cocoon in our CMS.
We combined it with the XHive XML database (x-hive.com) and our own CASTA\\ XML WebDAV 
editor. I'm very happy with the current test results of Cocoon. It's running quite 
stable and combined with a good caching mechanism is capable of running and 
maintaining medium to big sized websites. Sites built in Cocoon are highly 
maintainable and open for future technologies.

Are you looking at Cocoon from a developer's perspective or from a user's perspective?

Don't hesitate to email or call me (+31 20 6345173) with further questions. 

Regards,

Arjé Cahn


-
Content Management Department
Hippo Webworks
Grasweg 35
1031 HW Amsterdam
The Netherlands
Tel  +31 (0)20 6345173 
Fax +31 (0)20 6345179
arje(at)hippo(dot)nl / www.hippo.nl




-Oorspronkelijk bericht-
Van: Cederic Van Herreweghe [mailto:[EMAIL PROTECTED]]
Verzonden: 21 May 2002 13:38
Aan: '[EMAIL PROTECTED]'
Onderwerp: RE: Looking for companies using cocoon.


My definition of CMS :

A system that allows us to create and maintain content in a structured way
in different languages, and publishing it on different websites.

We want to know if this is a better system (a system that fits better to our
needs) than other CMS-solutions such as : Interwoven, Tridion, Gauss,.

Thanks for the quick replies !

Kind regards,

Cederic Van Herreweghe



-Original Message-
From: Michael Homeijer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 21, 2002 12:15
To: '[EMAIL PROTECTED]'
Subject: RE: Looking for comanies using cocoon.


Cederic,

Are you looking for CMS solutions like Wyona (based on Cocoon) or for
websites based on Cocoon?
Maybe you could explain your definition of CMS and what kind of service you
are looking for?

HTH

Michael

 -Original Message-
 From: Cederic Van Herreweghe [mailto:[EMAIL PROTECTED]]
 Sent: dinsdag 21 mei 2002 12:06
 To: '[EMAIL PROTECTED]'
 Subject: Looking for comanies using cocoon.
 
 
 I'm looking for companies or people in Belgium or near to 
 belgium who have
 already implemented a cocoon-based content-management-system.
 
 Thanks in advance for letting me know !
 
 Kind regards,
 
 Cederic Van Herreweghe
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




cocoon docbook online

2002-05-22 Thread Paul Gilligan

All,

With The OyaP Networks I am trying to build a small team of Oracle RDBMS 
 OLAP specialist, so that
is where our main focus is, but Oracle also provides a lot of JAVA/XML 
support and hence our years of  
additional JAVA  XML work.

Why XML, when supporting customers we need access to a lot of 
information, things that you just need
to write down somewhere - little tips etc. So with an XML based site we 
can modify, publish and find
our information with ease.

We could use Oracle 9iAS for the XML publishing intead of cocoon but as 
our focus is on the database
side not applications and that the 9iAS is very heavy we are tending 
towards cocoon as the final solution.

...We are currently putting together our cocoon site which will include 
FAQ's to technology like cocoon and
XML.

My main concern at this time is the lack of control over XML, there are 
bodies such as OASIS who are trying
to publish XML/XSL items but in my view failing to provide the correct 
level of information.  One of my main
objections is the comment information all over DTD documents - I think 
they missed the point here!!! the information
about the DTD or XSL or even XML should be in an XML header type format 
and NOT comment data in the
document. If there was a standard header then we could find required 
types of DTD or XSL documents easy.

With cocoon our web site will be generated around the docbook XML 
format and I am hoping to have online
editing of the XML data via cocoon so that articles etc can be modified 
and addedto the site without going to the OS.

Why docbook, because it is there and seems generally to encompass most 
of what we would ever need for XML
based publishing. The only thing that is missing is a good set of XSL 
standards for docbook and any editors that
can be used easily to produce a docbook( I have seen some but they are 
not that useful, have not had time to look
at thot yet but still would like a web based editor via cocoon.

... so we could have a directory structre that makes up chapters for a 
docbook,each chapter covers a different area
of technology (RDBMS, OLAP XML... DTD... and on). The if you need to 
browse this online as HTML you can
... or PDF etc. We could even give the docbook XML data to a publisher 
and they could produce the BOOK!!

So those are my thoughts on XML cocoon and web sites, who is crazy 
enought to help?

Paul







Alex McLintock wrote:

 Hello Paul,

 We are collating a list of European companies willing to support Open 
 Source Software (including Cocoon).
 Can we have some info on your company to put in the catalogue?

 We are doing some Cocoon sites too.

 Alex McLintock
 http://www.OWAL.co.uk/


 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Date: Tue, 21 May 2002 11:15:54 +0100
 From: Paul Gilligan [EMAIL PROTECTED]


 I am based in the UK, no too far - my company is developing XML 
 publishing on cocoon 2.1 dev at the
 moment just working out the XSL side should have things up and 
 running in the comming weeks..

 We are very interested in meeting up with other EU companies on the 
 development front.

 Paul

 Cederic Van Herreweghe wrote:




 Openweb Analysts Ltd, London: Software For Complex Websites 
 http://www.OWAL.co.uk/
 Free Consultancy for London Companies thinking of Open Source Software.




-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Access97 - Cocoon2

2002-05-22 Thread zze-STIENNE Nicolas FTRD/DMI/CAE
Title: Access97 - Cocoon2





Hi !!


I've got a problem to access to my database Access97 under w2000. I work with Tomcat3.3.2, Java 2 SDK 1.4 and Cocoon2.

I made an odbc link (outils d'administration/Sources de donnees odbc/Sources de donnees systemes/Ajouter/AccessDriver/Base de donnees).


I test it with a Java program: it works well, I can read my data.


But the problem comes with cocoon : 


org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource org.apache.avalon.excalibur.datasource.NoValidConnectionException: No valid JdbcConnection class available

The files I use: 


base.xsp : 
?xml version=1.0 encoding=iso-8859-1?
xsp:page language=java
 xmlns:xsp=http://apache.org/xsp
 xmlns:esql=http://apache.org/cocoon/SQL/v2
doc
 esql:connection
 esql:poolpool/esql:pool
 /esql:connection
/doc
/xsp:page


web.xml : 
 init-param
 param-nameload-class/param-name
 param-valuesun.jdbc.odbc.JdbcOdbcDriver/param-value
 /init-param


cocoon.xconf :
jdbc name=pool
pool-controller min=5 max=10/
dburljdbc:odbc:bdaccess/dburl
user/user
password/password
/jdbc


In my Java, I made the test with: 
 Class.forName(sun.jdbc.odbc.JdbcOdbcDriver);
 db = DriverManager.getConnection(jdbc:odbc:bdaccess); 


Does really the sitemap generate a sever page ?
sitemap.xmap :
  map:pipeline
map:match pattern=spain/*.xsp
 map:generate type=serverpages src="spain/{1}.xsp/
 map:serialize /
   /map:match
  /map:pipeline



I don't see what is bad...


Thanks for all, 


Nicolas !!



--- Version francaise ---


Bonjour, 
 J'ai un probleme pour acceder a ma base Access97 sous Windows2000. J'utilise Tomcat3.3.2, Java 2 SDK 1.4 et Cocoon2.

 J'ai cree un lien odbc (outils d'administration/Sources de donnees odbc/Sources de donnees systemes/Ajouter/AccessDriver/Base de donnees).

 J'ai verifie que mon lien odbc fonctionnait avec un petit programme java : impecable, je peux lire les donnees enregistree dans la bd.

 En revanche, ca coince au moment de l'utilisation de cocoon : 
org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource org.apache.avalon.excalibur.datasource.NoValidConnectionException: No valid JdbcConnection class available

!-- les fichiers sont les meme --


Dans mon fichier Java, je faisais le test avec : 
 Class.forName(sun.jdbc.odbc.JdbcOdbcDriver);
 db = DriverManager.getConnection(jdbc:odbc:bdaccess); 


Faut-il bien que le sitemap genere une page serveur ?
!-- idem sitemap.xmap --


Je ne vois pas ce que je fais mal...
Merci, 
Nicolas !!




-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Cocoon book reviewers wanted

2002-05-22 Thread Konstantin Piroumian

From: marco spinetti [EMAIL PROTECTED]

 One question: is the profit for the apache software foundation (ASF)?

 If not, in my opinion it's against the open source apache philosophy.

 Cocoon is borned as open source project and then all is free.

Yes, you don't pay to use Cocoon. But nobody prevents you to provide
commersial support for it. More over, if I understand the Apache license
correctly: you can even modify it and distribute if the license conditions
are met.


 Are you a member of people that created Cocoon?

Don't tell this to Carsten Ziegeler [[EMAIL PROTECTED]] - Cocoon's
Release Manager - who is the co-author of the book. And Matthew Langham
[[EMAIL PROTECTED]] is his boss, if my information is correct, aren't you
Matthew? ;).

 Have you received the assent from ASF or people as Stefano Mazzocchi?

 If yes all is ok, otherwise in my opinion you are speculating on Cocoon.

Hm... In this case we are all speculating on Cocoon: one uses it to make
easier his paid work, another one to get some profit from consulting, the
thirds are writing books and every usage of Cocoon directly or indirectly
pays back to the community by promoting Cocoon, improving it, etc.

Konstantin



 Marco


 +---+
 Software engineer  Spinetti Marco
 Italy
 +-+




 - Original Message -
 From: Matthew Langham [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, May 22, 2002 11:02 AM
 Subject: RE: Cocoon book reviewers wanted


 Hi Paul

 
 By the way, Amazon states the book will be published on July 19. Is that
 accurate?
 
 Yes.

 Matthew

 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 =



 -Original Message-
 From: Paul Chisholm [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 22, 2002 12:54 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Cocoon book reviewers wanted


 Hi Matthew,

 I'm new to Cocoon but have many years software engineering experience. I
 assume your book is of an introductory nature and, if so, I would be keen
to
 review some chapters.

 By the way, Amazon states the book will be published on July 19. Is that
 accurate?

 Paul

 - Original Message -
 From: Matthew Langham [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Wednesday, May 22, 2002 4:35 PM
 Subject: Cocoon book reviewers wanted


  Hi,
 
  together with our publisher (www.newriders.com), we are looking for
people
  interested in reviewing chapters from our book. Hopefully you will have
  something positive to say and then your quote may be used in the book or
 to
  promote it.
 
  If you would be interested then please send me an email. Please note
that
 we
  will only be able to suggest (!!) reviewers - our publisher will choose.
 And
  probably only a few of those in the end.
 
  Thanks
 
  Matthew
 
  --
  Open Source Group   Cocoon { Consulting, Training, Projects }
  =
  Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
  Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
  -
  Cocoon book:
http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
  =
 
 
 
  -
  Please check that your question has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: 

Re: Cocoon book reviewers wanted

2002-05-22 Thread Bertrand Delacretaz

On Wednesday 22 May 2002 11:18, marco spinetti wrote (about Matthew Langham)
. . .
 Are you a member of people that created Cocoon?
. . .

Well, that's an easy one to answer if you do your homework. For example, a 
quick search on the mailing list archives at http://marc.theaimsgroup.com 
could tell you how much Matthew has been contributing to Cocoon (like 
Donating Portal and Authentication Components to the Cocoon project ;-)

-Bertrand

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon book reviewers wanted

2002-05-22 Thread Matthew Langham

I was going to refrain from commenting...

Anyone who believes (or thinks) that an open source project can survive
without commercial support is far removed from the real world. The number
of people working on open source project just for the fun or to scratch
that itch is IMO very small. In fact it is my opinion that any open source
project - without some form of integrated (!) commercial backing will fail
in the end.

Before we (as a company) decided to get involved with Cocoon and the open
source arena we had a discussion with Stefano on exactly this subject. His
opinion (and this is something I think is sooo true) is that using open
source software commercially - without giving back will eventually lead to
you (as a company - or person) being shouted down in the community.

Now there are various ways to give back to a project - as we discussed with
Stefano:

* Contributing Patches and Bug Fixes
* Donating components that were previously part of a product
* Actively working on the project
* Taking over a role in the project
* Testing the software and publishing your findings
* Writing documentation
* Writing articles to get the project noticed
* Presenting at conferences to get the project noticed
* Writing books to help anyone who wants to use the software

And probably many more

Well - guess what - we as a company (and Carsten and myself in particular)
have done all that in the past 2 years. And we still do. Every day.

And (thankfully) we are not alone. There are many great (commercially
orientated) people out there who are helping to move Cocoon forward. The
fact that the Apache licence allows this is one of the reasons Apache
projects are so successful and widely renowned.

The more commercial support Cocoon receives - whether in projects, books,
products based on Cocoon - the more successful it will become.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cocoon book reviewers wanted

2002-05-22 Thread marco spinetti

Ok,

I agree with your answer. I know who are Carsten Ziegeler and Matthew
Langham. I know that they are very important persons for Cocoon (as many
others are).

 Hm... In this case we are all speculating on Cocoon: one uses it to make
 easier his paid work, another one to get some profit from consulting, the
 thirds are writing books and every usage of Cocoon directly or indirectly
 pays back to the community by promoting Cocoon, improving it, etc.

My e-mail is for pointing out that all our actions should be done only for
the improvement of cocoon. We all love cocoon: I have seen some people's
names for almost two years in the Cooon User List.

If the book, as I hope, is published for promoting Cocoon, for improving it,
well I am proud to know Carsten and Matthew and I applaud them.



Marco

+---+
Software engineer  Spinetti Marco
Italy
+---+





- Original Message -
From: Konstantin Piroumian [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 1:36 PM
Subject: Re: Cocoon book reviewers wanted


 From: marco spinetti [EMAIL PROTECTED]

  One question: is the profit for the apache software foundation (ASF)?
 
  If not, in my opinion it's against the open source apache philosophy.
 
  Cocoon is borned as open source project and then all is free.

 Yes, you don't pay to use Cocoon. But nobody prevents you to provide
 commersial support for it. More over, if I understand the Apache license
 correctly: you can even modify it and distribute if the license conditions
 are met.

 
  Are you a member of people that created Cocoon?

 Don't tell this to Carsten Ziegeler [[EMAIL PROTECTED]] - Cocoon's
 Release Manager - who is the co-author of the book. And Matthew Langham
 [[EMAIL PROTECTED]] is his boss, if my information is correct, aren't
you
 Matthew? ;).

  Have you received the assent from ASF or people as Stefano Mazzocchi?
 
  If yes all is ok, otherwise in my opinion you are speculating on Cocoon.

 Hm... In this case we are all speculating on Cocoon: one uses it to make
 easier his paid work, another one to get some profit from consulting, the
 thirds are writing books and every usage of Cocoon directly or indirectly
 pays back to the community by promoting Cocoon, improving it, etc.

 Konstantin

 
 
  Marco
 
 
  +---+
  Software engineer  Spinetti Marco
  Italy
  +-+
 
 
 
 
  - Original Message -
  From: Matthew Langham [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, May 22, 2002 11:02 AM
  Subject: RE: Cocoon book reviewers wanted
 
 
  Hi Paul
 
  
  By the way, Amazon states the book will be published on July 19. Is that
  accurate?
  
  Yes.
 
  Matthew
 
  --
  Open Source Group   Cocoon { Consulting, Training, Projects }
  =
  Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
  Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de
  -
  Cocoon book:
http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
  =
 
 
 
  -Original Message-
  From: Paul Chisholm [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, May 22, 2002 12:54 AM
  To: [EMAIL PROTECTED]
  Subject: Re: Cocoon book reviewers wanted
 
 
  Hi Matthew,
 
  I'm new to Cocoon but have many years software engineering experience. I
  assume your book is of an introductory nature and, if so, I would be
keen
 to
  review some chapters.
 
  By the way, Amazon states the book will be published on July 19. Is that
  accurate?
 
  Paul
 
  - Original Message -
  From: Matthew Langham [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Wednesday, May 22, 2002 4:35 PM
  Subject: Cocoon book reviewers wanted
 
 
   Hi,
  
   together with our publisher (www.newriders.com), we are looking for
 people
   interested in reviewing chapters from our book. Hopefully you will
have
   something positive to say and then your quote may be used in the book
or
  to
   promote it.
  
   If you would be interested then please send me an email. Please note
 that
  we
   will only be able to suggest (!!) reviewers - our publisher will
choose.
  And
   probably only a few of those in the end.
  
   Thanks
  
   Matthew
  
   --
   Open Source Group   Cocoon { Consulting, Training, Projects }
   =
   Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
   Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
   -
   Cocoon book:
 

RE: Cocoon book reviewers wanted

2002-05-22 Thread Bert Van Kets

My opinion exactly!
Open Source survives because it is used in a commercial world.  Let this be 
the Paradox of Open Source.
Bert

At 14:09 22/05/2002 +0200, you wrote:
I was going to refrain from commenting...

Anyone who believes (or thinks) that an open source project can survive
without commercial support is far removed from the real world. The number
of people working on open source project just for the fun or to scratch
that itch is IMO very small. In fact it is my opinion that any open source
project - without some form of integrated (!) commercial backing will fail
in the end.

Before we (as a company) decided to get involved with Cocoon and the open
source arena we had a discussion with Stefano on exactly this subject. His
opinion (and this is something I think is sooo true) is that using open
source software commercially - without giving back will eventually lead to
you (as a company - or person) being shouted down in the community.

Now there are various ways to give back to a project - as we discussed with
Stefano:

* Contributing Patches and Bug Fixes
* Donating components that were previously part of a product
* Actively working on the project
* Taking over a role in the project
* Testing the software and publishing your findings
* Writing documentation
* Writing articles to get the project noticed
* Presenting at conferences to get the project noticed
* Writing books to help anyone who wants to use the software

And probably many more

Well - guess what - we as a company (and Carsten and myself in particular)
have done all that in the past 2 years. And we still do. Every day.

And (thankfully) we are not alone. There are many great (commercially
orientated) people out there who are helping to move Cocoon forward. The
fact that the Apache licence allows this is one of the reasons Apache
projects are so successful and widely renowned.

The more commercial support Cocoon receives - whether in projects, books,
products based on Cocoon - the more successful it will become.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: I18n Performance

2002-05-22 Thread Peter Royal

On Wednesday 22 May 2002 03:24 am, Konstantin Piroumian wrote:
 Btw, I don't think that replacing XMLResourceBundle with a HashMap will
 improve perfomance much in the long run, because the values are stored in a
 HashMap on the first use, so there should be no much difference.

Agreeed. One of our main problems was the first use though. In development it 
would take a minute or two to fully translate our menu file (large 
chunk-o-javascript) with the XMLResourceBundle based approach. While some of 
the abstractions of the XMLResourceBundle are nice, it isn't really 
neccessary to parse an XPath each time a value is retrieved.

I parse the i18n dictionaries at startup and store the key/values in an 
unsynchronized hashmap and the transformer flies now.

Perhaps we can abstract out an interface for the I18nTransformer to talk to a 
catalogue/dictionary source so the XMLResourceBundle usage is optional? I'd 
love for my changes to the I18nTransformer to be able to make it back to the 
main trunk.
-pete


-- 
peter royal - [EMAIL PROTECTED]

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cocoon book reviewers wanted

2002-05-22 Thread Nicola Ken Barozzi

From: marco spinetti [EMAIL PROTECTED]

 One question: is the profit for the apache software foundation (ASF)?

 If not, in my opinion it's against the open source apache philosophy.

The opensource Apache philosophy?
There's a *big* misunderstanding here on what Apache is all about.

Apache is widely known to be very pragmatic on these issues; maybe you are
confused by another foundation that wants freedom for code.

We want community.

 Cocoon is borned as open source project and then all is free.
 Are you a member of people that created Cocoon?
 Have you received the assent from ASF or people as Stefano Mazzocchi?

You don't need it. This is the force of the Apache license, we will never
tie you to us.

 If yes all is ok, otherwise in my opinion you are speculating on Cocoon.

The contrary.

We want projects to be used and become succesfull; the important thing is
creating a market, not getting money back directly.

Apache opensource projects' biggest goal is having commercial backing, and
the license is made to have this happen.
You can do whatever you want with it as long as you say you are using our
work and you don't sue us for problems.

Just do it, and give us credit.

If you give back, good.
If you don't, you're still helping us gain market share.
In any case, we both win.

--
Nicola Ken Barozzi   [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Access97 - Cocoon2

2002-05-22 Thread Berin Loritsch

Please use plain text when posting to the list, it just makes things
easier.

Basically the issue is that the last checked in version of Avalon
Excalibur's
DataSource management had a problem with JDK 1.4.  This has since been
resolved.
Someone has compiled a new version of the DataSourceComponent, and has
it
available (I don't have a link right now, but look for it in the
archives for
this list--it was within the past week).

-Original Message-
From: zze-STIENNE Nicolas FTRD/DMI/CAE
[mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 22, 2002 7:21 AM
To: '[EMAIL PROTECTED]'
Subject: Access97 - Cocoon2


Hi !! 
 I've got a problem to access to my database Access97 under w2000. I
work with Tomcat3.3.2, Java 2 SDK 1.4  and Cocoon2.
 I made an odbc link (outils d'administration/Sources de donnees
odbc/Sources de donnees systemes/Ajouter/AccessDriver/Base de donnees).


 I test it with a Java program: it works well, I can read my data. 
But the problem comes with cocoon : 
org.apache.cocoon.ProcessingException: Exception in
ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not
get the datasource
org.apache.avalon.excalibur.datasource.NoValidConnectionException: No
valid JdbcConnection class available
The files I use: 
base.xsp : 
?xml version=1.0 encoding=iso-8859-1? 
xsp:page language=java 
  xmlns:xsp=http://apache.org/xsp; 
  xmlns:esql=http://apache.org/cocoon/SQL/v2; 
doc 
   esql:connection 
 esql:poolpool/esql:pool 
   /esql:connection 
/doc 
/xsp:page 
web.xml : 
init-param 
  param-nameload-class/param-name 
  param-valuesun.jdbc.odbc.JdbcOdbcDriver/param-value 
/init-param 
cocoon.xconf : 
jdbc name=pool 
pool-controller min=5 max=10/ 
dburljdbc:odbc:bdaccess/dburl 
user/user 
password/password 
/jdbc 
In my Java, I made the test with: 
Class.forName(sun.jdbc.odbc.JdbcOdbcDriver); 
db = DriverManager.getConnection(jdbc:odbc:bdaccess); 
Does really the sitemap generate a sever page ? 
sitemap.xmap : 
map:pipeline 
map:match pattern=spain/*.xsp 
map:generate type=serverpages
src=spain/{1}.xsp/ 
map:serialize / 
/map:match 
/map:pipeline 


I don't see what is bad... 
Thanks for all, 
Nicolas !! 


--- Version francaise --- 
Bonjour, 
J'ai un probleme pour acceder a ma base Access97 sous
Windows2000. J'utilise Tomcat3.3.2, Java 2 SDK 1.4  et Cocoon2.
  J'ai cree un lien odbc (outils d'administration/Sources de donnees
odbc/Sources de donnees systemes/Ajouter/AccessDriver/Base de donnees).
  J'ai verifie que mon lien odbc fonctionnait avec un petit programme
java : impecable, je peux lire les donnees enregistree dans la bd.
  En revanche, ca coince au moment de l'utilisation de cocoon : 
org.apache.cocoon.ProcessingException: Exception in
ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not
get the datasource
org.apache.avalon.excalibur.datasource.NoValidConnectionException: No
valid JdbcConnection class available
!-- les fichiers sont les meme -- 
Dans mon fichier Java, je faisais le test avec : 
Class.forName(sun.jdbc.odbc.JdbcOdbcDriver); 
db = DriverManager.getConnection(jdbc:odbc:bdaccess); 
Faut-il bien que le sitemap genere une page serveur ? 
 !-- idem sitemap.xmap -- 
Je ne vois pas ce que je fais mal... 
Merci, 
Nicolas !! 


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: cocoon docbook online

2002-05-22 Thread Nicola Ken Barozzi

Forwarding to krysalis-jakarta-adv list.

- Original Message - 
From: Paul Gilligan [EMAIL PROTECTED]
To: Alex McLintock [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 11:52 AM
Subject: cocoon  docbook online


 All,
 
 With The OyaP Networks I am trying to build a small team of Oracle RDBMS 
  OLAP specialist, so that
 is where our main focus is, but Oracle also provides a lot of JAVA/XML 
 support and hence our years of  
 additional JAVA  XML work.
 
 Why XML, when supporting customers we need access to a lot of 
 information, things that you just need
 to write down somewhere - little tips etc. So with an XML based site we 
 can modify, publish and find
 our information with ease.
 
 We could use Oracle 9iAS for the XML publishing intead of cocoon but as 
 our focus is on the database
 side not applications and that the 9iAS is very heavy we are tending 
 towards cocoon as the final solution.
 
 ...We are currently putting together our cocoon site which will include 
 FAQ's to technology like cocoon and
 XML.
 
 My main concern at this time is the lack of control over XML, there are 
 bodies such as OASIS who are trying
 to publish XML/XSL items but in my view failing to provide the correct 
 level of information.  One of my main
 objections is the comment information all over DTD documents - I think 
 they missed the point here!!! the information
 about the DTD or XSL or even XML should be in an XML header type format 
 and NOT comment data in the
 document. If there was a standard header then we could find required 
 types of DTD or XSL documents easy.
 
 With cocoon our web site will be generated around the docbook XML 
 format and I am hoping to have online
 editing of the XML data via cocoon so that articles etc can be modified 
 and addedto the site without going to the OS.
 
 Why docbook, because it is there and seems generally to encompass most 
 of what we would ever need for XML
 based publishing. The only thing that is missing is a good set of XSL 
 standards for docbook and any editors that
 can be used easily to produce a docbook( I have seen some but they are 
 not that useful, have not had time to look
 at thot yet but still would like a web based editor via cocoon.
 
 ... so we could have a directory structre that makes up chapters for a 
 docbook,each chapter covers a different area
 of technology (RDBMS, OLAP XML... DTD... and on). The if you need to 
 browse this online as HTML you can
 ... or PDF etc. We could even give the docbook XML data to a publisher 
 and they could produce the BOOK!!
 
 So those are my thoughts on XML cocoon and web sites, who is crazy 
 enought to help?
 
 Paul
 
 
 
 
 
 
 
 Alex McLintock wrote:
 
  Hello Paul,
 
  We are collating a list of European companies willing to support Open 
  Source Software (including Cocoon).
  Can we have some info on your company to put in the catalogue?
 
  We are doing some Cocoon sites too.
 
  Alex McLintock
  http://www.OWAL.co.uk/
 
 
  Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
  Date: Tue, 21 May 2002 11:15:54 +0100
  From: Paul Gilligan [EMAIL PROTECTED]
 
 
  I am based in the UK, no too far - my company is developing XML 
  publishing on cocoon 2.1 dev at the
  moment just working out the XSL side should have things up and 
  running in the comming weeks..
 
  We are very interested in meeting up with other EU companies on the 
  development front.
 
  Paul
 
  Cederic Van Herreweghe wrote:
 
 
 
 
  Openweb Analysts Ltd, London: Software For Complex Websites 
  http://www.OWAL.co.uk/
  Free Consultancy for London Companies thinking of Open Source Software.
 
 
 
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon book reviewers wanted

2002-05-22 Thread TREGAN Fabien

De: Bert Van Kets [mailto:[EMAIL PROTECTED]]

My opinion exactly!
Open Source survives because it is used in a commercial world. 
 Let this be the Paradox of Open Source.
Bert

IM(H)O, this is not a paradox at all. This is a paradox for free license
(GPL) project, but not for apache. Too many people make a confusion between
*Open* Source and *Communist* Source :)


fabien.

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: I18n Performance

2002-05-22 Thread Konstantin Piroumian

From: Peter Royal [EMAIL PROTECTED]

 On Wednesday 22 May 2002 03:24 am, Konstantin Piroumian wrote:
  Btw, I don't think that replacing XMLResourceBundle with a HashMap will
  improve perfomance much in the long run, because the values are stored
in a
  HashMap on the first use, so there should be no much difference.

 Agreeed. One of our main problems was the first use though. In development
it
 would take a minute or two to fully translate our menu file (large
 chunk-o-javascript) with the XMLResourceBundle based approach. While some
of
 the abstractions of the XMLResourceBundle are nice, it isn't really
 neccessary to parse an XPath each time a value is retrieved.

As I've said, really cool abstractions (a Bundle and not XMLResourceBundle)
were never been finalized and remained in Avalon scratchpad.
XMLResourceBundle is used in a little unusual way now: it behaves just like
an XML property file, while it could provide an XML content using XPath
expressions and not the current hard-coded one.


 I parse the i18n dictionaries at startup and store the key/values in an
 unsynchronized hashmap and the transformer flies now.

Did you use the 'cache-at-startup' configuration parameter? I was sure that
it was for exactly the same thing, though my information can be our of date,
hadn't a look at it for a long time. Also, I can remember some Hashtables
there, they should be replaced by HashMaps too.


 Perhaps we can abstract out an interface for the I18nTransformer to talk
to a
 catalogue/dictionary source so the XMLResourceBundle usage is optional?
I'd
 love for my changes to the I18nTransformer to be able to make it back to
the
 main trunk.

Yes, that would be fine! I think that the best thing would be to separate
dictionary handling from the transformer at all and use either a custom
source, say: transform src=i18n:db:/catalogue/messages / or transform
src=i18n:xml:/catalogue/messages /, or configure it like an SQL
connection and use a short name of it for the transformer
configuration/parameterization:
transformer ...
bundle-factoryxml/bundle-factory
/transformer

or something like that.

What do you think? I'd also recommend you to look at the i18n stuff in the
Avalon scratchpad.

Konstantin

P.S. Unfortunately, I can help only with comments/suggestions for now
because of (as usual) a limited time.

 -pete


 --
 peter royal - [EMAIL PROTECTED]

 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cocoon book reviewers wanted

2002-05-22 Thread Brian Blakeley


- Original Message -
From: Matthew Langham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 2:35 AM
Subject: Cocoon book reviewers wanted


 Hi,

 together with our publisher (www.newriders.com), we are looking for people
 interested in reviewing chapters from our book. Hopefully you will have
 something positive to say and then your quote may be used in the book or
to
 promote it.

 If you would be interested then please send me an email. Please note that
we
 will only be able to suggest (!!) reviewers - our publisher will choose.
And
 probably only a few of those in the end.

 Thanks

 Matthew

 --
 Open Source Group   Cocoon { Consulting, Training, Projects }
 =
 Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
 Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
 -
 Cocoon book:
   http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
 =



 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cocoon book reviewers wanted

2002-05-22 Thread Lajos Moczar

For GPL/LGPL, see http://www.gnu.org/copyleft/

Regards,

Lajos
galatea.com

Bert Van Kets wrote:

 Ah, I definitely need to brush up my understanding of the license 
 agreements.
 Darn, I hate those legal texts.
 Does anybody know a good site where all the different license agreements 
 are explained in English?
 Bert
 
 At 14:43 22/05/2002 +0200, you wrote:
 
 De: Bert Van Kets [mailto:[EMAIL PROTECTED]]
 
 My opinion exactly!
 Open Source survives because it is used in a commercial world.
  Let this be the Paradox of Open Source.
 Bert

 IM(H)O, this is not a paradox at all. This is a paradox for free 
 license
 (GPL) project, but not for apache. Too many people make a confusion 
 between
 *Open* Source and *Communist* Source :)


 fabien.

 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: I18n Performance

2002-05-22 Thread Peter Royal

On Wednesday 22 May 2002 09:08 am, Konstantin Piroumian wrote:
 As I've said, really cool abstractions (a Bundle and not XMLResourceBundle)
 were never been finalized and remained in Avalon scratchpad.

Right, I looked at it and it was more complex than I was needing at the time.

 Did you use the 'cache-at-startup' configuration parameter? I was sure that
 it was for exactly the same thing, though my information can be our of
 date, hadn't a look at it for a long time. Also, I can remember some
 Hashtables there, they should be replaced by HashMaps too.

Yes, I did. It just moves the speed hit around a bit :)

Also due to how we use the I18nTransformer, we pass our content through 
multiple times (2-3) with the first stage generating lots of misses, also 
expensive time-wise.

 Yes, that would be fine! I think that the best thing would be to separate
 dictionary handling from the transformer at all and use either a custom
 source, say: transform src=i18n:db:/catalogue/messages / or transform
 src=i18n:xml:/catalogue/messages /, or configure it like an SQL
 connection and use a short name of it for the transformer
 configuration/parameterization:
 transformer ...
 bundle-factoryxml/bundle-factory
 /transformer

 or something like that.

 What do you think? I'd also recommend you to look at the i18n stuff in the
 Avalon scratchpad.

That sounds very good. The Excalibur Bundle pieces would be one example of a 
factory.

 P.S. Unfortunately, I can help only with comments/suggestions for now
 because of (as usual) a limited time.

me too. this is all going on my TODO tho :)
-pete

-- 
peter royal - [EMAIL PROTECTED]

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cocoon book reviewers wanted

2002-05-22 Thread Brian Blakeley

Sorry, this was a mistake - mouse got away from me. Bad Mouse!

Brian


- Original Message -
From: Brian Blakeley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 9:13 AM
Subject: Re: Cocoon book reviewers wanted



 - Original Message -
 From: Matthew Langham [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Wednesday, May 22, 2002 2:35 AM
 Subject: Cocoon book reviewers wanted


  Hi,
 
  together with our publisher (www.newriders.com), we are looking for
people
  interested in reviewing chapters from our book. Hopefully you will have
  something positive to say and then your quote may be used in the book or
 to
  promote it.
 
  If you would be interested then please send me an email. Please note
that
 we
  will only be able to suggest (!!) reviewers - our publisher will choose.
 And
  probably only a few of those in the end.
 
  Thanks
 
  Matthew
 
  --
  Open Source Group   Cocoon { Consulting, Training, Projects }
  =
  Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
  Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
  -
  Cocoon book:
http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
  =
 
 
 
  -
  Please check that your question has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: map:views - what has been changed in C2.1-dev

2002-05-22 Thread leo leonid

me again,
I just noticed that some weeks ago there has been a discussion in the 
xml-cocoon-dev-list about future implementations of view labels. But I 
didn't find any solution or temporary workaround to get labels 
interpreted again inside an aggregation.

Are there any ideas? It would be great, for creating a search index of 
the documentation would be possible again.
thanks
/L


On Friday, May 17, 2002, at 09:28  Uhr, leo leonid wrote:

 I wonder what has been changed concerning the behavior of views (and 
 why!)
 Now I get HTML-output where  I expect XML (and recently still got).
 May this be the reason why the sample searching the docs doesn't work 
 anymore?
 It looks like the LuceneIndexer is expecting XML-result from the 
 content-view
 but it gets HTML, which it is ignoring.

 Example (similar to the cocoon-documentation):
 There is a generator without label (serverpages-nolabel)
 and a simple view to exit the pipeline and serialize the result as XML 
 (content).
 And the goal is to omit head- and foot-parts and all 
 HTML-transformations in content-view
 so that there is only the body-content with filter-3.xsl applied within 
 a site/ root element.

 Problem:
 In the following pipeline the final transformation (map:transform 
 src=site2HTML.xsl /)
 is executed in the content-view. But it should not. Or did I miss 
 something?

 map:view from-label=content name=content
   map:serialize type=xml/
 /map:view
 ...
 map:match pattern=*/body-*/page_*.xml
   map:generate type=serverpages-nolabel src=page-geneation.xsp/
   map:transform src=filter-1.xsl /
   map:transform src=filter-2.xsl /
   map:transform src=filter-3.xsl label=content /
   map:transform src=content2HTML.xsl /
   map:serialize type=xml/
 /map:match

 map:match pattern=*/*/*.html
   map:aggregate element=site
   map:part src=cocoon:/{1}/head-{2}/{3}.xml/
   map:part src=cocoon:/{1}/foot-{2}/{3}.xml/
   map:part src=cocoon:/{1}/body-{2}/{3}.xml label=content/
   /map:aggregate
   map:transform src=site2HTML.xsl /
   map:serialize /
 /map:match


 Thanks!
 /Leo


 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon book reviewers wanted

2002-05-22 Thread Andre Cusson

Hi Matthew,

I've been developing software for 3 decades. I love XSLT.  Cocoon is dynamic
(pipelined) XML/XSLT.
I would be happy to read and comment your book.

andre cusson
[EMAIL PROTECTED]



-Message d'origine-
De : Matthew Langham [mailto:[EMAIL PROTECTED]]
Envoye : 22 mai, 2002 02:36
A : [EMAIL PROTECTED]; [EMAIL PROTECTED]
Objet : Cocoon book reviewers wanted


Hi,

together with our publisher (www.newriders.com), we are looking for people
interested in reviewing chapters from our book. Hopefully you will have
something positive to say and then your quote may be used in the book or to
promote it.

If you would be interested then please send me an email. Please note that we
will only be able to suggest (!!) reviewers - our publisher will choose. And
probably only a few of those in the end.

Thanks

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cocoon book reviewers wanted

2002-05-22 Thread Nicola Ken Barozzi

For Apache license:
http://www.apache.org/foundation/licence-FAQ.html

Say, why isn't there an ApacheForge?
http://jakarta.apache.org/site/faqs.html

--
Nicola Ken Barozzi   [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-


- Original Message -
From: Lajos Moczar [EMAIL PROTECTED]

 For GPL/LGPL, see http://www.gnu.org/copyleft/

 Regards,

 Lajos
 galatea.com

 Bert Van Kets wrote:

  Ah, I definitely need to brush up my understanding of the license
  agreements.
  Darn, I hate those legal texts.
  Does anybody know a good site where all the different license agreements
  are explained in English?
  Bert
 
  At 14:43 22/05/2002 +0200, you wrote:
 
  De: Bert Van Kets [mailto:[EMAIL PROTECTED]]
  
  My opinion exactly!
  Open Source survives because it is used in a commercial world.
   Let this be the Paradox of Open Source.
  Bert
 
  IM(H)O, this is not a paradox at all. This is a paradox for free
  license
  (GPL) project, but not for apache. Too many people make a confusion
  between
  *Open* Source and *Communist* Source :)
 
 
  fabien.
 
  -
  Please check that your question has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  Please check that your question has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cocoon book reviewers wanted

2002-05-22 Thread Andrew C. Oliver



My e-mail is for pointing out that all our actions should be done only for
the improvement of cocoon. We all love cocoon: I have seen some people's
names for almost two years in the Cooon User List.
  

Dude, using Cocoon commercially for your own benifit, benefits Cocoon. 
 Writing a book and keeping the measly profit (that is in no way 
adequate compensation for the time and effort taken to write such a 
book), seriously benefits Cocoon.

If the book, as I hope, is published for promoting Cocoon, for improving it,
well I am proud to know Carsten and Matthew and I applaud them.
  

And I hope they make some serious Benjamins (or whatever the appropriate 
European slang term is for cash) in the process.  Though fat chance of that.

Don't get GNU-brainwashed, not everyone believes benefitting financially 
from opensource is immoral.

-Andy



Marco

+---+
Software engineer  Spinetti Marco
Italy
+---+





- Original Message -
From: Konstantin Piroumian [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 1:36 PM
Subject: Re: Cocoon book reviewers wanted


  

From: marco spinetti [EMAIL PROTECTED]



One question: is the profit for the apache software foundation (ASF)?

If not, in my opinion it's against the open source apache philosophy.

Cocoon is borned as open source project and then all is free.
  

Yes, you don't pay to use Cocoon. But nobody prevents you to provide
commersial support for it. More over, if I understand the Apache license
correctly: you can even modify it and distribute if the license conditions
are met.



Are you a member of people that created Cocoon?
  

Don't tell this to Carsten Ziegeler [[EMAIL PROTECTED]] - Cocoon's
Release Manager - who is the co-author of the book. And Matthew Langham
[[EMAIL PROTECTED]] is his boss, if my information is correct, aren't


you
  

Matthew? ;).



Have you received the assent from ASF or people as Stefano Mazzocchi?

If yes all is ok, otherwise in my opinion you are speculating on Cocoon.
  

Hm... In this case we are all speculating on Cocoon: one uses it to make
easier his paid work, another one to get some profit from consulting, the
thirds are writing books and every usage of Cocoon directly or indirectly
pays back to the community by promoting Cocoon, improving it, etc.

Konstantin



Marco


+---+
Software engineer  Spinetti Marco
Italy
+-+




- Original Message -
From: Matthew Langham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 11:02 AM
Subject: RE: Cocoon book reviewers wanted


Hi Paul

  

By the way, Amazon states the book will be published on July 19. Is that
accurate?

Yes.

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=



-Original Message-
From: Paul Chisholm [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 12:54 AM
To: [EMAIL PROTECTED]
Subject: Re: Cocoon book reviewers wanted


Hi Matthew,

I'm new to Cocoon but have many years software engineering experience. I
assume your book is of an introductory nature and, if so, I would be
  

keen
  

to


review some chapters.

By the way, Amazon states the book will be published on July 19. Is that
accurate?

Paul

- Original Message -
From: Matthew Langham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 4:35 PM
Subject: Cocoon book reviewers wanted


  

Hi,

together with our publisher (www.newriders.com), we are looking for


people


interested in reviewing chapters from our book. Hopefully you will


have
  

something positive to say and then your quote may be used in the book


or
  

to
  

promote it.

If you would be interested then please send me an email. Please note


that


we
  

will only be able to suggest (!!) reviewers - our publisher will


choose.
  

And
  

probably only a few of those in the end.

Thanks

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  

Re: Cocoon book reviewers wanted

2002-05-22 Thread Sylvain Wallez

Bert Van Kets wrote:

 Ah, I definitely need to brush up my understanding of the license 
 agreements.
 Darn, I hate those legal texts.
 Does anybody know a good site where all the different license 
 agreements are explained in English?
 Bert


Check out http://opensource.org/licenses/

Sylvain

-- 
Sylvain Wallez
  Anyware Technologies  Apache Cocoon
  http://www.anyware-tech.com   mailto:[EMAIL PROTECTED]




-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cocoon book reviewers wanted

2002-05-22 Thread Tom Klaasen

Bertrand Delacretaz wrote:

On Wednesday 22 May 2002 11:18, marco spinetti wrote (about Matthew Langham)
  

. . .
Are you a member of people that created Cocoon?
. . .



Well, that's an easy one to answer if you do your homework. For example, a 
quick search on the mailing list archives at http://marc.theaimsgroup.com 
could tell you how much Matthew has been contributing to Cocoon (like 
Donating Portal and Authentication Components to the Cocoon project ;-)
  


Thee hee :-)
Now do the same for Marco Spinetti on cocoon-dev :-P


tomK



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cocoon book reviewers wanted

2002-05-22 Thread Sylvain Wallez

Matthew Langham wrote:

I was going to refrain from commenting...

Anyone who believes (or thinks) that an open source project can survive
without commercial support is far removed from the real world. The number
of people working on open source project just for the fun or to scratch
that itch is IMO very small. In fact it is my opinion that any open source
project - without some form of integrated (!) commercial backing will fail
in the end.

Before we (as a company) decided to get involved with Cocoon and the open
source arena we had a discussion with Stefano on exactly this subject. His
opinion (and this is something I think is sooo true) is that using open
source software commercially - without giving back will eventually lead to
you (as a company - or person) being shouted down in the community.

Now there are various ways to give back to a project - as we discussed with
Stefano:

* Contributing Patches and Bug Fixes
* Donating components that were previously part of a product
* Actively working on the project
* Taking over a role in the project
* Testing the software and publishing your findings
* Writing documentation
* Writing articles to get the project noticed
* Presenting at conferences to get the project noticed
* Writing books to help anyone who wants to use the software

And probably many more

Well - guess what - we as a company (and Carsten and myself in particular)
have done all that in the past 2 years. And we still do. Every day.

And (thankfully) we are not alone. There are many great (commercially
orientated) people out there who are helping to move Cocoon forward. The
fact that the Apache licence allows this is one of the reasons Apache
projects are so successful and widely renowned.

The more commercial support Cocoon receives - whether in projects, books,
products based on Cocoon - the more successful it will become.

Matthew
  


I fully share this view.

An important dimension that should be taken into account is time : if I 
wasn't allowed by my company to give some of my time to Cocoon, I would 
never have been able to contribute all that I have contributed. Yes, I 
also take on my spare time for Cocoon because I love it and it's fun, 
but my wife and children limit this time ;)

And time is money. So many companies give money to Apache projects 
through people's time, and allowing commercial use of these projects is 
a way for Apache to pay back. This explains the high quality of all the 
stuff you can find here.

My view on opensource is this one : many people, which can be business 
competitors in the real world, join forces to build something that 
none of them could have built alone. And everyone (including 
non-contributors) can take this and make money with it by adding value 
on top of it through products, consulting, books, training, etc.

Sylvain

-- 
Sylvain Wallez
  Anyware Technologies  Apache Cocoon
  http://www.anyware-tech.com   mailto:[EMAIL PROTECTED]




-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon book reviewers wanted

2002-05-22 Thread Matthew Langham


Thee hee :-)
Now do the same for Marco Spinetti on cocoon-dev :-P

Tom et al.,

I do think this thread has gone far enough - can we get back to Cocoon'ing
again? We are all part of the community - and that includes all the lurkers
out there - and we know you are :-)

Ok?

Matthew

--
Open Source Group   Cocoon { Consulting, Training, Projects }
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
-
Cocoon book:
  http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20
=




-Original Message-
From: Tom Klaasen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 4:28 PM
To: [EMAIL PROTECTED]
Subject: Re: Cocoon book reviewers wanted


Bertrand Delacretaz wrote:

On Wednesday 22 May 2002 11:18, marco spinetti wrote (about Matthew
Langham)


. . .
Are you a member of people that created Cocoon?
. . .



Well, that's an easy one to answer if you do your homework. For example, a
quick search on the mailing list archives at http://marc.theaimsgroup.com
could tell you how much Matthew has been contributing to Cocoon (like
Donating Portal and Authentication Components to the Cocoon project ;-)



Thee hee :-)
Now do the same for Marco Spinetti on cocoon-dev :-P


tomK



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: map:views - what has been changed in C2.1-dev

2002-05-22 Thread Sylvain Wallez

leo leonid wrote:

 me again,
 I just noticed that some weeks ago there has been a discussion in the 
 xml-cocoon-dev-list about future implementations of view labels. But I 
 didn't find any solution or temporary workaround to get labels 
 interpreted again inside an aggregation.


The main discussion was about branching to the view from the _last_ 
label matching the view and not the first one. But nothing has changed 
yet. For aggregation, could please try to add 'abel=content on 
map:aggregate ?

 Are there any ideas? It would be great, for creating a search index of 
 the documentation would be possible again.
 thanks
 /L


 On Friday, May 17, 2002, at 09:28  Uhr, leo leonid wrote:

 I wonder what has been changed concerning the behavior of views (and 
 why!)
 Now I get HTML-output where  I expect XML (and recently still got).
 May this be the reason why the sample searching the docs doesn't 
 work anymore?
 It looks like the LuceneIndexer is expecting XML-result from the 
 content-view
 but it gets HTML, which it is ignoring.

 Example (similar to the cocoon-documentation):
 There is a generator without label (serverpages-nolabel)
 and a simple view to exit the pipeline and serialize the result as 
 XML (content).
 And the goal is to omit head- and foot-parts and all 
 HTML-transformations in content-view
 so that there is only the body-content with filter-3.xsl applied 
 within a site/ root element.

 Problem:
 In the following pipeline the final transformation (map:transform 
 src=site2HTML.xsl /)
 is executed in the content-view. But it should not. Or did I miss 
 something?

 map:view from-label=content name=content
 map:serialize type=xml/
 /map:view
 ...
 map:match pattern=*/body-*/page_*.xml
 map:generate type=serverpages-nolabel 
 src=page-geneation.xsp/
 map:transform src=filter-1.xsl /
 map:transform src=filter-2.xsl /
 map:transform src=filter-3.xsl label=content /
 map:transform src=content2HTML.xsl /
 map:serialize type=xml/
 /map:match

 map:match pattern=*/*/*.html
 map:aggregate element=site
 map:part src=cocoon:/{1}/head-{2}/{3}.xml/
 map:part src=cocoon:/{1}/foot-{2}/{3}.xml/
 map:part src=cocoon:/{1}/body-{2}/{3}.xml label=content/
 /map:aggregate
 map:transform src=site2HTML.xsl /
 map:serialize /
 /map:match


 Thanks!
 /Leo


 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-- 
Sylvain Wallez
  Anyware Technologies  Apache Cocoon
  http://www.anyware-tech.com   mailto:[EMAIL PROTECTED]




-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: calling a servlet (?)

2002-05-22 Thread Vadim Gritsenko

 From: Pierfranco Ferronato [mailto:[EMAIL PROTECTED]]
 
 Hi all,
 
 I'm really new to cocoon
 I'm trying something I think it is preatty easy: calling a servlet
with some
 parameters
 
 map:match pattern=
   map:generate type=html

src=http://localhost:8088/pino/servlet/fetish.reposimpl.HTTPFTRepositor
y?acti
 on=all /
   map:transform src=xsl/DBALL_HTML.xslt
   map:parameter name=wsite value=http://localhost/
   /map:transform
   map:serialize type=html/
 /map:match
 
 It does not work, I got a
 org.apache.cocoon.ProcessingException: Exception in
HTMLGenerator.generate():
 java.lang.NullPointerException
 (cocoon 2.0.2 + Tomcat 3.3 + SUN JDK1.3)
 
 It seems that the http generator process only URL
 
 Any suggestion or help is really appreciated

Looks like bug in the HTMLGenerator. Suggestions:

1. Try Cocoon 2.0.3 from the CVS
2. Look into HTMLGenerator
3. Nothing helps, try asking mail list but please do not cut exception
stacktrace - now it is not even known what was the line number.


Vadim

 
 Pieffe
 
 
 
 --- Signature ---
 PF
 @-mail:[EMAIL PROTECTED]
 Virtual Sky:   IVAO, ID 112917
 SimFlight: FS2000, X-Plane
 Home page: http://www.pierfranco.com
 USA Fax:   (419) 791-6621


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Cocoon book reviewers wanted

2002-05-22 Thread Tom Klaasen

Matthew Langham wrote:

Thee hee :-)
Now do the same for Marco Spinetti on cocoon-dev :-P

Tom et al.,

I do think this thread has gone far enough - can we get back to Cocoon'ing
again? We are all part of the community - and that includes all the lurkers
out there - and we know you are :-)

  

Cool.

For the record: I don't have anything against lurkers (I am one myself 
-- occassionally on this list, and certainly on other lists). We can 
only benefit from them. They're the people using cocoon, and without 
users, no software project has a goal.


My sincere apologies for not being able to resist the reply-button.


Back to work!


tomK


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Setting actions in sitemap

2002-05-22 Thread Mike Ash
Title: Setting actions in sitemap





I have an action defined as


 map:action logger=sitemap.action.loginAction name=loginAction src="package.name.LoginAction" 
 parameter name=parmname value=somevalue /
 /map:action


first off is this possible?


I know that this is done as well in the form validator, .


map:act type=form-validator
 parameter name=descriptor value=context://descriptor.xml
 parameter name=validate value=username,password
/map:act



however it appears that everytime I use it I would have to put in the parameter for the descriptor file,. I was hoping to set the config file once in the declaration of the action in the sitemap is it possible.




Re: Setting actions in sitemap

2002-05-22 Thread Konstantin Piroumian
Title: Setting actions in sitemap



Mike,

configuring actions on their declaration differ from passing 
params in a pipeline. Your pipeline should implement Configurable interface to 
be configured. See how the other actions are configured (you can extendone 
of the *Configurable*Action classes).

Konstantin

  - Original Message - 
  From: 
  Mike Ash 
  To: '[EMAIL PROTECTED]' 
  
  Sent: Wednesday, May 22, 2002 7:04 
  PM
  Subject: Setting actions in sitemap
  
  I have an action defined as 
   map:action 
  logger="sitemap.action.loginAction" name="loginAction" 
  src="package.name.LoginAction"   parameter name="parmname" 
  value="somevalue" /  
  /map:action 
  first off is this possible? 
  I know that this is done as well in the form 
  validator, . 
  map:act type="form-validator" 
   parameter 
  name="descriptor" value="context://descriptor.xml"  parameter 
  name="validate" value="username,password" /map:act 
  however it appears that everytime I use it I would 
  have to put in the parameter for the descriptor file,. I was hoping to 
  set the config file once in the declaration of the action in the sitemap is it 
  possible.


Re: Setting actions in sitemap

2002-05-22 Thread Konstantin Piroumian

Setting actions in sitemapOops, typo...

Mike,

configuring actions on their declaration differ from passing params in a
pipeline. Your -- action -- should implement Configurable interface to be
configured. See how the other actions are configured (you can extend one of
the *Configurable*Action classes).

Konstantin
- Original Message -
From: Mike Ash
To: '[EMAIL PROTECTED]'
Sent: Wednesday, May 22, 2002 7:04 PM
Subject: Setting actions in sitemap


I have an action defined as
   map:action logger=sitemap.action.loginAction name=loginAction
src=package.name.LoginAction 
  parameter name=parmname value=somevalue /
   /map:action
first off is this possible?
I know that this is done as well in the form validator, .
 map:act type=form-validator
   parameter name=descriptor value=context://descriptor.xml
parameter name=validate value=username,password
 /map:act


however it appears that everytime I use it I would have to put in the
parameter for the descriptor file,.  I was hoping to set the config file
once in the declaration of the action in the sitemap is it possible.

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: XSP Tutorial

2002-05-22 Thread Vadim Gritsenko

 From: Leigh Dodds [mailto:[EMAIL PROTECTED]]
 
 Hi,
 
 IBM have posted my second Cocoon tutorial:
 
 Working with XML Server Pages in Apache Cocoon 2
 http://www-106.ibm.com/developerworks/education/r-xxsp.html?n-x-4252
 
 It covers the basic principles of XSP (code generation
 using XSLT); the XSP syntax; and of course using
 and creating logicsheets.

Added to the list of links.

 
 I've just finished writing the third tutorial covering
 the ESQL and Form Validation logicsheets. Not sure
 when that will be published.

Great, keep 'em coming!

Vadim

 
 Feedback very welcome.
 
 L.
 
 
 --
 Leigh Dodds, Research Group, Ingenta | Pluralitas non est ponenda
 http://weblogs.userland.com/eclectic |sine necessitate
 http://www.xml.com/pub/xmldeviant| -- William of Ockham


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Installation Doc build command typo listed

2002-05-22 Thread Vadim Gritsenko

 From: Marc Jeffrey Driftmeyer [mailto:[EMAIL PROTECTED]]
 
 The target for the build command listed as printerdocs is of course
 incorrect.
 
 Just thought someone would want to change it to the correct,
 printer-docs target.

Thanks for noting this, typo corrected.

Thanks,
Vadim


 
 Sincerely Yours,
 
 Marc J. Driftmeyer
 
 //
 


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Setting actions in sitemap

2002-05-22 Thread Graaf, Edgar de (fin)


-Oorspronkelijk bericht-
Van: Mike Ash [mailto:[EMAIL PROTECTED]]
Verzonden: woensdag 22 mei 2002 17:05
Aan: '[EMAIL PROTECTED]'
Onderwerp: Setting actions in sitemap


I have an action defined as 
   map:action logger=sitemap.action.loginAction name=loginAction
src=package.name.LoginAction  
  parameter name=parmname value=somevalue / 
   /map:action 

first off is this possible?
[Graaf, Edgar de (fin)] 
-Yes I have it  running

 
I know that this is done as well in the form validator, . 
 map:act type=form-validator 
   parameter name=descriptor value=context://descriptor.xml 
parameter name=validate value=username,password 
 /map:act 

however it appears that everytime I use it I would have to put in the
parameter for the descriptor file,.  I was hoping to set the config file
once in the declaration of the action in the sitemap is it possible.

- Not that I know of, but you can use a validation-set:
parameter name=validate-set value=login-set

What belongs to that set is defined in de descriptor file

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Livesites

2002-05-22 Thread Vadim Gritsenko

 From: Felix Roethenbacher [mailto:[EMAIL PROTECTED]]
 
 We built the website of our mountaineering club
 SAC Sektion Piz Sol with Cocoon 2.
 
 http://www.sac-piz-sol.ch

Added.

Vadim


 Thank you for your great effort in developing Cocoon.
 It's cool!!
 
 Sincerely,
 Felix Roethenbacher
 


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Livesites

2002-05-22 Thread Vadim Gritsenko

 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 
 
   http://www.caphnet.com/

Added.

Vadim


 
Cocoon 1.8.2, moving to Cocoon 2 soon
 
 
 
 --
  Dr. Everett (Skip) Carter  Phone: 831-641-0645 FAX:  831-641-0647
  Taygeta Scientific Inc.INTERNET: [EMAIL PROTECTED]
  1340 Munras Ave., Suite 314WWW: http://www.taygeta.com
  Monterey, CA. 93940
 


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Livesites

2002-05-22 Thread Vadim Gritsenko

 From: Rune Sandnes [mailto:[EMAIL PROTECTED]]
 
 
 Another live site you can add to the Cocoon 2 livesites list:
 TINE, the largest Norwegian dairy company is at http://www.tine.no/

Added.

Vadim

 
 The site is mostly in Norwegian, but has an international section.
(TINE
 is the company that makes Jarlsberg cheese)
 
 It runs on Cocoon 2.0.2 under Websphere, and with Squid as
accellerating
 proxy to handle load. The reason we chose to use Squid was that
 Websphere performed poorly compared to Tomcat when we stress tested
with
 Siege. (http://www.joedog.org/siege/)
 
 We discovered that the reason for Websphere's poorer performance was
 logging, when we turned off our log routines performance was improved.
 We kept Siege anyway as it does give a performance boost.
 
 The site has a functions that are potential processor hogs, mostly in
 the name of design. Politically incorrect, all titles are generated
SVG
 (serialized to PNG) to get the correct font. Pictures are scaled
 server-side, and have rounded edges.
 
 Processed pictures are stored in the database for caching purposes,
and
 the generated titles are cached by Cocoon, so the site would be
 adequately fast without Squid, but it IS faster with Squid, and FEELS
 faster for the user.
 
 Thank you all for the invaluable support on this list!
 
 Rune,
 Klapp Media,
 Trondheim,
 Norway
 
 PS! The previous site I tried to get listed at the livesites list is
 still not there, please add www.corrocean.com as a Cocoon 2 site as
 well.


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: LIvesites

2002-05-22 Thread Vadim Gritsenko

 From: Adam Constabaris [mailto:[EMAIL PROTECTED]]
 
 The technical support site for the University of North Carolina at
Chapel Hill
 uses Cocoon 1.8.2
 
 http://help.unc.edu

Added.

Vadim


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: LIvesites

2002-05-22 Thread Paul Gilligan



http://www.oyap.net/extra/index.html 

almost there

Vadim Gritsenko wrote:
016601c201a6$a4287930$7574558b@vgritsenkopc">
  
From: Adam Constabaris [mailto:[EMAIL PROTECTED]]The technical support site for the University of North Carolina at

Chapel Hill

  uses Cocoon 1.8.2http://help.unc.edu
  
  Added.Vadim-Please check that your question has not already been answered in theFAQ before posting. http://xml.apache.org/cocoon/faqs.htmlTo unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>



RE: ExcaliburComponentManager.java still missing from Latest Snapshot breaks /cocoon/ and throwing ERRORS

2002-05-22 Thread Vadim Gritsenko

 From: Marc Jeffrey Driftmeyer [mailto:[EMAIL PROTECTED]]
 
 Vadim,
 
 I discovered the culprit and it is NOT Cocoon's, hence you developers
 mistakes at all.
 
 During one of my CVS HEAD fetches Windblows XP Professional through
one
 of its already noted NTFS.sys Kernel Panicks leaving an incomplete
update.
 
 WinCVS unless forced to check for missing directories, etc will just
 Prune any empty directories by default which is what happened.
 
 After a clean removal of a previous HEAD Update it XP crashed and I
 investigated the possibility of an incomplete directory mapping, etc
and
 forced it to do a complete index check and then update accordingly.
 
 Since then the War compiles and runs.  Yes it has a few Mappings that
 are not there but those are known and have workarounds.

Glad you were able to solve the issue. Nobody could expect that you have
incomplete tree cause of XP crash.


Vadim

 
 I just thought perhaps with my experience using XP someone might note
 that when using WinCVS force it to verify a complete HEAD and do not
 Prune the directories by mistake.
 
 -Marc
 
 
 Vadim Gritsenko wrote:
 
 From: Marc Jeffrey Driftmeyer [mailto:[EMAIL PROTECTED]]
 
 Vadim - Are you obtuse on purpose?
 
 
 
 1a or 2c?
 http://www.dictionary.com/cgi-bin/dict.pl?term=obtuse
 
 
 
 
 Its the one throwing the error in the process of mapping /cocoon/
 
 
 
 It is logging the error, yes, which means that it is physically
 *present* in your setup so your saying it's absent is wrong.
 
 
 
 
 Logic dictates one reduces errors from the first one thrown to the
 
 
 last
 
 
 one thrown.
 
 2.1 dev has been in the tree for the past month, atleast.
 
 
 
 And during these months, it entered alpha stage, it got WARNING in
the
 root, and announcement had been made on the list(s).
 
 
 
 
 If its Alpha
 than someone should make separate branches for the alpha and then
the
 maintenance branch for 2.0.2 so it can work seemlessly with SDK 1.4.
 
 
 
 The branch was created some time ago, cocoon_2_0_3_branch, and it was
 several times explained on the list how to get it for CVS newbies.
 Please refer to the archive.
 
 
 
 
 Or perhaps I'm just highly critical?  No.  I'm driven by wanting to
 
 
 get
 
 
 this stuff working smoothly so average folks, like myself, who can
 articulate technology to inepts with money can find it as an useful
 means of development and worth investing.
 
 
 
 Then please do download 2.0.3 CVS, don't be on the bleeding edge.
Even
 stable branch of CVS is too extreme for many - most of the users (I
 guess) are on the one of the releases, not on the CVS.
 
 
 
 
 And if you think Technology sells itself you wouldn't be working on
 
 
 Open
 
 
 Source software and dealing with an Troglodyte like M$ dictating the
 Market landscape.
 
 
 
 Why do you think so? :)
 
 
 
 
 And after just getting a clean snapshot and rebuilding the
cocoon.war
 
 
 it
 
 
 still fails.  with the Avalon Framework specifically referencing
 ExcaliburComponentManager.java.
 
 Here is the error.log.
 
 ERROR   (2002-05-10) 01:22.48:604   [core.manager](Unknown-URI)
 Unknown-thread/ExcaliburComponentManager: Could not get class
 org.apache.cocoon.components.store.impl.FilesystemStore for role
 org.apache.excalibur.store.Store on configuration element
 
 
 persistent-store
 
 
 java.lang.ClassNotFoundException:
 org.apache.cocoon.components.store.impl.FilesystemStore
 
 
 
 Make sure you have this class.
 
 snip/
 
 
 
 
 I was hoping it would be fixed so I could just work with the 2.1 dev
 
 
 
 Don't know is it 2.1 error or issue with your setup, but...
 
 
 
 stuff since when it does load it is snappier than the 2.0.2 release,
 
 
 in
 
 
 general.
 
 
 
 You can get 2.0.3, change sitemap engine from compiled to interpreted
 (read cocoon.xconf), and you will have same performance as 2.1 has.
 
 
 
 
 Here is to wishful thinking, and reversion back to 2.0.2.
 
 Finally, if this is an SDK 1.4 issue, great I'll build against 1.3.1
 
 
 but
 
 1.4 vs 1.3.1 differences are XML, SQL, and headless AWT stuff.
 
 
 
 
 I have yet to get an answer as to how come this class since it seems
 
 
 to
 
 
 be ignored during the build process leading one to conclude with
build
 success there will be /cocoon/ servlet success.
 
 
 
 Then it might be simple build.xml bug.
 
 Vadim
 
 
 
 
 
 Sincerely Yours,
 
 Marc J. Driftmeyer
 
 Vadim Gritsenko wrote:
 
 
 
 From: Marc Jeffrey Driftmeyer [mailto:[EMAIL PROTECTED]]
 
 Here is an excerpt of my error log..
 
 ERROR   (2002-05-08) 14:36.33:921   [core.manager](Unknown-URI)
 Unknown-thread/ExcaliburComponentManager: Could not get class
 org.apache.cocoon.components.store.impl.FilesystemStore for role
 org.apache.excalibur.store.Store on configuration element
 
 
 
 
 persistent-store
 
 
 
 
 java.lang.ClassNotFoundException:
 org.apache.cocoon.components.store.impl.FilesystemStore
 
 
 
 
 Why do you think that arbitrarily taken snapshot of Cocoon Alpha
CVS
 should work?
 
 PS What this has 

RE: slow xalan transformation

2002-05-22 Thread Vadim Gritsenko

 From: Adrian Petru Dimulescu [mailto:[EMAIL PROTECTED]]
 
 Hello,
 
 I imagine a search engine which would propose several relevant
paragraphs in
 several books of a small digital libraries. The user woud click on the
first
 result and cocoon serves the 2nd paragraph of the 3rd chapter of
Genesis of
 the Old Testament of the Bible
 (in other words: http://url/bible?select=1/1/3/2 )
 
 It would be then nice to be able serve a subtree of my choice.
 
 I would also like the user to be able to browse a tree-like structure
of this
 small digital library. The user opens the Bible node and then the
Genesis
 node and then its first subchapter. Then he closes everything up and
opens
 the, say, Shakespeare node, and then Macbeth and then its acts.
 
 The idea, I guess, is to build an arborescent structure of books.
 
 *
 I am no expert in XSLT processing but somehow I took for granted that
 isolating a *small* subtree of a *big* XML should not mean actually
scanning
 the whole big file.

It does mean exactly this, unless you help it with predicate like [1] to
extract only first occurrence. Then it could be possible to scan only
from the beginning of the file to the end of the desired chapter, and
not all file.


 I suspect however that Xalan validates the XML before doing the
transformation

No, Xalan does not validates XML. And Xerces also does not validates XML
- with default Cocoon settings. 


 which is slow because then the *entire* file has to be actually
scanned. In

It has to be scanned because of other reasons.


 that sense, I wonder if it is possible to disable validating.

It is disabled by default.

Vadim


 
 Best regards,
 Adrian.
 
 
 
 On Sunday 19 May 2002 21:51, William Brogden wrote:
  Scanning the entire bible to pick a chapter seems very
  wasteful. If you never serve more than one chapter, why
  not store the chapters separately?



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




handling errors occuring in aggregate

2002-05-22 Thread Charles Yates

Hello list,
 Does anyone have a graceful way of handling errors that occur in
one map:part of a map:aggregate element?  For example a portion of
my sitemap.xmap:

map:match pattern=**.html
  map:aggregate element=document
map:part src=cocoon://{1}.xml/
map:part src=xdocs/menu.xml/
  /map:aggregate
  !-- transform and serialize --
/map:match

problem:
 If an error occurs in the cocoon://{1}.xml part, first a empty
document/ element is transformed and serialized to a html document,
then the the map:handle-errors produced document is serialized to a
second document, concatenated with the first. (see
http://shine.stanford.edu:8080/laneweb/no/link/here.html)

ideal solution:
 I would like the map:handle-errors output to occur within the
document element so that the resulting page would not contain two
documents.

full sitemap.xmap available at
http://shine.stanford.edu/cgi-bin/viewcvs.cgi/laneweb/src/content/sitemap.xmap

 Thanks for any help,

Charles



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: handling errors occuring in aggregate

2002-05-22 Thread Peter Royal

On Wednesday 22 May 2002 12:52 pm, Charles Yates wrote:
 ideal solution:
  I would like the map:handle-errors output to occur within the
 document element so that the resulting page would not contain two
 documents.

Don't use aggregation. Make your pipeline something like

File Generator - XSLT to wrap in document/ and add X/CInclude line for 
menu - X/CInclude transformer to include menu.

-pete

-- 
peter royal - [EMAIL PROTECTED]

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: LIvesites

2002-05-22 Thread Stephen Smithstone

Hell thats nice :-)



On Wed, 2002-05-22 at 16:58, Paul Gilligan wrote:
http://www.oyap.net/extra/index.html

almost there

Vadim Gritsenko wrote:

From: Adam Constabaris [mailto:[EMAIL PROTECTED]]

The technical support site for the University of North Carolina at

Chapel Hill

uses Cocoon 1.8.2

http://help.unc.edu

Added.

Vadim


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




IRC Channel for cocoon

2002-05-22 Thread Stephen Smithstone

Maybe the ppl who use cocoon can meet in the the irc channel #cocoon on
irc.openprojects.com as there seems to be no room there and wud be more
of a live discussion instead of the mailing

Just an idea






-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Problems with Saxon (6.5.2) and resolver (Cocoon 2.0.2)

2002-05-22 Thread Frank Ridderbusch

On Tue, 21 May 2002 16:50:40 -0400
Stephen Ng [EMAIL PROTECTED] wrote:
.
 
 This is worrisome!  I'm using SQL Transformer.
 
 Maybe I should wait for 2.0.3.  Or get enough courage to try it.
 
 How much of a speedup did you get with Saxon?

Well, I didn't switched to saxon because of speed, but because of 

  http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=101886125605054w=2

therefore I can't tell.

-- 
MfG/Regards

Frank Ridderbusch 

Since I have taken all the Gates out of my computer, it finally works!!

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: How to obtain org.apache.cocoon.environment.Environment?

2002-05-22 Thread Vadim Gritsenko

 From: Steven Punte [mailto:[EMAIL PROTECTED]]
 
 Dear Cocoon User Group:
 
   How does one obtain the
   org.apache.cocoon.environment.Environment?
 
   I've trying:
 
   public void setup(  ) {
 environment =
 (Environment)(objectModel.get(Constants.CONTEXT_ENVIRONMENT_CONTEXT));

CONTEXT_ENVIRONMENT_CONTEXT is the key of the Environment in the Context
object, not objectModel.


Try something like:

ObjectModelHelper.getContext(objectModel).get(Constants.CONTEXT_ENVIRONM
ENT_CONTEXT);


Vadim


   }
 
   As how one obtains session and request, but the
   above always returns null.
 
   Cocoon 2.0.2.
 
   Thanks in advance.
 
   Steve Punte



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




have cocoon support in Apache-UserDir

2002-05-22 Thread Jens Nie

Hello.

So this is of course my first newbie-question!

How can i have cocoon-support in a User-Homepage?

I just installed the jakarta-tomcat 4.0.1 version and the cocoon-1.8.2 package 
shipped with the SuSE 8.0 LinuX-Distribution, and the basic things work fine. 
I can access http://localhost:8080/ and http://localhost:8080/cocoon and get 
the main pages for tomcat and cocoon. But what do i have to do, if i would 
like to dynamical transform XML to XHTML in a userhompage? Say be trying to 
access http://myserver/~user/hello-page.xml?

Thanks for any help in advance

jneines
-- 
Dipl.-Phys. Jens Nie
Fachbereich Physik, Universität Osnabrück
[EMAIL PROTECTED], http://godot.physik.uni-osnabrueck.de/~jnie

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: cookie problem

2002-05-22 Thread Vadim Gritsenko

 From: lev [mailto:[EMAIL PROTECTED]]
 
 I am trying to set cookie from inside the action code in a site map.
 
 Here is a snippet of my code:
 
 Response response = (Response)
 objectModel.get(Constants.RESPONSE_OBJECT);
 Cookie cookie = response.createCookie(user,Jhon Doe);
 cookie.setMaxAge(100);

  cookie.setPath(/);
  cookieToSet.setVersion(0);

 response.addCookie(cookie);


Vadim

 
 But apparently this code doesn't work. I couldn't detect appropriate
cookie
 using IE. Did I do something wrong ?
 BTW I use cocoon v. 2.0.1.
 
 Thank you
 Lev Tsentsiper
 


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




C2: how do I redirect in an Action?

2002-05-22 Thread Christopher Painter-Wakefield


What is the proper way to redirect in an Action?

I presume we are supposed to use the Redirector object, since nothing else
seems able.  I've looked at the Redirector interface, but the API docs have
zero explanation (g!) of the methods.  If this is the right object,
then:
1) what is the difference between redirect() and globalRedirect() and which
one should I use?
2) what is the meaning of the boolean sessionmode parameter?

I've searched the list archives and looked through the source and am none
the wiser.

Thanks,
Christopher


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: map:views - what has been changed in C2.1-dev

2002-05-22 Thread leo leonid

Hi Sylvain,
yes, I tried every possible combination. label on map:aggregate,  on 
map:part, on both,... the label just seems to be ignored. I also 
tested  those combination on the current 
cocoon/documentation/sitemap.xmap (snippet) = same result.

map:match pattern=*.html
 map:aggregate element=site 
  map:part src=cocoon:/book-{1}.xml/
  map:part src=cocoon:/body-{1}.xml label=content/
 /map:aggregate
 map:transform src=stylesheets/site2xhtml.xsl
map:parameter name=use-request-parameters value=true/
map:parameter name=header value=graphics/{1}-header.jpg/
  /map:transform
 map:serialize/
/map:match

/Leo

On Wednesday, May 22, 2002, at 04:46  Uhr, Sylvain Wallez wrote:

 leo leonid wrote:

 me again,
 I just noticed that some weeks ago there has been a discussion in the 
 xml-cocoon-dev-list about future implementations of view labels. But I 
 didn't find any solution or temporary workaround to get labels 
 interpreted again inside an aggregation.


 The main discussion was about branching to the view from the _last_ 
 label matching the view and not the first one. But nothing has changed 
 yet. For aggregation, could please try to add 'abel=content on 
 map:aggregate ?

 Are there any ideas? It would be great, for creating a search index of 
 the documentation would be possible again.
 thanks
 /L


 On Friday, May 17, 2002, at 09:28  Uhr, leo leonid wrote:

 I wonder what has been changed concerning the behavior of views (and 
 why!)
 Now I get HTML-output where  I expect XML (and recently still got).
 May this be the reason why the sample searching the docs doesn't 
 work anymore?
 It looks like the LuceneIndexer is expecting XML-result from the 
 content-view
 but it gets HTML, which it is ignoring.

 Example (similar to the cocoon-documentation):
 There is a generator without label (serverpages-nolabel)
 and a simple view to exit the pipeline and serialize the result as 
 XML (content).
 And the goal is to omit head- and foot-parts and all 
 HTML-transformations in content-view
 so that there is only the body-content with filter-3.xsl applied 
 within a site/ root element.

 Problem:
 In the following pipeline the final transformation (map:transform 
 src=site2HTML.xsl /)
 is executed in the content-view. But it should not. Or did I miss 
 something?

 map:view from-label=content name=content
 map:serialize type=xml/
 /map:view
 ...
 map:match pattern=*/body-*/page_*.xml
 map:generate type=serverpages-nolabel src=page-
 geneation.xsp/
 map:transform src=filter-1.xsl /
 map:transform src=filter-2.xsl /
 map:transform src=filter-3.xsl label=content /
 map:transform src=content2HTML.xsl /
 map:serialize type=xml/
 /map:match

 map:match pattern=*/*/*.html
 map:aggregate element=site
 map:part src=cocoon:/{1}/head-{2}/{3}.xml/
 map:part src=cocoon:/{1}/foot-{2}/{3}.xml/
 map:part src=cocoon:/{1}/body-{2}/{3}.xml label=content/
 /map:aggregate
 map:transform src=site2HTML.xsl /
 map:serialize /
 /map:match


 Thanks!
 /Leo


 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -- Sylvain Wallez
  Anyware Technologies  Apache Cocoon
  http://www.anyware-tech.com   mailto:[EMAIL PROTECTED]




 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Getting out of Cocoon-context

2002-05-22 Thread Volker Schneider

Dear colleagues,

I want to use static files like images etc. but don't want to use pipelines,
but static files served by the webserver.

Does anybody know how I can configure WebSphereApplicationDeveloper in this
way, so that static files are being served by the webserver and can be used
in HTML pages generated by cocoon?

If there is an image tag within my html result, cocoon will assume that it's
a pipeline - but I do not want this.

Best regards
- Volker -


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Getting out of Cocoon-context

2002-05-22 Thread Paul Gilligan

My site does that


I have an alias ... from the web server of say Images, so 
www.oyap.net/Images gives me the images.

So in XML I can have:

mediaobject
imageobject
imagedata 
fileref=http://www.oyap.net/Images/tech_up.gif; format=GIF 
id=tech/
/imageobject
/mediaobject


Which is totally outside of cocoon :)

did that make sense?

Then translate that to HTML with say:

xsl:template match=imagedata
   img name={@id} border=0 src={@fileref} align=absbottom 
alt={@id}/
/xsl:template

(using the ID element to pass the name parameter as it should be unique)








Volker Schneider wrote:

 Dear colleagues,
 
 I want to use static files like images etc. but don't want to use pipelines,
 but static files served by the webserver.
 
 Does anybody know how I can configure WebSphereApplicationDeveloper in this
 way, so that static files are being served by the webserver and can be used
 in HTML pages generated by cocoon?
 
 If there is an image tag within my html result, cocoon will assume that it's
 a pipeline - but I do not want this.
 
 Best regards
 - Volker -
 
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




multiple web servers - file not found

2002-05-22 Thread ROCKWELL,ANTHONY (Non-HP-Boise,ex1)

Hello, 
I have searched the faq's and archives and cannot seem to find anything
regarding the possibility of having 

***

multiple web servers (on the same physical server) using the same instance
of Cocoon.

-***

We have Cocoon 1.8.2 running on Win 2000 Advanced Server with ServletExec
3.1 and IIS 5.0 (patched to date).

Everything runs fine on one web server.  I added another virtual web service
in IIS, and configured ISAPI for ServletExec (pointing to the SAME dll as
the other web service).  The ServletExec guides tell me it can easily serve
multiple web services... and my testing display's that to be true. 

When I try to browse an xml page for cocoon to interpret (on the new site) I
get the error:


Error found handling the request.
org.xml.sax.SAXParseException: File
file:D:/web/wwwroot/webdir/dnd/index.xml not found.
at
org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java:105)
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1037)
at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(Defa
ultEntityHandler.java:512)
at
org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:304)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:899)
at org.apache.cocoon.parser.XercesParser.parse(XercesParser.java:85)
at
org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java:83)
at
org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.jav
a:78)
at org.apache.cocoon.Engine.handle(Engine.java:359)
at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
com.newatlanta.servletexec.ServletExec.CallServletService(ServletExec.java)
at
com.newatlanta.servletexec.ServletExec.processServletRequest(ServletExec.jav
a)
at
com.newatlanta.servletexec.ServletExec.processServletAlias(ServletExec.java)
at
com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java)
at
com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java)
--

The url for the service this file was requested from IS NOT in the path
D:/web/wwwroot/  - that is the path of the OTHER web service.  I mean, the
url I use is http://somedomain.com/webdir/dnd/index.xml and the path is
d:\somedomain\wwwroot\webdir\dnd\index.xml 
The other web service is at the path d:\web\wwwroot\ 
So it appears that cocoon is selecting the path and file from the url - but
inserting the domain/path information from the other original web service.

***-- How do I configure cocoon to allow multiple web services ?  --***

any insight would be appreciated...

tia,
Tony Rockwell 

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Cocoon and Enhydra

2002-05-22 Thread Matthew Hailstone
Title: Message



I've been a newbie 
with Cocoon for about 1 month now. My accomplishmentat slaughtering all 
the buzz words in the following will probably be evident.
Some suggestions 
would be nice. Thanks in advance. :)

Enhydra 
Pros

Established API that 
allows interaction with DOM.
Precompile 
classesfor performance.
Follow MVC (Model 2) 
byestablishing a common value of the"id" attribute in elements and 
lettingthe web graphic/presentation designers have at 
it.


Cocoon 
Pros

MVC architecture 
with sitemap controlling the business logic, generators handling data logic, 
transformers and serializers performing the presentation 
layer.
Uses well 
established specifications as its core (Java Servlet API, XML, 
XSL).


Enhydra 
Cons

The following 
taken from http://jakarta.apache.org/velocity/casestudy2.html
Designer designs the 
page and then engineer puts in the logic.
Employing engineers 
to do everything in the first place.
ie. (What happens 
when a designer incorrectly enters id's in the page? All of the engineers code 
becomes unusable. Now that's a nice separation between presentation and 
functionality)
Now I understand 
the mistakes are inevitable, but how much merit does the above 
have?
I think the biggest problem 
XMLC, JSP and servlets are facing is more a philosophical nature: the document 
is data, not code.
What is meant by 
"the document"?
Why would you 
convert your HTML into a Java class when you want to send it to the browser as 
text?


Cocoon 
Cons

Learn XSL and XSLT 
syntax
Decrease in 
performance due to transformation handling. (Enhydra is precompiled 
everything.)




RE: Getting out of Cocoon-context

2002-05-22 Thread Luca Morandini

Volker,

just tell the web-server to pass only the .html (or .xml)-ending URI to
Cocoon, or...
tell the web-server to pass only the URI containing cocoon (or your app's
name) to Cocoon and use another root in your static content's URI (like
/images/foo-gif or /static/images/foo.gif).

Best regards,

-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-


 -Original Message-
 From: Volker Schneider [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 22, 2002 10:09 PM
 To: [EMAIL PROTECTED]
 Subject: Getting out of Cocoon-context


 Dear colleagues,

 I want to use static files like images etc. but don't want to use
 pipelines,
 but static files served by the webserver.

 Does anybody know how I can configure
 WebSphereApplicationDeveloper in this
 way, so that static files are being served by the webserver and
 can be used
 in HTML pages generated by cocoon?

 If there is an image tag within my html result, cocoon will
 assume that it's
 a pipeline - but I do not want this.

 Best regards
 - Volker -


 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Cocoon and Enhydra

2002-05-22 Thread Geoff Howard

  Cocoon Cons
 
  Learn XSL and XSLT syntax
  Decrease in performance due to transformation handling. (Enhydra is
precompiled everything.)

I'd put xsl syntax on the PLUS side!  Using a well established industry
standard is way better practice than using a home brewed syntax.  You can
find people who know nothing about cocoon who can do your xsl for you, and
you can use it elsewhere.

Regarding precompiled, my understanding is that XSLTC is being feverishly
integrated as a new default xsl transformer and is compiled.

Geoff Howard

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Very Important: Deploy Servlets in the Cocoon Context

2002-05-22 Thread Chitharanjan Das

IIRC, There was an email thread depicting the issue of invoking servlets
in 
Cocoon 2.0. I tried in the mailing lists and could not get my hands on
them.

There are a lot of utilities which are developed in servlet framework
out there. It would be a shame if we cannot use them inside Cocoon.

.










-Original Message-
From: William Brogden [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 22, 2002 12:58 PM
To: [EMAIL PROTECTED]
Subject: RE: Very Important: Deploy Servlets in the Cocoon Context

 -Original Message-
 From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, May 22, 2002 1:47 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Very Important: Deploy Servlets in the Cocoon Context
 
 
 
 I am posting it again ..
 
 Is there a way to invoke a servlet in the same context of cocoon.
 
 i.e if the servlet were to be called from an XSP (say..) they should
 share the same session...
 
 regds,
 Chiths

 Since Cocoon runs in the servlet container environment
you theoretically could do a 
 RequestDispatcher.include( request, response )
if you can get the ServletContext.

WBB



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: how do I redirect in an Action?

2002-05-22 Thread Nicola Ken Barozzi

From: Christopher Painter-Wakefield [EMAIL PROTECTED]

 What is the proper way to redirect in an Action?

Why do you have to redirect in an action?
I would not suggest it.

Redirect instead in the sitemap based on the results of the Action.

-- 
Nicola Ken Barozzi   [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




multiple values from a form

2002-05-22 Thread Axel Seibert

Dear Cocoon users!

Could some kind soul please send me some sample code how to cope with
the result of xsp-request:get-parameter-values/ with Cocoon 1.8.2? I
somehow seem to be unable to figure out myself...

background: A form offers the user the choice to select several values
for a single attribute (each value encoded as a single char, e.g. T,
G, etc.). I'd like to concatenate all different chars into a single
string and save it into a database column. So far I've managed to
connect to the database and collect all the other form variables, but
this multiple value thing is driving me crazy... I've tried pure xslt,
combined with Java, pure Java (as I've found in some other example) --
all to no avail.

Any hint  tip would be very much appreciated!
Upgrading to Cocoon2 unfortunately is not an option.

Thanx!
Axel

--
[EMAIL PROTECTED] http://www.globonaut.org
  You are young once only but you can stay immature indefinitely.
PGP Fingerprint: 9AAB CEBC CB6C 7C20 BEBC  4B88 3E2E A5CA 57F4 D70B


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Very Important: Deploy Servlets in the Cocoon Context

2002-05-22 Thread Peter Schwenke


If you want to run the servlets in your cocoon webapp but not be
handled by cocoon just set them up in your web.xml and call them in
the usual way.   That is just a normal servlet container issue.  They
are just additional servlets to the cocoon servlet that way.  In the
system I've been developing on I use an MVC architecture where
servlets forward to JSPs which are processed by cocoon. 

If you want to process the servlets from cocoon the thread  you are
thinking of could have been Servlets to XSL and Servlet to XSL possible.

   ...Peter

Chitharanjan Das writes:
  IIRC, There was an email thread depicting the issue of invoking servlets
  in 
  Cocoon 2.0. I tried in the mailing lists and could not get my hands on
  them.
  
  There are a lot of utilities which are developed in servlet framework
  out there. It would be a shame if we cannot use them inside Cocoon.
  
  .
  
  
  
  
  
  
  
  
  
  
  -Original Message-
  From: William Brogden [mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday, May 22, 2002 12:58 PM
  To: [EMAIL PROTECTED]
  Subject: RE: Very Important: Deploy Servlets in the Cocoon Context
  
   -Original Message-
   From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] 
   Sent: Wednesday, May 22, 2002 1:47 PM
   To: [EMAIL PROTECTED]
   Subject: RE: Very Important: Deploy Servlets in the Cocoon Context
   
   
   
   I am posting it again ..
   
   Is there a way to invoke a servlet in the same context of cocoon.
   
   i.e if the servlet were to be called from an XSP (say..) they should
   share the same session...
   
   regds,
   Chiths
  
   Since Cocoon runs in the servlet container environment
  you theoretically could do a 
   RequestDispatcher.include( request, response )
  if you can get the ServletContext.
  
  WBB
  
  
  
  -
  Please check that your question has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faqs.html
  
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
  -
  Please check that your question has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faqs.html
  
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: esql v1.22 multiple returned update counts and ResultSets

2002-05-22 Thread neil

   I settled for Torstens solution without @index. Both requirements
  (different /
   same esql:results) are difficult to provide. Please suggest a syntax
for
  that.
  Some possibilities are to reuse the last one or to add a 'default'
attribute
  or some such.
  But I wouldn't bother unless there is some consensus that its a good
idea.

 I'm undecided on this one. I fear both solutions are difficult to work
 with. But as I hardly have the requirement to process several results,
 I have no strong opinion.

I'll try your changes out sometime soon, but for now I'm still using my
patch but with your switch
statements added. I've added a default case to the switch:

  xsl:for-each select=esql:update-results
  case xsl:value-of select=position()/: xsl:apply-templates
select=./
break;
  /xsl:for-each
  default: xsl:apply-templates
select=esql:update-results[last()]/
break;

This allows you to reuse the same esql:update-results if you want to.
Likewise for esql:results and esql:no-results.
Its not difficult to work with and I think its an option worth having even
though its not strictly necessary.

Cheers,
Neil.


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Installation Doc build command typo listed

2002-05-22 Thread Marc Jeffrey Driftmeyer

Thanks for noticing and fixing it in the 2.1 Dev Source.  Now just 
update the Installation page off the publically accessible Cocoon 
Installation Instructions and that reflection will be completely current.

-Marc


Vadim Gritsenko wrote:

From: Marc Jeffrey Driftmeyer [mailto:[EMAIL PROTECTED]]

The target for the build command listed as printerdocs is of course
incorrect.

Just thought someone would want to change it to the correct,
printer-docs target.



Thanks for noting this, typo corrected.

Thanks,
Vadim


  

Sincerely Yours,

Marc J. Driftmeyer

//





-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  


-- 
http://www.reanimality.com

Marc Jeffrey Driftmeyer
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.reanimality.com
/Infinite Nothingness is the Limit of Being! - marc jeffrey driftmeyer/




RE: Vadim : Very Important: Deploy Servlets in the Cocoon Context

2002-05-22 Thread Chitharanjan Das

Thanks for your reply

There was a thread abt 3 -4 months where there was discussion abt
invoking Servlets. There was a sitemap entry associated with that as
well.

I guess it was Vadim or someone else who were answering this...

IIRC, there was no need to register the Servlet also, it was addressed
by servlet class (or something). I think there was a special generator
for that..

Regds,
Chiths

-Original Message-
From: Peter Schwenke [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 22, 2002 4:28 PM
To: [EMAIL PROTECTED]
Subject: RE: Very Important: Deploy Servlets in the Cocoon Context


If you want to run the servlets in your cocoon webapp but not be
handled by cocoon just set them up in your web.xml and call them in
the usual way.   That is just a normal servlet container issue.  They
are just additional servlets to the cocoon servlet that way.  In the
system I've been developing on I use an MVC architecture where
servlets forward to JSPs which are processed by cocoon. 

If you want to process the servlets from cocoon the thread  you are
thinking of could have been Servlets to XSL and Servlet to XSL
possible.

 
...Peter

Chitharanjan Das writes:
  IIRC, There was an email thread depicting the issue of invoking
servlets
  in 
  Cocoon 2.0. I tried in the mailing lists and could not get my hands
on
  them.
  
  There are a lot of utilities which are developed in servlet framework
  out there. It would be a shame if we cannot use them inside Cocoon.
  
  .
  
  
  
  
  
  
  
  
  
  
  -Original Message-
  From: William Brogden [mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday, May 22, 2002 12:58 PM
  To: [EMAIL PROTECTED]
  Subject: RE: Very Important: Deploy Servlets in the Cocoon Context
  
   -Original Message-
   From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] 
   Sent: Wednesday, May 22, 2002 1:47 PM
   To: [EMAIL PROTECTED]
   Subject: RE: Very Important: Deploy Servlets in the Cocoon Context
   
   
   
   I am posting it again ..
   
   Is there a way to invoke a servlet in the same context of cocoon.
   
   i.e if the servlet were to be called from an XSP (say..) they
should
   share the same session...
   
   regds,
   Chiths
  
   Since Cocoon runs in the servlet container environment
  you theoretically could do a 
   RequestDispatcher.include( request, response )
  if you can get the ServletContext.
  
  WBB
  
  
  
  -
  Please check that your question has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faqs.html
  
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
  -
  Please check that your question has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faqs.html
  
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Command Reader

2002-05-22 Thread Evan Sho

I think you have to write your own Generator, have a
look at the source code of
org.apache.cocoon.generation.* (just a few classes).


--- Ewing, Bryce [EMAIL PROTECTED]
wrote:
 Hi all,
 
 Just wondering if there is a way of having a reader
 getting it's input from
 a system command rather than from a file.
 
 So I have:
map:match pattern=**.gif
 map:read mime-type=image/gif
 src=images/{1}.gif/
/map:match
 But would rather something like:
map:match pattern=**.gif
 map:read mime-type=image/gif src=createImage
 {1}/
/map:match
 
 Where create image is a script on the unix server I
 am running on.
 
 Cheers
 Bryce
 

-
 Please check that your question has not already been
 answered in the
 FAQ before posting.
 http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: how do I redirect in an Action?

2002-05-22 Thread Liam Morley

I've always used the redirect method of the Redirector class. I'm
assuming that redirect uses a local, relative path (for internal links)
and globalRedirect uses a global path (for external links), but I haven't
tested this and can't be sure. I also assume that sessionmode dictates
whether or not to pass the session cookie on (there is a similar attribute
in the sitemap redirect-to), but again I'm not sure and haven't tested.

there have been times where I have wanted to redirect to the referer from
an action, so that the action simply changes the state of something on the
website (for instance, a log-in). I suppose I could pass the referer's
address to the sitemap.. I'd be interested in hearing reasons of keeping
the redirect in the sitemap, other than the fact that any changes to java
code mean recompiling/restarting.. but changes to the sitemap also require
recompiling and restarting tomcat, which seem to take longer for me (as
the sitemap can no longer be loaded from cache).

Liam Morley


On Wed, 22 May 2002, Nicola Ken Barozzi wrote:

 From: Christopher Painter-Wakefield [EMAIL PROTECTED]

  What is the proper way to redirect in an Action?

 Why do you have to redirect in an action?
 I would not suggest it.

 Redirect instead in the sitemap based on the results of the Action.





-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Command Reader

2002-05-22 Thread Michael Homeijer

Hi,

You probably mean a Reader. A Generator generates a SAX stream and a Reader
produces a binary stream.
Have a look at org.apache.cocoon.reading.ResourceReader. 

HTH,
Michael

 -Original Message-
 From: Evan Sho [mailto:[EMAIL PROTECTED]]
 Sent: donderdag 23 mei 2002 5:30
 To: [EMAIL PROTECTED]
 Subject: Re: Command Reader
 
 
 I think you have to write your own Generator, have a
 look at the source code of
 org.apache.cocoon.generation.* (just a few classes).
 
 
 --- Ewing, Bryce [EMAIL PROTECTED]
 wrote:
  Hi all,
  
  Just wondering if there is a way of having a reader
  getting it's input from
  a system command rather than from a file.
  
  So I have:
 map:match pattern=**.gif
  map:read mime-type=image/gif
  src=images/{1}.gif/
 /map:match
  But would rather something like:
 map:match pattern=**.gif
  map:read mime-type=image/gif src=createImage
  {1}/
 /map:match
  
  Where create image is a script on the unix server I
  am running on.
  
  Cheers
  Bryce
  
 
 -
  Please check that your question has not already been
  answered in the
  FAQ before posting.
  http://xml.apache.org/cocoon/faqs.html
  
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
  
 
 
 __
 Do You Yahoo!?
 LAUNCH - Your Yahoo! Music Experience
 http://launch.yahoo.com
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]