IBM developerworks tutorials on Cocoon 2
Dear apache editor, I thought you might be interested in this, please feel free to post. Cheers, Jeff Introduction to Cocoon 2 Introductory tutorial covering how to install and configure Cocoon, introduction to the principles of the Cocoon 2 architecture and its key components, and example pipeline configurations that demonstrate how to construct a dynamic Web site using Cocoon and XSLT http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/83F66813F7FFD61486256B74006EB648?openl=472,t=gr Working with XML Server Pages in Apache Cocoon 2 This tutorials introduces XML Server Pages (XSP), the Cocoon technology for generating dynamic XML content. http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/14DFAEE91D8BB1EF86256BA300662FAF?openl=472,t=gr Cocoon 2: Build database-driven sites The first two tutorials in this series introduced the basic concepts of the Cocoon 2 architecture and XML Server Pages (XSP) as a means for creating and publishing dynamic XML content. http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/AC994D2B8F0B85D086256BC1006B53AC?openl=472,t=gr - 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: Include external javascript file
U have to edit your sitemap file so cocoon know how to handle .js files On Tue, 28 May 2002, Naquin, Beth wrote: A cocoon newbie question: I am trying to include a javascript function from an external .js file into my xsl stylesheet. I have the following in the xsl stylesheet: head ... script src=cold_reverse_script.js language=javascript /script /head The file cold_reverse_script.js is in the same directory as the xsl stylesheet contains javascript code for a single function: - function cold_reverse_search_criteria() { javascript code . } -- I have this entry in my sitemap: map:match pattern=**.js map:read src={1}.js mime-type=text/jscript/ /map:match (I've also tried text/javascript). However, this does not work. I get error on page whenever I try to access the javascript function from the .js file. When I look at the source for the HTML page in the browser, it shows script src=cold_reverse_script.js language=javascript /script just as I've written it in the xsl file, but does not show the code that is in the .js file. If I put the javascript function code directly into the script/script tags, it works fine, but I'd like to use the external .js file. Any help would be greatly appreciated. Thanks, Beth Naquin SAGEM MORPHO Inc. 1145 Broadway Plaza STE 200 Tacoma, WA 98402 253-597-8245 - 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: .htc how to
.htc files are nothing more than .js files plus they are working just like VS's class modules so .htc are not well-formed xml they are not xml i dontd understand why cocoon dont handle .htc file just like .js On Tue, 28 May 2002, Kelly Cole wrote: Did you get this to work? I don't know much about htc's except that I have used the MS sample calendar.htc. I can't figure out how to set the rule for it with Cocoon. How did you do it? I tried: map:match pattern=calendar.htc map:generate src=chart/calendar.htc/ map:serialize type=html/ /map:match Note: My htc file is not well-formed xml. Is this the problem for me? Thanks, Kelly -Original Message- From: Stephen Ng [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 6:39 PM To: [EMAIL PROTECTED] Subject: RE: .htc how to You must serve the .htc from Cocoon--do you have a rule for it in your sitemap? -Original Message- From: Cocoon User [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 8:07 PM To: [EMAIL PROTECTED] Subject: .htc how to i have a behavor (microsoft .htc) attached in a stylesheet i aply this style into a div element in a .xml page when i transofrm this .xml using xsl in IE6 i recieve re corect result but through cocoon i see everything except the result i'm waiting from .htc any idea ? thanks - 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 web log system
we r thinking about to setup a weblog system phpnuke like as a community place for cocoon users anyone who want to apply this project please reply to [EMAIL PROTECTED] Stavros S. Kounis Research Development Department osmosis.gr | networks consulting services web : http://www.osmosis.gr contact : [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 web log system
At 09:57 01/06/2002, you wrote: we r thinking about to setup a weblog system phpnuke like as a community place for cocoon users anyone who want to apply this project please reply to [EMAIL PROTECTED] Why not contribute to one of the existing Cocoon sites instead of dividing the activity Alex 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]
Re: IBM developerworks tutorials on Cocoon 2
On Friday, May 31, 2002, at 05:03 PM, Jeffrey I Condon wrote: Dear apache editor, I thought you might be interested in this, please feel free to post. snip what=tutorials / Thanks Jeffrey. I added descriptions and links to these helpful tutorials in the Cocoon documentation. You will see them reflected in the release documentation and the live site in approximately one week. Thanks for the nice descriptions! If anyone else would like to provide more overview detail and links to about third-party Cocoon learning resources, please post your information here. If you don't have a recent version of the HEAD branch, you can view current information via ViewCVS, specifically: Tutorials: http://cvs.apache.org/viewcvs.cgi/xml- cocoon2/src/documentation/xdocs/tutorial/index.xml?rev=1.2content- type=text/vnd.viewcvs-markup How-Tos: http://cvs.apache.org/viewcvs.cgi/xml- cocoon2/src/documentation/xdocs/howto/index.xml?rev=1.4content- type=text/vnd.viewcvs-markup Thanks. Diana - 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?
Peter Lerche wrote: Hi, I have followed this thread with interest and noted what Chris wrote. Edgar, AFAIK this is not true. map:act can contain all other tags that are allowed within a pipeline. However, what about nested map:act tags. No problem. An example is the mod-db sample sitemap. (In scratchpad for 2.0.x.) Not sure whether nesting works with action-sets, though. map:match pattern=form/validation/* map:act type=form-validator/ map:parameter name=descriptor value=descriptor.xml/ map:parameter name=validate-set value={1}/ !-- form validation OK -- map:act type=db-saveform/ !-- ??? '/' closes tag ??? -- !-- thus following parameters belong to form-validator ? -- map:parameter name=table value=formtest/ !-- form validation OK -- !-- form saved in db OK -- map:generator yy/ map:serialize xx/ /map:act !-- form saved in db ERROR -- map:generator z/ map:serialize v/ /map:act !-- form validation Error -- map:generator ww/ map:serialize qq/ /map:match Apart from the comment this looks reasonable. I have tried to get this working but without any luck. Does an error show up in your logs? 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]
Lucene hit highlighting
Hello, I submitted an xdoc to www.cocooncenter.de that explains how I created a Cocoon Transformer that adds hit highlighting to Lucene queries. Comments about how to make this more generic are welcome. hugo [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: SSL support of ResourceReader/FileGenerator
From: Sternath Elmar [mailto:[EMAIL PROTECTED]] Hello, I try to get files using ResourceReader/FileGenerator (cocoon2.0.2/tomcat4.0.3/jdk1.4.0) : map:pipeline map:match pattern=elster/testhtmls map:read mime-type=text/html src=https://139.21.207.160:8443/elster/OTTest.html/ /map:match /map:pipeline Cocoon server and target server are one and the same instance. When I put the http request directly in my browser, the file is correctly transferred and displayed. As soon as I use the request in my cocoon pipeline, an SSLException SSLHandshakeException unknown_certificate with JDK1.4 occurs in tomcat server. Can anyone tell me if, how and in which cocoon versions SSL is supported for FileGenerator/ResourceReader and how my problem can be solved? It has nothing to do with cocoon and totally offtopic. Go to java.sun.com for software and installation tips for SSL. http://java.sun.com/j2se/1.4/docs/guide/security/jsse/JSSERefGuide.html# Troubleshooting Vadim Thanks in advance, Elmar - 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: SSL support of ResourceReader/FileGenerator
this is one difference between the cocoon community and the zope community: The Zope community tries to help people who use the software, rather than immediately shouting off topic. Using SSL with cocoon should be an important part of the discussion here, IMO. At 12:05 PM 6/1/2002 -0400, you wrote: From: Sternath Elmar [mailto:[EMAIL PROTECTED]] Hello, I try to get files using ResourceReader/FileGenerator (cocoon2.0.2/tomcat4.0.3/jdk1.4.0) : map:pipeline map:match pattern=elster/testhtmls map:read mime-type=text/html src=https://139.21.207.160:8443/elster/OTTest.html/ /map:match /map:pipeline Cocoon server and target server are one and the same instance. When I put the http request directly in my browser, the file is correctly transferred and displayed. As soon as I use the request in my cocoon pipeline, an SSLException SSLHandshakeException unknown_certificate with JDK1.4 occurs in tomcat server. Can anyone tell me if, how and in which cocoon versions SSL is supported for FileGenerator/ResourceReader and how my problem can be solved? It has nothing to do with cocoon and totally offtopic. Go to java.sun.com for software and installation tips for SSL. http://java.sun.com/j2se/1.4/docs/guide/security/jsse/JSSERefGuide.html# Troubleshooting Vadim Thanks in advance, Elmar - 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: Matcher and Mismatcher
From: Frank Taffelt [mailto:[EMAIL PROTECTED]] Hello, suppose i have the follwing request: /cocoon/css/style.css cocoon logs the following substitutions: CONTEXT PATH: /cocoon SERVLET PATH: /css/style.css for this request i have the following match in my sitemap: map:match pattern=**/css/*.css This won't be matched because for this request URL passed to the matcher from the sitemap is 'css/style.css' - note that there is *no* leading '/' here. Vadim map:read mime-type=text/css src=resources/css/{2}.css/ /map:match it seems that this pattern never matches the given request, access.log says : org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: /css/style.css The cocoon documentation states about matching: ... A string made of two asterisks ('**') matches zero or more characters, this time including the path separator (the character '/'). ... . In my understanding this includes also the request /css/styles.css because the zero match. I'm using Cocoon Release 2.0.2 thanks, frank - 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: [C2] bug: still have to touch XSP file after changing logicsheet
From: Christopher Painter-Wakefield [mailto:[EMAIL PROTECTED]] Cocoon doesn't recognize the dependencies of XSP files on the logicsheet they use. Changing a logicsheet does not force a recompile of the dependent XSP pages. Instead we must manually touch each XSP page using the logicsheet. I know this has been reported in the past, but it is a constant annoyance, and I'm wondering if there is a time when we can expect a fix? IIRC, this depends how you referencing your logicsheet. Changes in built-in logicsheet are not monitored, but if logicsheet is referenced directly from the XSP, changes are noticed. Check out logicsheet.xsp sample - it works perfectly, and recognizes dependencies in the hello.xsl logicsheet. Vadim 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: cocoon web log system
do U know any weblog system or community about cocoon? stavros On Sat, 1 Jun 2002, Alex McLintock wrote: At 09:57 01/06/2002, you wrote: we r thinking about to setup a weblog system phpnuke like as a community place for cocoon users anyone who want to apply this project please reply to [EMAIL PROTECTED] Why not contribute to one of the existing Cocoon sites instead of dividing the activity Alex 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]
Release 2.1 in one week? I can wait.
Diana Shanon indirectly announced forthcoming release 2.1 in her last post. Normally I'm looking forward to new Cocoon releases, but this time I'm skeptical. The last weeks/days I posted several mails concerning the problem with view-labels being ignored inside an aggregation. There has been very little feedback, and nothing has been solved. Though this problem found entry to the bugzilla db (BUG 8932) I'm afraid that it won't be fixed before the release. This would cause broken indexes everywhere where the Lucene Crawler and aggregation is used, because it relies on cocoon-views. Therefore my petition to make labels work again within aggregation in release 2.1. please. 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]
Re: Release 2.1 in one week? I can wait.
From: leo leonid [EMAIL PROTECTED] Diana Shanon indirectly announced forthcoming release 2.1 in her last post. Normally I'm looking forward to new Cocoon releases, but this time I'm skeptical. I think she referred to 2.0.3, which is a bugfix branch. -- 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: How is it possible to remove 'files' from a war file?
From: Ian Tindale [mailto:[EMAIL PROTECTED]] On Friday 31 May 2002 5:43 pm, Lajos Moczar wrote: mkdir temporarydirectory cd temporarydirectory jar xvf $PATH_TO/cocoon.war rm WEB-INF/lib/xalan-XXX.jar etc. jar cvf cocoon.war * Hm. Zip -d is faster. Vadim YES!!! Excellent. Thanks. It seems I've got it running :) Thanks for bridging the final step. Very much appreciated. -- Ian Tindale - 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: SSL support of ResourceReader/FileGenerator
From: bob phillips [mailto:[EMAIL PROTECTED]] this is one difference between the cocoon community and the zope community: The Zope community tries to help people who use the software, rather than immediately shouting off topic. Using SSL with cocoon should be an important part of the discussion here, IMO. From Cocoon (and any other application using URLConnection) perspective, https does not differ from http if it configured correctly. Please read link provided before criticizing. Vadim At 12:05 PM 6/1/2002 -0400, you wrote: From: Sternath Elmar [mailto:[EMAIL PROTECTED]] Hello, I try to get files using ResourceReader/FileGenerator (cocoon2.0.2/tomcat4.0.3/jdk1.4.0) : map:pipeline map:match pattern=elster/testhtmls map:read mime-type=text/html src=https://139.21.207.160:8443/elster/OTTest.html/ /map:match /map:pipeline Cocoon server and target server are one and the same instance. When I put the http request directly in my browser, the file is correctly transferred and displayed. As soon as I use the request in my cocoon pipeline, an SSLException SSLHandshakeException unknown_certificate with JDK1.4 occurs in tomcat server. Can anyone tell me if, how and in which cocoon versions SSL is supported for FileGenerator/ResourceReader and how my problem can be solved? It has nothing to do with cocoon and totally offtopic. Go to java.sun.com for software and installation tips for SSL. http://java.sun.com/j2se/1.4/docs/guide/security/jsse/JSSERefGuide.html # Troubleshooting Vadim Thanks in advance, Elmar - 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: Release 2.1 in one week? I can wait.
From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] From: leo leonid [EMAIL PROTECTED] Diana Shanon indirectly announced forthcoming release 2.1 in her last post. Normally I'm looking forward to new Cocoon releases, but this time I'm skeptical. I think she referred to 2.0.3, which is a bugfix branch. I think she referred to site update only, not Cocoon release. Carsten is release coordinator ATM. Vadim -- 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]
DO NOT REPLY [PATCH QUEUE] Summary June 2 2002
--- This mail is generated automatically using Jakarta Ant. Contents are automatically downloaded from Apache's Bugzilla. --- Please do not reply to this mail. --- *** COCOON PATCH QUEUE UPDATE patches in queue: 9 *** --- 6435:[PATCH] Updates to the idiots guide --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6435 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 8509:[PATCH] Allow actions within cocoon views --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8509 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 8614:[PATCH] configurable component manager --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8614 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 8658:[PATCH] Fix to allow matchers within cocoon-views and cocoon --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8658 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 8975:[PATCH] Chaperon examples --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8975 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 9404:[PATCH] JSP like Tag-Library Implementation --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9404 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 9521:[PATCH] Mozilla script support for simple-xml2html.xsl --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9521 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 6879:[PATCH] Cache improvement using ESI invalidation protocol --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6879 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW --- 7187:[PATCH] esql:group, footer fix --- http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7187 REVIEWER:[EMAIL PROTECTED] RESOLUTION: STATUS: NEW *that's it! patch HOWTO Send patches to http://nagoya.apache.org/bugzilla/ specifying [PATCH] in the summary. Bugzilla sends a mail automatically to this list. Reviewers will mark it FIXED there when applied. Patches not sent to Bugzilla will not be reviewed. --- This file is scheduled to be generated every Tuesday and Friday 1:00 CET for the cocoon-dev mailing list, on Sundays 1:00 CET for the cocoon-users mailing list. For any problem, question or suggestion, please notify [EMAIL PROTECTED] --- There is a HEAD branch and sometimes a previous-version branch that are maintained. Where will the patch go? 1. If it is a bug fix it should go to both branches 2. If something is totally new it goes into HEAD scratchpad. 3. Something in between, but does not break backward compatibility _may_ go into both (and may not) 4. For everything else, a vote is required so first it may go into HEAD, and then be VOTEd in order to sync this into branch. Please note that structural changes have to be VOTEd first. - 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]
giving cinclude parameters?
I am generating a page with several cinclude elements which need to call another pipeline with parameters - .ie:, cocoon:/includedStuff.xml?param1=fooparam2=bar How would you go about this? What I'd wanted to do is to provide the params inside the cinclude element like so: cinclude:include src=cocoon:/includedStuff.xml cinclude:param1foo/cinclude:param1 cinclude:param2bar/cinclude:param2 /cinclude:include But don't see any support for that in the source for CInclude. I won't know in advance how many there will be, and I obviously won't know what they are. They do not already exist in the object model, and because the same pipeline can be included multiple times in the same page with different parameters, the object model doesn't really work. 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]
[Announcement] XMLForm Howto live
The XMLForm HOWTO is finally live for review by early adopters. http://xml.apache.org/cocoon/xmlform/index.html NOTE: XMLForm is available in the Cocoon 2.1-dev branch (latest). An early version will ship in 2.0.3 scratchpad. I encourage brave souls to work with the developer branch version (2.1-dev). Thanks a lot to Diana for pushing it out and also thanks Vadim for the responsiveness. And again, kudos to Heidi for writing the doc. Cheers, Ivelin - 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: giving cinclude parameters?
From: Geoff Howard [mailto:[EMAIL PROTECTED]] I am generating a page with several cinclude elements which need to call another pipeline with parameters - .ie:, cocoon:/includedStuff.xml?param1=fooparam2=bar How would you go about this? cinclude:include src=cocoon:/includedStuff.xml?param1=fooparam2=bar/ should work. Vadim What I'd wanted to do is to provide the params inside the cinclude element like so: cinclude:include src=cocoon:/includedStuff.xml cinclude:param1foo/cinclude:param1 cinclude:param2bar/cinclude:param2 /cinclude:include But don't see any support for that in the source for CInclude. I won't know in advance how many there will be, and I obviously won't know what they are. They do not already exist in the object model, and because the same pipeline can be included multiple times in the same page with different parameters, the object model doesn't really work. 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: giving cinclude parameters?
well, that was how I have been going about it - i just wondered is there a cleaner way to do this? the transformation to create that url is a little messy. Thank you though. Geoff -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 01, 2002 11:04 PM To: [EMAIL PROTECTED] Subject: RE: giving cinclude parameters? From: Geoff Howard [mailto:[EMAIL PROTECTED]] I am generating a page with several cinclude elements which need to call another pipeline with parameters - .ie:, cocoon:/includedStuff.xml?param1=fooparam2=bar How would you go about this? cinclude:include src=cocoon:/includedStuff.xml?param1=fooparam2=bar/ should work. Vadim What I'd wanted to do is to provide the params inside the cinclude element like so: cinclude:include src=cocoon:/includedStuff.xml cinclude:param1foo/cinclude:param1 cinclude:param2bar/cinclude:param2 /cinclude:include But don't see any support for that in the source for CInclude. I won't know in advance how many there will be, and I obviously won't know what they are. They do not already exist in the object model, and because the same pipeline can be included multiple times in the same page with different parameters, the object model doesn't really work. 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] - 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]
[Announcement] XMLForm 0.8.4 commited to C2.1-dev
Changelog: - added support for new form elements: xf:selectMany/checkbox xf:selectOne/radio xf:hidden - Added selectMany/checbox, selectOne/radio and hidden elements in the Feedback Wizard demo. - Violations are available in both document order and alphabetical order Form.getViolations() - document order Form.getViolationsAsSortedSet - alphabetical xpath order - Minor styling improvement of the demo app. - 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]