Cocon as a XSP parser only

2004-01-05 Thread Frans Thamura, Intercitra
anyone know how to make cocoon only parse an xsp only, and the rest will become tomcat standard, so i can use struts, turbine, webwork inside my context can you help me? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: XSL template from database

2004-01-05 Thread Christian Haul
Jorg Heymans wrote: You could make a custom transformer that reads the stylesheet from the This is not necessary. One could use the cocoon: protocol when specifying the source for the stylesheet. Next, a pipeline for the stylesheet is needed that consists only of the database reader et voilà. And

Re: How to switch XML validation on?

2004-01-05 Thread Lionel Crine
I did the validation with a transformer and an action. Let me know which one you want and I'll help you. If I have the time to do it, i'll write an HOW TO on Cocoon Wiki. At 21:06 28/12/2003 +, you wrote: Stephan Coboos wrote: Hello, how can I switch on the xml validation in cocoon? I want

Using Cocoon 2.1.3 as an EAI Tool

2004-01-05 Thread Amitabha Mitra
Hi, I am trying to use Cocoon2.1.3 as an EAI Tool - what I want to achieve is: 1. Read XML File from a folder (XML data generated by third-party system) 2. Validate and Normalize the XML. 3. Transform the XML to our own Format, Validate the Data 4. Use this Transformed XML to Insert Data in

Re: Using Cocoon 2.1.3 as an EAI Tool

2004-01-05 Thread Nicolas Toper
I wouldn't recommend modular DB action: it might be too simple for what you need. Le Lundi 05 Janvier 2004 10:18, Amitabha Mitra a écrit : Hi, I am trying to use Cocoon2.1.3 as an EAI Tool - what I want to achieve is: 1. Read XML File from a folder (XML data generated by third-party system)

[CocoonForms] Long datatype validation problem

2004-01-05 Thread Olivier Billard
Hi cocooners ! First of all, I give you my best wishes for this new year. And then, a little question : I have a woody widget that I want to bind to a long value, and that must have a min of 1. But when I set a value out of the permitted validation range, I get the null value (empty tag).

RE: Sudden difference in interpretation of #160 - bug?

