Re: Tomcat 5.0.3 ?
Hi, Has anyone tried Cocoon 2.0.4 with Tomcat 5.0.3? I've tried it with the M1 and it just runs fine and very fast When I tried to load Cocoon's start page, I just get the directory listing check if cocoon is deployed (cocoon never starts). There are no ERROR messages on Cocoon's logs. what a surprise when cocoon does not start ;-) have you checked the tomcat logs for possible errors? have you copied the 'three libs' in the jdk and the tomcat endorsed directory? hth -- * best regards * Jens Maukisch * http://www.maukisch.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: authentication cocoon
Hi, any one have an example of a sitemap wich protect access of some pages ? look at the old portal framework included in the samples of cocoon. its using the authentication framework http://ziegeler.bei.t-online.de/c2auth.html http://cocoon.apache.org/2.1/developing/webapps/authentication.html hth -- * best regards * Jens Maukisch * www: http://www.maukisch.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Insert content of file.xml into textarea
Hi, How can I insert content of file.xml into textarea? You can use the cinclude Transformer: http://cocoon.apache.org/2.1/userdocs/transformers/cinclude-transformer.html something like this: bar.xml: html body textarea cinclude:include src=foo.xml/ /textarea /body /html sitemap: map:match pattern=bar map:read src=bar.xml map:transform type=cinclude/ map:transform src=stylesheets/page/simple-page2html.xsl/ map:serialize type=html/ /map:match -- * best regards * Jens Maukisch * http://www.maukisch.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[2]: Newbie: yet ANOTHER problem: db access (NoValidConnectionException)
Hi, maybe you should include the port in your dburl dburljdbc:mysql://localhost:3306/coultard/dburl -- * best regards * Jens Maukisch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how obtain 2.1 nightly snapshot build
Hi, Can someone tell me how I go about obtaining a 2.1 snapshot. if there is no nightly snapshot you can obtain the latest version of cocoon via cvs: cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co cocoon-2.1 hth -- * best regards * Jens Maukisch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dynamic i18n catalogs?
Hi, is it possible to create dynamic catalogues for the i18n-Transformer? I mean XSP or Generator createt catalogues. iirc you can point the catalogue location to a cocoon pipeline which generates your catalogue. hth -- * best regards * Jens Maukisch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[2]: Dynamic i18n catalogs?
Hi, map:match pattern=file-*.xml map:generate src=file.xml/ map:transform type=i18n map:parameter name=locale value=../locale/ ... Is it possible, to give the i18n-transformer within the pipeline a catalogue location, because I need parameter{1} to generate the catalog ... as mentioned in the documentation the catalogue to be used could be overridden at the pipeline level by secifying parameters called catalogue-name and/or catalogue-location e.g.: map:patameter name=catalogue-location value=foo/ map:patameter name=catalogue-name value=bar/ hth -- * best regards * Jens Maukisch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: entity encoding error within an inline java script
Hi, script language=JavaScript type=text/javascript xsl:text disable-output-escaping=yes // ![CDATA[ function addgroup(){ while (r.childNodes.lengthgt;0){ Do you use xsltc to process your stylesheet ? iirc it does not support 'disable-output-escaping' ... use xalan or so instead ... -- * best regards * Jens Maukisch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[3]: getting a folder to be seen
Hi, The mapping is exactly what i need. where do i put it? just put it in a map:pipeline in the map:pipelines section of your sitemap.xmap (there are already some, so just search for map:pipelines and add your map:match). e.g.: map:pipelines map:pipeline map:match pattern=myfolder/* map:generate src={1}/ map:transform src=mystyle.xsl/ map:serialze/ /map:match map:pipeline !-- here are usually more pipeline(s) -- /map:pipelines -- * best regards * Jens Maukisch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 2nd Re: xml 2 svg in coplet
Hi, !-- sunlets -- map:generate src=http://localhost:8080/~Owner/My%20Website/cocoon/svg/sales.xml/ Why do you generate from the sales.xml again ? You just need a xml file like this: ?xml version=1.0? foo/ foo/ then will be replaced with the content of the stylesheet . (hopefully i got the point of your question :-) for the caching problem i've no solution atm :-/ -- * best regards * Jens Maukisch - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SVG to JPEG/PNG problems
Hi, I am having problems getting the SVG serializer to correctly display my graphics as JPG/PNG - there no probs here :-) can you put the svg and the jpeg your cocoon generates somewhere, then i can test it here -- * best regards * Jens Maukisch - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xml 2 svg in coplet
Hi, get the xml data ('generate'), build the svg graph ('transform' with xsl, or build with js: 'action' ? ), then transform and serialise into an xhtml table with the svg embedded to meet a required coplet structure. what about simple xhtml-image-tag pointing to the map:match which is creating your jpeg (based on a svg) ? something like this: in the coplet: img src=/mychart.jpg/ in the sitemap: map:match pattern=graphics/* map:generate src=yourdata.xml/ map:transform src=data2svg.xsl/ map:serialize type=svg2jpeg/ /map:match -- * best regards * Jens Maukisch - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]