Use the XML:DB pseudo protocol instead - What does this mean?

2005-08-03 Thread Philipp Bolle
Hi community, I like to build an application with the XML:DB api. For that I will use the xmldb block. In the classes XMLDBCollectionGenerator and XMLDBGenerator I found the following comment Use the XML:DB pseudo protocol instead. Does this mean that it is recommended to use XMLDBTransformer?

RE: error-handling on a cincluded pipeline only

2005-08-03 Thread Janet Yvan
When you use cocoon protocol, cocoon gets the whole elements together and at the end of the pipeline, it applies everything, so the error handling is performed by the top element, the one you called by http://... This way, when inside a pipeline you call your data with http protocol, you just

AW: Job Offer

2005-08-03 Thread André Häusling
Dear Sir, this job offer is for people all over the world. It is only important for us that the candidate have a good knowledge in English and German (written and spoken). With best regards André Häusling Business Partner Human Relations Com.Win ein Produkt der WEB.DE AG

Re: Use the XML:DB pseudo protocol instead - What does this mean?

2005-08-03 Thread Jonas Lundberg
Hi, that is the easy part! For instance, with eXist, you could use: xi:include href=xmldb:exist:///db/discuss/cars.xml parse=xml The xmldb:exist part is the pseudoprotocol. exist should be replaced with the database you use. /H On 8/3/05, Philipp Bolle [EMAIL PROTECTED] wrote: Hi community,

Re: flowscript action just like xsp-action