2004-01-05 Thread H . vanderLinden
Hi, thanks. I've read the article, in fact I read the entire thread, but either New Year's wine is still in my system (I don't drink :-)) or I've stumbled onto a configuration problem/bug in map:serialize type='xhtml'/ Point is this: whether I enter #160; or #xA0; directly in my XSL stylesheet

Cocoon Webmail block

2004-01-05 Thread Christofer Dutz
Hi, after having a look at the examples of the newest Cocoon version I stumbled over the webmail block. First I edited the sitmep.xmap and was a little frustrated about the empty page I got after login. After ading the mail.jar and activation.jar I got a little further. Unfortunately login

content aggregation + links to used files

2004-01-05 Thread vg
Hi all! I want to create an xml document by extracting defined elements from files conforming to a known format. When assembling the document I need to keep in mind which element originates from which file to be able to link the element with the corresponding file after transformation into HTML.

Re: content aggregation + links to used files

2004-01-05 Thread Nicolas Toper
If the orginal docs aren't XML you should have a look at Chaperon Le Lundi 05 Janvier 2004 11:11, [EMAIL PROTECTED] a écrit : Hi all! I want to create an xml document by extracting defined elements from files conforming to a known format. When assembling the document I need to keep in mind

Re: [mod-db] Pb with input module

2004-01-05 Thread Jean Farenc wanadoo recevoir
Hi Chris: First I wish you an Happy New Year. I work on the same project of Laurent Trillaud. Thanks for your response for Modular Database Action it helps mea lot. But the syntax you gave seems not the good value name="" type="string" module name="request" type="all"

Re: Cocoon + postgreSQL

2004-01-05 Thread Tommy Smith
Thank you and Luca for your replies. I'm getting closer to what I want now. My problem now is processing the resultset from my stored procedure. Here is what is output from SQLPlus when I execute it. FIRST_NAME - tests Jeff Simon And here is my XSP listing,

Re: Sudden difference in interpretation of #160 - bug?

2004-01-05 Thread Marc Portier
[EMAIL PROTECTED] wrote: Hi, thanks. I've read the article, in fact I read the entire thread, but either New Year's wine is still in my system (I don't drink :-)) or I've stumbled onto a configuration problem/bug in map:serialize type='xhtml'/ Point is this: whether I enter #160; or #xA0;

Re: XSL template from database

2004-01-05 Thread Geoff Howard
Christian Haul wrote: Jorg Heymans wrote: You could make a custom transformer that reads the stylesheet from the This is not necessary. One could use the cocoon: protocol when specifying the source for the stylesheet. Next, a pipeline for the stylesheet is needed that consists only of the

Re: content aggregation + links to used files

2004-01-05 Thread vg
Hello Nicolas! Hi everybody! Nicolas wrote: If the orginal docs aren't XML you should have a look at Chaperon The original documents are also XML documents. My problem is linking an element with the file it originates from. Is it possible to store the information the directory generator

RE: content aggregation + links to used files

2004-01-05 Thread Koen Pellegrims
Nele, I think your original approach is correct, but we need to determine why path is not returing a value. Just to get things straight: the snippet you mentioned *does* match file (and outputs following file was added:), but just the ./@path is not resolved; correct? xsl:template match=file

RE: [mod-db] Pb with input module

2004-01-05 Thread Laurent Trillaud
Jean tu cherches quoi exactement? Car pour la date, cela devrait être mode name=date type=all parameterdate/parameter /mode pour ladresse IP mode name=request type=all parameterremoteAddr/parameter /mode pour lURI mode name=request type=all parameterRequestURI/parameter

RE: [mod-db] Pb with input module

2004-01-05 Thread Laurent Trillaud
Ooops, sorry for the french language, this mail wasn’t design to the cocoon list. I made a wrong reply. Laurent De : Laurent Trillaud [mailto:[EMAIL PROTECTED] Envoyé : lundi 5 janvier 2004 13:47 À : [EMAIL PROTECTED] Objet : RE: [mod-db] Pb with input

Re: content aggregation + links to used files

2004-01-05 Thread Nicolas Toper
it depends on which information you need exactly: the name of the file: put it as a parameter into the URL and pass it to the XSL Le Lundi 05 Janvier 2004 13:36, [EMAIL PROTECTED] a écrit : Hello Nicolas! Hi everybody! Nicolas wrote: If the orginal docs aren't XML you should have a look at

Encrypted PDF documents?

2004-01-05 Thread David Vaartjes
Hello list, Is it possible to convert an XSL-FO file to an encrypted PDF file using the standard 40-bit or 128-bit supported by Acrobat Reader 5.0? If not, are there any other technics to accomplish this? Thanks in advance, --

Re: Cocoon + postgreSQL

2004-01-05 Thread Christian Haul
Tommy Smith wrote: Thank you and Luca for your replies. I'm getting closer to what I want now. My problem now is processing the resultset from my stored procedure. esql:call snip/ esql:call-results esql:row-results esql:get-columns/ This works *only* if the driver will return a

RE: content aggregation + links to used files

2004-01-05 Thread Nele Vogel
Hello Koen! Koen wrote: I think your original approach is correct, but we need to determine why path is not returing a value. Just to get things straight: the snippet you mentioned *does* match file (and outputs following file was added:), but just the ./@path is not resolved; correct?

Re: [mod-db] Pb with input module

2004-01-05 Thread Jean Farenc wanadoo recevoir
Bonjour Laurent: Je cherche quoi exactement: A faire fonctionner ces statistiques. 1) Concernant la date pas de problèmes. 2) Concernant le addr et URI pas de problèmes mais il faut quand même passer de module a mode et ce n'est pas complètement évident. 3) Pour le role et le login

RE: Sudden difference in interpretation of #160 - bug?

2004-01-05 Thread H . vanderLinden
Right, so far I came up with this: in the resulting source using 'serialize html' the NO-BREAK-SPACE shows up as nbsp; (i.e. the string, not the character), using 'serialize xhtml' it shows up as Acirc (the character) followed by nbsp; (the string). Originally my XSL file added a metatag

Re: content aggregation + links to used files

2004-01-05 Thread Nele Vogel
Hello Nicolas! Nicolas wrote: it depends on which information you need exactly: the name of the file: put it as a parameter into the URL and pass it to the XSL I need the path (relative or absolute) to the processed file. I am able to extract the relative path inside the first XSL transform

Jetty and XSLT with document()

2004-01-05 Thread Jan Hoskens
Hi, I'm using a stylesheet with a variable that contains a nodeset variable: xsl:variable name="Lookup" select="document('../resources/Lookup.xml')/Lookup"/ The path in the document() function is relative and does work under Tomcat. If I switch tojetty, an exception occurs when I want to

Re: content aggregation + links to used files

2004-01-05 Thread Nicolas Toper
Hi, If I understand everything: you want a big XML files like that: root news file path=news/news1.xml article [...] /article /file /news news file path=news/news1.xml article [...] /article /file /news /root And your problem is the XML file

RE: Jetty and XSLT with document()

2004-01-05 Thread Carmona Perez, David
As a workaround to the problem, why dont try to use another protocol like: context:/myPath/myFile.xml or cocoon:/url ? David -Mensaje original- De: Jan Hoskens [mailto:[EMAIL PROTECTED] Enviado el: lunes, 05 de enero de 2004 14:53 Para: [EMAIL PROTECTED] Asunto:

Re: content aggregation + links to used files

2004-01-05 Thread Simon Mieth
On Mon, 5 Jan 2004 14:41:09 +0100 (CET) Nele Vogel [EMAIL PROTECTED] wrote: Hello Koen! Koen wrote: I think your original approach is correct, but we need to determine whypath is not returing a value. Just to get things straight: the snippet you mentioned *does* match file(and

Re: Cocoon + postgreSQL

2004-01-05 Thread Tommy Smith
Working now. Thanks to everyone for their help. From: Christian Haul [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Cocoon + postgreSQL Date: Mon, 05 Jan 2004 14:25:38 +0100 Tommy Smith wrote: Thank you and Luca for your replies. I'm getting closer to what I

Re: Jetty and XSLT with document()

2004-01-05 Thread Jan Hoskens
Hi, You mean to use that in the sitemap? The document() is in the stylesheet so the cocoon protocols do not apply there (or do they???). If I try to resolve the path in the sitemap, there has to be a matching pipeline and the result will be a xml fragment. I tried to pass a documentpiece as

Re: Jetty and XSLT with document()

2004-01-05 Thread Marc Portier
Jan Hoskens wrote: Hi, You mean to use that in the sitemap? The document() is in the stylesheet so the cocoon protocols do not apply there (or do they???). surprise surprise: they do. If I try to resolve the path in the sitemap, there has to be a matching pipeline and the result will be a

books on cocoon

2004-01-05 Thread MORABET RIAD (BADR)
if there is books concerning cocoon and giving examples on how to use it to do transformations from xml to html,jsp. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: content aggregation + links to used files

2004-01-05 Thread Nele Vogel
Koen, I rechecked my code: It definately is a namespace problem. Koen wrote: There are two likely causes: - a missing template-apply or faulty 'select' clause, so that 'file' never gets processed (or something like that) - maybe a namespace problem (are you sure 'file' is in the default

Re: Encrypted PDF documents?

2004-01-05 Thread J.Pietschmann
David Vaartjes wrote: Is it possible to convert an XSL-FO file to an encrypted PDF file using the standard 40-bit or 128-bit supported by Acrobat Reader 5.0? Yes, see http://xml.apache.org/fop/pdfencryption.html on how to hack the PDF serializer (you can't pass renderer parameters throught the

Re: books on cocoon

2004-01-05 Thread Brian McCallister
FWIW, I don't know of any Cocoon books that reflect current recommended Cocoon practices. At ApacheCon I had the big purple Sams book recommended, but I happen to have it, and wish I didn't as it is basically how-to-do-things-in-xsp-that-shouldn-'t-be-done-in-xsp =) I have found that, by far,

Re: content aggregation + links to used files

2004-01-05 Thread Nele Vogel
Hello Nicolas! Nicolas wrote: If I understand everything: you want a big XML files like that: root news file path=news/news1.xml article [...] /article /file /news news file path=news/news1.xml article [...] /article /file /news

Re: content aggregation + links to used files

2004-01-05 Thread Nicolas Toper
In that case use that in another transformer: it'll remove all NS from the XML ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:output method=xml version=1.0 encoding=UTF-8 indent=yes/ xsl:template match=* !-- remove

Re: books on cocoon

2004-01-05 Thread John L. Webber
I think the problem is, Cocoon is moving ahead so rapidly, any book is out of date as soon as it is published. I agree about the Cocoon Developer's Handbook; it wasn't a bad introduction, but most of the advice is outdated. I just started plowing through Michael Kay's XSLT 2nd Edition; it's

Re: books on cocoon

2004-01-05 Thread Olivier Billard
Hi, I think you'll find all you're looking for in the samples of the webapp. But if you don't find what your looking for, the Cocoon Developer's Handbook is pretty good but does not contains all cool new features of cocoon

Re: content aggregation + links to used files

2004-01-05 Thread Nele Vogel
Hello Simon! Simon wrote are you sure there is no namespace on your root/news-element? Is so, the stylesheet will not match your elements. You can see this in the page-source of your browser. Ok, there really is no namespace on my root-element. This is a problem, right? Koen also pointed out,

xsl logic

2004-01-05 Thread beyaRecords - The home Urban music
ok folks, here's a simple one for you all. I have a login page which passes 2 parameters to an xsl page, which are in turn passed onto a stored procedure. What I want to do is this: 1. if a recordset is not returned { redirect user back to login page } 2. query a stored procedure and

Re: Jetty and XSLT with document()

2004-01-05 Thread Jan Hoskens
You're right, I can get the document through cocoon:/ (thankz to clear that up, Marc;-), but when I use Jetty instead of Tomcat I still get an error FATAL_E (2004-01-05) 16:20.52:224 [core.xslt-processor] (/cocoontest/index.html) PoolThread-4/TraxErrorHandler: Error in TraxTransformer:

Re: Encrypted PDF documents?

2004-01-05 Thread Andrzej Jan Taramina
David: Is it possible to convert an XSL-FO file to an encrypted PDF file using the standard 40-bit or 128-bit supported by Acrobat Reader 5.0? If not, are there any other technics to accomplish this? If you are using XEP to do the rendering, it will let you encrypt the pdf output.

RE: xsl logic

2004-01-05 Thread Chris Morgan
Uzo, I suggest using actions and pipelines for this. Theoretically, any flow-related logic should be handled by the pipeline. Chris -Original Message- From: beyaRecords - The home Urban music [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 10:34 AM To: [EMAIL PROTECTED]

Re: content aggregation + links to used files

2004-01-05 Thread Nele Vogel
Hi Nicolas! I used your suggestion and removed all namespaces from the XML stream: The XSL transform actually outputs the correct values. Can you please explain to me, why this approach works? Thank you very much for your help! Nele Nicolas wrote: In that case use that in another transformer:

Sendmail attachment : cocoon:/// - why 3 /s ?

2004-01-05 Thread [EMAIL PROTECTED]
Hi , Been trying to get sendmail attachments work with cocoon:// protocol and just cannot get attachments served by subsitemaps to work - only main sitemaps pipeline seem to work ... and that with cocoon:/// - three slashes Has anyone got attachments working thru subsitemaps and if yes

Re: content aggregation + links to used files

2004-01-05 Thread Nicolas Toper
it's because as soon as you use a ns in your xml document, the xsl spec says that an unnommed xml tag refers to the default ns. So basically: root xmlns:ns=ns xmlns:ns2 ns2:one two /... two has actually ns as ns bc it is the default ns for this subsection of this xml doc Le Lundi 05

Re: content aggregation + links to used files follow up

2004-01-05 Thread Nicolas Toper
sorry for this 2 mails post So by slashing away all the NS you just make it work. Besides, I consider this as a good practices, b/c ns creates complexity not always needed but it is better to introduce them in project with long lifecycles b/c one day or another you'll need them For instance,

Re: JDOUserException: Object not PersistenceCapable

2004-01-05 Thread Eric Rich
Sure enough.. had a stale JDO in the classpath. Thanks! I'm getting a java.lang.NoClassDefFoundError: com/sun/jdori/model/jdo/JDOModelException error now. I think this is from cleaning up my classpath (no more castor). Downloading JTA to rebuild JDORI. Seems like the binary release is

[Help]sub-sitemaps throwing NullPointerException after edit of main sitemap!

2004-01-05 Thread Iain McNally
Hi, I've been using coocon for some time now and everything usually work out ok but I'm having a major issue at the moment with sub-sitemaps. I have a number of subsitemaps configured in the main sitemap, and EVERYRTHING works perfectly up until I edit and save the main sitemap.Once I request the

[Help]sub-sitemaps throwing NullPointerException after edit of main sitemap!

2004-01-05 Thread Iain McNally
Hi, I've been using coocon for some time now and everything usually work out ok but I'm having a major issue at the moment with sub-sitemaps. I have a number of subsitemaps configured in the main sitemap, and EVERYRTHING works perfectly up until I edit and save the main sitemap.Once I

Re: [Help]sub-sitemaps throwing NullPointerException after edit of main sitemap!

2004-01-05 Thread Nicolas Toper
Well, what if you reverse to the old sitemap? What did you do to the main sitemap? Le Lundi 05 Janvier 2004 18:31, Iain McNally a écrit : Hi, I've been using coocon for some time now and everything usually work out ok but I'm having a major issue at the moment with sub-sitemaps. I have

Re: [Help]sub-sitemaps throwing NullPointerException after edit of main sitemap!

2004-01-05 Thread Iain McNally
What did you do to the main sitemap? I just open it and then save it.No actual changes to the sitemap. Just the process of opening the file and saving it causes this to happen. To fix it I usually have to touch the sub-sitemap in question, which is not really an option in the day to day use of the

Re: Need Help with SessionAttributeSelector in Sitemap

2004-01-05 Thread Joerg Heinicke
On 05.01.2004 00:14, Jürgen Haas wrote: Hi Jörg, The @type does not match the selector declaration above. Use type=session-attribute Hmm, what's the difference? :) We cleared that misunderstanding recently. There is no difference *g* But still the SAS won't work. Any ideas? Are you using it?

Re: [Help]sub-sitemaps throwing NullPointerException after edit of main sitemap!

2004-01-05 Thread Nicolas Toper
It's weird b/c the exception is in the XSLT process and if I remember right Cocoon doesn't use it for the sitemap... Have you looked at the size in bits of the old and new files? It looks like be an encoding problem. Which editor are you using to open it? Le Lundi 05 Janvier 2004 18:38, Iain

Re: [Help]sub-sitemaps throwing NullPointerException after edit of main sitemap!

2004-01-05 Thread Iain McNally
I'm using vi to open and save the file. I don't think it's anything to do with the actual change to the sitemap itself, it's some configuration to do with sitemap reloading perhaps? There are xsl transforms in the sub sitemaps.Couldthey be somehow be getting Lost? Thanks for the help, very

portal frameworks vs. struts

2004-01-05 Thread Naresh Agarwal
Hi I'm new to the world of portals/web apps. What is a portal framework? What is the difference between a portal framework like jetspeed/cocoon and struts? I'm looking for a tool/framework, which can help in development of a category of websites, which has basic features as follows: 1)

[cocoon forms] Javascript error

2004-01-05 Thread Alex Romayev
Hi, I'm getting a Javascript error when I submit my form. The functionality works fine, except for this error briefly comes up while the browser is openning the next page. Any idea why it's happening? Here is the error: Line: 44 Char: 1 Error: Object expected Code: 0 Javascrip file:

Re: [Help]sub-sitemaps throwing NullPointerException after edit of main sitemap!

2004-01-05 Thread Geoff Howard
Iain McNally wrote: Hi, I've been using coocon for some time now and everything usually work out ok but I'm having a major issue at the moment with sub-sitemaps. I have a number of subsitemaps configured in the main sitemap, and EVERYRTHING works perfectly up until I edit and save the main

cocoon forms/authentication-fw integration

2004-01-05 Thread Alex Romayev
Hi, Has anyone implemented and has an example of integrating woody and authentication-fw? I'd like to create a woody-driven login form, which logs the user to the authenticatin fw via the flowscript. Cheers, -Alex = Alex Romayev Software Architect http://www.romayev.com [EMAIL PROTECTED]

Proxy generator or file generator to retreive web pages?

2004-01-05 Thread Davide
Hi!... i have a pipeline where i retreive a web page dinamically, and then i'll need to edit it: map:match pattern=body map:act type=auth-protect map:parameter name=handler value=navigation/

Re: Link Livesites

2004-01-05 Thread Joerg Heinicke
All livesites pages should now be uptodate again. Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Actions and map pipelines

2004-01-05 Thread beyaRecords - The home Urban music
hi, i have looked through many documents now about actions and have found nothing helpful. Could anyone show me how to reconstruct the following into an action/map-xspaction document: xsp:logic // handle the previous page's values. String name = xsp-request:get-parameter name=name/;

Saxon config for Cocoon-2.1?

2004-01-05 Thread Tim Larson
Anybody care to offer their working Saxon configuration for Cocoon-2.1? --Tim Larson __ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 - To

RE: [cocoon forms] Javascript error

2004-01-05 Thread H . vanderLinden
Hi, Just a wild guess but could it be that it's trying to access the CalendarPopup.js file and cannot find it? I came across this error when a page was loaded which had passed through the woody-sample-styling.xsl file and it couldn't find the Calendarpopup.js where it was expected. Other error I

Inserting XML

2004-01-05 Thread O . Vobejda
Hi, I'd like to ask, how to insert XML-valid fragment into generated XML document by XSP. I have stored XML fragment (or XHTML or whatever) in the database and I'd like to put it into any element in the serverpages. I tried elementesql:get-string column=xml_part//element or use ESQL helper or

Re: Inserting XML

2004-01-05 Thread Alex Romayev
Otmar, Take a look at CInclude and XInclude transformers. -Alex --- [EMAIL PROTECTED] wrote: Hi, I'd like to ask, how to insert XML-valid fragment into generated XML document by XSP. I have stored XML fragment (or XHTML or whatever) in the database and I'd like to put it into any element

RE: content aggregation + links to used files

2004-01-05 Thread Lars Huttar
it's because as soon as you use a ns in your xml document, the xsl spec says Actually it is the XML Namespaces spec that describes this behavior (http://www.w3.org/TR/1999/REC-xml-names-19990114/). that an unnommed xml tag refers to the default ns. So basically: root xmlns:ns=ns xmlns:ns2

bug: logicsheet not invoked unless namespace declaration is on the document element?

2004-01-05 Thread Lars Huttar
Dear Cocooners, Running Cocoon 2.1.2, we have the following XSP page: ?xml version=1.0 encoding=UTF-8? xsp:page language=java xmlns:xsp=http://apache.org/xsp; select-page entityEthnologue Country/entity list role=instances sil:query connection=ethnolog row-element=link

RE: [cocoon forms] Javascript error

2004-01-05 Thread H . vanderLinden
Hi, The error states a line number. Can you look at the source and figure out what this line number could be? That's how I got to my CalendarPopup error eventually. Just a wild guess. Another option is switching on the flow debugger (look in the Wiki what you should do). You can then step through

Cocoon doc erratum

2004-01-05 Thread Lars Huttar
Hi all, Where is the place to submit errata for the Cocoon docs? The doc page distributed with Cocoon 2.1.2, at docs/userdocs/components/generators/error-generator.html contains the code: ?xml version=1.0 xmlns:error=http://apache.org/cocoon/error/2.0 encoding=UTF-8? error:notify

RE: [cocoon forms] Javascript error

2004-01-05 Thread Alex Romayev
Hi Helma, Thanks very much for your help. The flow debugger is really cool! It looks like I'm not getting woody included files (I'm applying woody-samples-styling.xsl before I have my HEAD tag produced), so woody_onsubmit() actually does not exist. Are you using the provided woody

Re: Cocoon doc erratum

2004-01-05 Thread Jorg Heymans
nagoya.apache.org has the cocoon bugzilla archive. Probably best if you file it there so it's on the developers todo list. (not that this is a big todo but hey ;) Lars Huttar wrote: Hi all, Where is the place to submit errata for the Cocoon docs? The doc page distributed with Cocoon 2.1.2,

RE: [cocoon forms] Javascript error

2004-01-05 Thread H . vanderLinden
Hi Alex, Are you using the provided woody stylesheets right from the cocoon directory or do you copy them into your own application? I copied them to my own application and modified them slightly. Most modifications are display related, but I added an extra test to skip the entire addition of

Using jxtemplates with actions

2004-01-05 Thread Steve Krulewitz
Just wanted to drop a note if anyone was interested in passing business objects to the JXTemplate generator using an action rather than flow. To put objects into the flow context, use the flowing code in your action: Map bean = new HashMap(); bean.put(foo, fooObject);

Re: how to put {1}, {2}... into XSP

2004-01-05 Thread Joerg Heinicke
On 29.12.2003 02:25, [EMAIL PROTECTED] wrote: Hi, I have a this problem. I'd like to put parsed pieces of URI into serverpages as parameters. For example: I have URI html/english/article/102 (it means, that I want to get article with ID=102 in english language and in HTML format). Sitemap

Re: how to throw (not propagate) an error?

2004-01-05 Thread Joerg Heinicke
The XSP code is transformed into a method generate() which throws the ProcessingException. So you don't have to care about it. Joerg On 30.12.2003 22:58, Lars Huttar wrote: Never mind, I think I got it... it was actually very easy once I realized that throwing an exception from Java code in an

Re: Sudden difference in interpretation of #160 - bug?

2004-01-05 Thread Joerg Heinicke
On 05.01.2004 14:42, [EMAIL PROTECTED] wrote: Right, so far I came up with this: in the resulting source using 'serialize html' the NO-BREAK-SPACE shows up as nbsp; (i.e. the string, not the character), using 'serialize xhtml' it shows up as Acirc (the character) followed by nbsp; (the string).

Re: Encrypted PDF documents?

2004-01-05 Thread Joerg Heinicke
On 05.01.2004 15:53, J.Pietschmann wrote: Is it possible to convert an XSL-FO file to an encrypted PDF file using the standard 40-bit or 128-bit supported by Acrobat Reader 5.0? Yes, see http://xml.apache.org/fop/pdfencryption.html on how to hack the PDF serializer (you can't pass renderer

Re: Jetty and XSLT with document()

2004-01-05 Thread Joerg Heinicke
Really strange, I often switch between Tomcat and Jetty when working with Cocoon, but I don't often use document(). But IMO it's not a problem of the servlet container (as I don't know how it should be related), but more a problem with endorsed libs. Are you using Jetty delivered with Cocoon

Re: Sendmail attachment : cocoon:/// - why 3 /s ?

2004-01-05 Thread Joerg Heinicke
In theory it should be 1 and 2 slashes. 1 for relative to current sitemap, 2 for root sitemap. 3 is really strange. But if really only 3 slashes and root sitemap are working you can navigate back to the subsitemap, which is of course less than suboptimal ... Joerg On 05.01.2004 17:09, [EMAIL

Re: portal frameworks vs. struts

2004-01-05 Thread Joerg Heinicke
I would not call Cocoon a portal framework, it's indeed an XML framework and so much more widespreaded. But Cocoon 2.1 offers as an additional block the portal framework. What's a portal? Hmm, I'm not an expert, but I would say it is one common user interface for different sources of

Problems compiling action

2004-01-05 Thread beyaRecords - The home Urban music
Hi, i have built an a test action class and am having problems compiling it. the build script i am using is as follows: 1.build-Action.sh, which sits in : /library/tomcat/webapps/cocoon/web-inf/classes - Is this the right place to put it ??? export

Re: Proxy generator or file generator to retreive web pages?

2004-01-05 Thread Joerg Heinicke
I guess you have to look into the Java sources to see the differences, maybe JavaDoc already helps too. IIRC wsproxy offers POSTs, file generator does not. So for getting a simple webpage file generator (or html generator if the web site is in HTML) is enough, for more complex things you will

Re: Saxon config for Cocoon-2.1?

2004-01-05 Thread Joerg Heinicke
On 05.01.2004 21:06, Tim Larson wrote: Anybody care to offer their working Saxon configuration for Cocoon-2.1? --Tim Larson Wasn't Upayavira successful with getting Saxon to work? Joerg - To unsubscribe, e-mail: [EMAIL

Re: bug: logicsheet not invoked unless namespace declaration is on the document element?

2004-01-05 Thread Joerg Heinicke
On 05.01.2004 21:59, Lars Huttar wrote: If I'm not mistaken, the above change shouldn't make any difference to a namespace-aware XML application; no element is in a different namespace than it was before. Nevertheless this seems to be making a crucial difference to the logicsheet processor. Yes,

Re: Cocoon doc erratum

2004-01-05 Thread Joerg Heinicke
On 06.01.2004 00:08, Jorg Heymans wrote: nagoya.apache.org has the cocoon bugzilla archive. Probably best if you file it there so it's on the developers todo list. (not that this is a big todo but hey ;) In general, yes, Bugzilla is the way to go. But this one was so easy that I fixed it

Re: Problems compiling action

2004-01-05 Thread Joerg Heinicke
On 06.01.2004 03:08, beyaRecords - The home Urban music wrote: 4. The error message I am getting is : tcsh: ./build-action.sh: Permission denied. what am I doing wrong here? Isn't this obvious? On any file or directory that is touched you have not the permission to touch it, maybe

Re: Problems compiling action

2004-01-05 Thread beyaRecords - The home Urban music
Jeorg, thanks for your quick reply, unfortunately I have only just started using unix so in reply to your comment 'Isn't this obvious', no it isn't ;-) regards Uzo On 6 Jan 2004, at 02:23, Joerg Heinicke wrote: On 06.01.2004 03:08, beyaRecords - The home Urban music wrote: 4. The error

Re: Problems compiling action

2004-01-05 Thread beyaRecords - The home Urban music
Jeorg, 'maybe build-action.sh itself' - how do i go about doing this? regards Uzo On 6 Jan 2004, at 02:23, Joerg Heinicke wrote: maybe build-action.sh itself - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Problems compiling action

2004-01-05 Thread Joerg Heinicke
On 06.01.2004 03:48, beyaRecords - The home Urban music wrote: Jeorg, 'maybe build-action.sh itself' - how do i go about doing this? The compile process itself wasn't started. If it isn't the script (try to echo something at the beginning of it), try to execute the commands in the script step

Re: Problems compiling action

2004-01-05 Thread Steve Schwarz
4. The error message I am getting is : tcsh: ./build-action.sh: Permission denied. what am I doing wrong here? Isn't this obvious? On any file or directory that is touched you have not the permission to touch it, maybe build-action.sh itself. It's not a problem with compilation or Cocoon,

Re: Sendmail attachment : cocoon:/// - why 3 /s ?

2004-01-05 Thread [EMAIL PROTECTED]
That is the problem. Cannot navigate to a subsitemap from root : Using this : sendmail:attachment url=cocoon://samples/test mime-type=text/html name=welcome.html/ the error is : SAXException: org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: samples/test -- this seems

Re: [Help]sub-sitemaps throwing NullPointerException after edit of main sitemap!

2004-01-05 Thread Antonio Gallardo
Iain McNally dijo: I'm using vi to open and save the file. I don't think it's anything to do with the actual change to the sitemap itself, it's some configuration to do with sitemap reloading perhaps? There are xsl transforms in the sub sitemaps.Couldthey be somehow be getting Lost?

RE: Sudden difference in interpretation of #160 - bug?

2004-01-05 Thread Antonio Gallardo
Hi: I think your problem is related to file encoding. Please note it is not enough to change a tag in the beginning of a XML file to tell your text editor that your are changing the file encoding of your file. I had similar problems before. I would recommend you to check the encoding used by

Re: JDOUserException: Object not PersistenceCapable

2004-01-05 Thread Antonio Gallardo
Eric Rich dijo: Sure enough.. had a stale JDO in the classpath. Thanks! I'm getting a java.lang.NoClassDefFoundError: com/sun/jdori/model/jdo/JDOModelException error now. I think this is from cleaning up my classpath (no more castor). Downloading JTA to rebuild JDORI. Seems like the