2005-08-03 Thread Leszek Gawron
Christoph Hermann wrote: Hello, is there something like an flowscript action? i.e. just like the xsp-action? no there is not. the ability to call a flowscript function that does not sendPage has been blocked long time ago. -- Leszek Gawron [EMAIL

Re: expected behaviour: global vars in flowscript

2005-08-03 Thread Leszek Gawron
Seon Lee wrote: Hey gang, I'd like your input on some anomalous behaviour I am experiencing in my 2.1.7 flowscript. I have a function defined in javascript that expects a global var to be available at the point in time it is invoked. However, this is not the case -- the function is unable to

Re: AW: Job Offer

2005-08-03 Thread Johannes Becker
Hi André, this offer sounds very interesting. Where is this job located? In Karlsruhe? Cheers Jonny André Häusling wrote: Dear Sir, this job offer is for people all over the world. It is only important for us that the candidate have a good knowledge in English and German (written and

[Survey] Tools for the Cocoon Portal

2005-08-03 Thread Jens Maukisch
Hi, I'm currently writing the diploma thesis for my economics and computer science studies about the analysis, design and development of tools for the Cocoon Portal. It has a focus on tools for the user, administrator and developer of the portal. As you might know we've developed and

Re: [Portal-tools] i18n problem with tool plugins

2005-08-03 Thread Jens Maukisch
Hi, In the mean time, I just wondering if there is support for i18n of portal tab title and coplet titles planned? Well, the Portal has no i18n-support by itself, but I'm not sure what is the best way to implement it. Maybe someone has a nice idea how to do this? But the feature is

Re: Simple question

2005-08-03 Thread Ron Wheeler
In main the main samples sitemap you have this fragment map:match pattern=status.html map:generate src=status type=status/ map:transform src=context://stylesheets/system/status2html.xslt map:parameter name=contextPath value={request:contextPath}/ /map:transform map:serialize/

coocon with jsp : SAXParseException: Premature end of file

2005-08-03 Thread galpix
Hi Everyone, I'm running cocoon-2.1.7 with Tomcat-5.5.9 on MacOSX 10.4.2. No matter what I do, I can't have JSP files as source docs. I always get : Message: Premature end of file. Description: org.apache.cocoon.ProcessingException: SAXException while parsing JSPEngine output:

Re: expected behaviour: global vars in flowscript

2005-08-03 Thread Berin Loritsch
Leszek Gawron wrote: If you are trying to apply MVC here you're failing. You should not be calling pages/displayHome.xsp but some displayHome flowscript function. The flowscript function prepares the bean and does cocoon.sendPage( pages/displayHome ) which is matched to:

RequestURI in aggregation page

2005-08-03 Thread J.D. Williams
I should know how to do this, but if someone could point me in the right direction, I would appreciate it very much. I want to aggregate several pipelines using cinclude. I would like to change one of those pipelines based on user request. For example: map:match pattern=* map:generate

Re: RequestURI in aggregation page

2005-08-03 Thread Leszek Gawron
J.D. Williams wrote: I should know how to do this, but if someone could point me in the right direction, I would appreciate it very much. I want to aggregate several pipelines using cinclude. I would like to change one of those pipelines based on user request. For example: map:match

Re: expected behaviour: global vars in flowscript

2005-08-03 Thread Leszek Gawron
Berin Loritsch wrote: Leszek Gawron wrote: If you are trying to apply MVC here you're failing. You should not be calling pages/displayHome.xsp but some displayHome flowscript function. The flowscript function prepares the bean and does cocoon.sendPage( pages/displayHome ) which is matched

Re: expected behaviour: global vars in flowscript

2005-08-03 Thread Leszek Gawron
Leszek Gawron wrote: Berin Loritsch wrote: Leszek Gawron wrote: If you are trying to apply MVC here you're failing. You should not be calling pages/displayHome.xsp but some displayHome flowscript function. The flowscript function prepares the bean and does cocoon.sendPage(

script, XHTML serializer and IE

2005-08-03 Thread Gerald Aichholzer
Hi, I have just discovered the problem pictured in http://marc.theaimsgroup.com/?l=xml-cocoon-devm=112297570819684w=2 Adding to this is an issue with IE and the script tag. I did not search the mail archive nor bugzilla, so maybe it is already addressed for the next release. The xhtml

Re: XSLT transformation

2005-08-03 Thread Jörn Heid
Just remember that XML Spy does not use the same XSLT transformer as Cocoon. I think there is an error in your stylesheet. Try to comment out some parts of it to find the lines which causes the error. JOERN Antony Grinyer schrieb: Hi, A have a simple sitemap entry as below: map:match

Re: RequestURI in aggregation page

2005-08-03 Thread jdwilliams
Thanks for your prompt reply. Unfortunately, while what you suggest does work, it does not answer the question I asked, which is: How to pass the resource path of the request into an XML file, similarly to passing a session variable. Thanks. Joe ==

RE: XSLT transformation

2005-08-03 Thread Antony Grinyer
Thanks for the idea Mark - I tried this and it just displays the XML? Seems it's stopping at the map:serialize type=xml/ and not moving onto map:transform type=xslt src=style/xsl/containerslist.xsl/? Thanks, Ant -Original Message- From: Marc Salvetti [mailto:[EMAIL PROTECTED]

RE: XSLT transformation

2005-08-03 Thread Antony Grinyer
Thanks Jorn - I tried commenting out almost everything in the stylesheet and I still get the error...back to the drawing board. Thanks, Ant -Original Message- From: Jörn Heid [mailto:[EMAIL PROTECTED] Sent: 03 August 2005 05:56 pm To: users@cocoon.apache.org Subject: Re: XSLT

Re: XSLT transformation

2005-08-03 Thread Mark Lundquist
On Aug 3, 2005, at 12:04 PM, Antony Grinyer wrote: Thanks for the idea Mark - I tried this and it just displays the XML? Seems it's stopping at the map:serialize type=xml/ and not moving onto map:transform type=xslt src=style/xsl/containerslist.xsl/? It looks like Marc had a copy/paste

CForms - adding style to labels

2005-08-03 Thread footh
Hello, I'm trying to add a class attribute to the label tag that gets generated from the forms-samples-styling.xsl stylesheet. However, I can't seem to figure out how to do it. In all the associated xsl files, I can only find the text label in one location on forms-field-styling.xsl in this

Re: RequestURI in aggregation page

2005-08-03 Thread Leszek Gawron
[EMAIL PROTECTED] wrote: Thanks for your prompt reply. Unfortunately, while what you suggest does work, it does not answer the question I asked, which is: How to pass the resource path of the request into an XML file, similarly to passing a session variable. ok. I thought you just wanted

Re: CForms - adding style to labels

2005-08-03 Thread Leszek Gawron
footh wrote: Hello, I'm trying to add a class attribute to the label tag that gets generated from the forms-samples-styling.xsl stylesheet. However, I can't seem to figure out how to do it. In all the associated xsl files, I can only find the text label in one location on

Re: RequestURI in aggregation page

2005-08-03 Thread Mark Lundquist
Hi Joe, On Aug 3, 2005, at 11:59 AM, [EMAIL PROTECTED] wrote: Unfortunately, while what you suggest does work, it does not answer the question I asked, which is: How to pass the resource path of the request into an XML file, similarly to passing a session variable. Well, you'd generate

Re: RequestURI in aggregation page

2005-08-03 Thread jdwilliams
Mark Lundquist wrote: I'm curious though why you don't want to do the aggregation in the sitemap...? = A fair question. The scenario is this: Authors create documentation in XML, and no one is to touch the XML documentation except the author or an

Re: sitemap error

2005-08-03 Thread Joerg Heinicke
On 03.08.2005 19:37, Pokuru, Rao wrote: After i changed sitemap.xmap, i rebooted the tomcat and tried to access URL. At this point it should generated new sitemap_xmap.java and corresponding class files in the WORK folder, but it doesn't. Sometimes, i am getting NO MORE DTM IDs available

Re: CForms - adding style to labels

2005-08-03 Thread footh
Yes, that put me on the right track. I was thrown off this track because I changed the forms-pages-styling.xsl and the changes did show up. However, that is included in the main page, not imported. In fact, it turns out I had to alter the forms-advanced-fields-styling.xsl because that is where

Re: Graphing standards

2005-08-03 Thread Antonio Gallardo
Ron Wheeler wrote: Is there a generally accepted notation for documenting pipelines. What symbols are used for aggregate, source, transform serialize, etc? See pages 14-22: http://apache.gr-linux.com/cocoon/events/gt2003/presentations/11-visual-journey.pdf Best Regards, Antonio Gallardo

Re: Graphing standards

2005-08-03 Thread Ron Wheeler
Very slick. The designer's talents really come through in the whole presentation. It just needs a sound track to be a nice introduction to Cocoon. Thanks for sending that. What did you use to do the drawings? Ron Antonio Gallardo wrote: Ron Wheeler wrote: Is there a generally accepted

Re: XSLT transformation

2005-08-03 Thread Marc Salvetti
Yes, this is the expected behavior, the pipe will always stop at the first serializer, or before if there is an error, no matter what's after it. I just left the second transform because i always use this technique to debug my pipes : moving a serialize type=xml line to differents places in