Problem with serializers
This looks very similar to my problem with 2.1-dev and jdk1.4 and Tomcat4.1.12 per my posting: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=104041952007585w=2 I have to create that endorsed directory in Tomcat and copied xalan*.jar, xerces*.jar and xml-apis.jar from cocoon/WEB-INF/lib (or from xml-cocoon2/lib/core in cvs) to $TOMCAT_HOME/common/endorsed. Hope this helps. aps __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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: i18n catalogue and sql
In an article by Steve Punte of candlelightsoftware.com, he uses xsl:value-of select=/http:request/http:requestParameters/http:parameter/http:value/ to pickoff input=5 in a url of http://localhost/mypage?input=5 and passed it to a template like this: xsl:call-template name=factorial xsl:with-param name=input select=/http:request/ http:requestParameters/http:parameter/http:value/ /xsl:call-template Can anyone perhaps elaborate on how input=5 from that select? what if the the parameters where http://localhost/mypage?input=5input2=7 instead? aps __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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: Cocoon tutorial ... non production cocoon 'sand box'
Odd that when viewing the mail-list, I see those =A0, which is not displayed when viewed on yahoo's mail, it must be yahoo inserted. Anyhow, I hope that didnt confuse you or anyone. hsqldb is a java based database, package along with cocoon so samples that require a database would work. How would I know if you rename your /cocoon to /mycocoonturnedtobutterfly ? :) In Tomcat you can name it to just about any context name you wish, and no I have not seen what you seek, you just have to try it and experiment with litle changes at a time. Actually there is very few that walks you through step by step. aps --- J. Norment [EMAIL PROTECTED] wrote: Ah-ha. Thanks for the info. What is hsqldb used for, anyway? Do you know if there is a general setup FAQ (not installation, but setup as in if you want to run cocoon, but you don't want everyone that visits your sites to be able to type '/cocoon' and get merry with the examples, this is how you tell Tomcat to do this) ( This may be a bit off topic, but I'm new to both Tomcat and Cocoon, and am starting to venture off onto that kind of unfamiliar ground. ) Any help and pointers are greatly appreciated. I finally got James working like I want it, so now, I will actually be trying to get Tomcat/Cocoon setup as I want it to be. ) On Sat, 28 Dec 2002 12:19:41 -0800 (PST), aps olute wrote: I would build like so: ./build.sh clean-webapp #this builds a cocoon.war but it is bare min Don't expect to see much other than an error of failed to load sitemap.xmap as there isnt much there. So you modify it and put pipelines that work. Another alernative is search on this list posting by Lajos on build with no samples. Good luck. aps PS. I am not sure if this may cause a problem, having two cocoon started if both uses hsqldb. I have not verified this, but it maybe a cause of your issues. From what I recall of hsqldb, you can only have one running (as a standalone) in a machine unless you configured hsqldb as a server. Please see the init() of how hsqldb gets instantiated, perhaps in one instance of cocoon you can disable it. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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] - 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] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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: ESQL bug, or even whorse?!?!?!
I dont have much to offer but I will commiserate with you. I just noted that java codes have been moved around in 2.1-dev to organized to blocks, and yes files like EsqlHelper.java has gotten larger comparing 2002/07/05 to 2002/11/21. I have not checked the 2.0.1 vs 2.0.3 versions, so there could be changes between there too. For the dev version, there are no EsqlConnection.java but has changed to AbstractEsqlConnection.java, it does the functionality I guess since it implements Connection. Anyhow, FOR THE DEVELOPERS, CAN YOU PLEASE RE-INSTATE javadoc DOCUMENTING like the version as a reference for us struggling to follow? Or are those done only when you get a release version? Regards, aps --- Luis Gois [EMAIL PROTECTED] wrote: Hello. I'm facing a situation where I've tried almost everything and don't understand why ESQL doesn't work for a particular situation : a) I have 3 cascading queries, i.e., the 2nd query placed inside esql:row-results of 1st query and 3rd query inside esql:row-results of 2nd query; b) for the 3rd query, something strange happens : 1) Cocoon 2.0.2 : Using esql:get-string (2nd line from bottom): === !-- 3rd query -- esql:execute-query esql:query select aqa.nu_qms_activity_area asnum_activity_area, aqa.name_qms_activity_area as name_activity_area FROM opqa_metrics_tst omt, activities_qms_areas aqa WHERE omt.nu_descr_metrics_tst=esql:get-int column=nu_descr_metricas_tst ancestor=1/ AND omt.name_project_tst='xsp:exprcurrentProduct/xsp:expr' AND omt.name_release_project in xsp:exprreleasesSet/xsp:expr AND TO_CHAR(omt.date_input,'dd-mm-')='xsp:exprcurrentDate/xsp:expr' AND aqa.nu_qms_activity_area = omt.nu_qms_activity_area order by num_activity_area asc /esql:query esql:results esql:row-results metric xsp:attribute name=namexsp:exprmetricName/xsp:expr/xsp:attribute !-- === HERE IT IS == -- xsp:attribute name=activity_areaesql:get-string column=name_activity_area//xsp:attribute xsp:logic (...) the generated java is: = xspAttr.addAttribute( , activity_area, activity_area, CDATA, String.valueOf(.getBytes() != null ? EsqlHelper.getStringFromByteArray(.getBytes (), ) : ) ); Findings : Looking at the esql.xsl, I see that the xsl:choose element at get-encoded-string template isn't properly processed when retrieving a value for the encoding variable, since even if I use esql:get-string column=name_activity_area encoding=default/, $encoding won't default to 'default'. If I copy that xsl:choose element outside the variable element do debugging purposes and watch at the generated java, I see that it correctly evaluates to a default value situation (xsl:otherwise). Again, specifying the encoding attribute in esql:get-string and then retrieving at the esql.xsl file the $encoding and @encoding values, the first is '' and the second 'default'. How can this be possible? Using esql:get-string in previous queries had a completely diferent JAVA code replacement, using getAscii() method for example. The call to esql:get-string has exactly the same attributes, the column types are exactly the same (though at XML-JAVA code transformation that's irrelevant). Moving to Cocoon 2.0.4 didn't solve this problem. Now, the generated JAVA file has have something like EsqlHelper.getStringFromByteArray(default.getBytes()) -- notice at the default object. The error generated at compile time is related to getStringFromByteArray() method not found in EsqlHelper class. (I can give you more detailed error messages later, since those errors where generated yesterday night at work). I thought that I was using a bad Xalan in my classpath or something similar but I've tried the code in 2 different platforms, an HP-UX and a Win2K machine and both generated the same java code and the same compilation errors. This is really frustrating for me, a Cocoon1 Vet and for the persons who are now using Cocoon for the first time. I've developed some of applications in our project and never experienced this behaviour, but now, I'm lost!:( Help ... Regards, Luis Gois
Re: Cocoon tutorial ... non production cocoon 'sand box'
I would build like so: ./build.sh clean-webapp #this builds a cocoon.war but it is bare min Don't expect to see much other than an error of failed to load sitemap.xmap as there isnt much there. So you modify it and put pipelines that work. Another alernative is search on this list posting by Lajos on build with no samples. Good luck. aps PS. I am not sure if this may cause a problem, having two cocoon started if both uses hsqldb. I have not verified this, but it maybe a cause of your issues. From what I recall of hsqldb, you can only have one running (as a standalone) in a machine unless you configured hsqldb as a server. Please see the init() of how hsqldb gets instantiated, perhaps in one instance of cocoon you can disable it. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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]
esql in Cocoon-2.1-dev not working well with Oracle? due to skip-rows element?
Antonio, Per your suggestion, I downloaded the latest on 12/24 and it still does not work. ESQL having a problem working with Oracle 8i and Tomcat 4.1.12. Exact xml file is working with Tomcat.4.0.1 but not on 4.1.12. What actually has been changed? I tinkered a little bit more, and based on your postings, I kind of clue-in on this skip-rows and max-rows. This was not needed before, why make it mandatory? Is this documented somewhere like on a DTD or a Schema for ESQL? Also it does not work with skip-rows set to zero aps __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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: esql in Cocoon-2.1-dev not working well with Oracle? due to skip-rows element?
Responses inserted in between. --- Antonio Gallardo [EMAIL PROTECTED] wrote: Hi: 1-The esql:more-results is is not a mandatory issue. It is just an optional tag that you can use. I did not have the need for this, so I will assume its okay, my code works without this. 2-The esql:skip-rows and esql:max-rows are also optionals that means that it will not triggered if you dont request it. Apparently one of them is not optional, if it was, I would not brought this up as an issue. If you recall my original posting on this: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=104069369318391w=2 I could not run same ESQL code on Tomcat4.1.12 but yet it works fine on Tomcat 4.0.1. Can you perhaps verify an ESQL(XSP file) like I had posted without the esql:skip-rows and can you post what the result is? Without this element on mine, it will not work. By the way I dont see a case when you will request 0 rows in the esql:max-rows. I the worst case you will need to set it just to control if the are some rows. Then you will need to request almost 1 additional row (0+1) to check for additionals rows in the returned recordset. Umm, I was referring to esql:skip-rows being zero, not esql:max-rows. In the test I just did, I did not include esql:max-rows, so its not needed. I also tried esql:max-rows 3 and I did get 3 rows, not 4 and since I have to have skip-rows minimum set to 1, it printed rowid's 2,3 4. Anyhow, it seems confusing to remember one more rule having to add 1 for the count. This way it will be faster for every database manager because database manager mainly stop when they already have filled the requested amount of rows. And returns after they get the maxrow you requested. As you can see this is the faster method I know to trigger the more-results. No comment on this portion. I dont really know the logic behind. Just wanted to know, what are the file sizes for your OracleEsqlQuery.java, JdbcEsqlQuery.java, EsqlHelper.java, and PostgresEsqlQuery.java? just for my reference. Regards, aps Ragards, Antonio Gallardo. aps olute dijo: Antonio, Per your suggestion, I downloaded the latest on 12/24 and it still does not work. ESQL having a problem working with Oracle 8i and Tomcat 4.1.12. Exact xml file is working with Tomcat.4.0.1 but not on 4.1.12. What actually has been changed? I tinkered a little bit more, and based on your postings, I kind of clue-in on this skip-rows and max-rows. This was not needed before, why make it mandatory? Is this documented somewhere like on a DTD or a Schema for ESQL? Also it does not work with skip-rows set to zero aps __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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] - 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] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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: esql in Cocoon-2.1-dev not working well? Oracle specifically
Tried the latest download. Another 4 hours wasted, 21Meg download is too big for a dial-up access. I cant do this download often. Far too many changes. Same problem still, same esql code works in Tomcat 4.0.1 but not on 4.1.12. What changes has been made ESQL much more difficult to use with Oracle in the nightly builds? The Mysql version works fine in both versions of Tomcat. And just quick testing of the samples, it seems XSP samples are erratic, very few XSP samples work, most do not. I get time-outs, taking much too long to compile the xsp? Noteable one I tried is http://localhost:8080/cocoon/samples/xsp/cacheable where the error it spits out is: // start error (lines 82-82) method generateKey() in class org.apache.cocoon.www.samples.docs.samples.xsp.cacheable_xsp cannot override method generateKey() in class org.apache.cocoon.generation.AbstractServerPage with different return type public long generateKey() ..plus more errors. Futher rant I dont recall that the whole cocoon stalls before, if none of the RDMBS are up and running when Tomcat is started. solution seems to have the RDMBS up and running before starting Tomcat. rant The installscratchpadwar build chokes on line 2315 missing fileset jing rngfiles= --- aps olute [EMAIL PROTECTED] wrote: Esql file that works in Tomcat 4.0.1 does not work in Tomcat 4.1.12? I have compiled the nightly download 12/20/2002 and running most of the samples on a Tomcat 4.1.12. I added the datasources for oracle and mysql (cocoon.xconf), the jdbc drivers (in WEB-INF/lib/ and modified web.xml), I added a submount by symlinking it under cocoon/samples/ctwig ie cocoon/samples/ctwig/ctwig. Basic xml files are transformed using xsl files just like the CTWIG sample. I symlinked this directory that has esql query with its corresponding xsl file to this directory. (btw the base directory is located in another Tomcat 4.0.1/webapps/cocoon/ctwig/). Launched Tomcat 4.1.12, point my browser to http://localhost:8080/cocoon/samples/ctwig/ctwig/esqlora2.xml and I get errors. Launched Tomcat 4.0.1 (now .12 and .1) up, point my browser to 4.0.1 relateted url, http://localhost:8069/cocoon/ctwig/esqlora2.xml it works fine, the query is executed and the table is displayed. This is the same file with different results Why? The error on 4.1.12 is: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing statement: SELECT * FROM emp: java.sql.SQLException: Invalid argument(s) in call: absolute (0) at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:275) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:513) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:192) this is esqlora2.xml ?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; page titleA Database Driven XSP Page/title content esql:connection esql:poolpersonnel/esql:pool esql:execute-query esql:querySELECT * FROM emp/esql:query esql:results table esql:row-results tr tdesql:get-string column=empno//td tdesql:get-string column=ename//td tdesql:get-string column=job//td tdesql:get-string column=deptno//td tdesql:get-string column=mgr//td tdesql:get-date column=hiredate//td tdesql:get-string column=sal//td tdesql:get-row-position //td /tr /esql:row-results /table /esql:results esql:no-results pSorry, no results!/p /esql:no-results /esql:execute-query /esql:connection /content /page /xsp:page __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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: Cocoon tutorial available at CMSWatch.com and Sphere.com
While the Turkey is bakingNo need to make this a whole web-app to itself and having its own context. 1) I did this, jar the com.sphere.cocoon.generation.CSVGenerator.class as myapp.jar. 2) put myapp.jar at the existing cocoon/WEB-INF/lib/ directory 3) Use one of the existing submounts, like for example samples off of cocoon/ Make sure samples sitemap.xmap can submount, look for this, as this will make a submount: map:match pattern=*/** map:mount uri-prefix={1} src={1}/ check-reload=yes/ /map:match 4) symlink or copy the myapp/ directory to, and it should look like cocoon/samples/myapp/ 5) leave the myapp sitemap.xmap its working fine as a submount. 6) re-start tomcat 4.1.x since you have added the myapp.jar in step 2. for tomcat to recognize the jar file added. 7) in browser http://localhost:8080/cocoon/samples/myapp/ and whoala it works. at least on mine :) 8) check the Turkey temperature..opps that just for me..happy holidays. aps --- [EMAIL PROTECTED] wrote: J., I just installed myapp under Tomcat 4.1 and got the same error you did. I'm not enough of a Servlet API expert to know for sure, but it seems to be an API conflict. For now, I recommend using Tomcat 4.0.6 to run the myapp tutorial. -- jack John R. Callahan, Ph.D. CTO Sphere Software Corporation - The Intelligence of XML [EMAIL PROTECTED] 410-772-9740 x1116 509-532-1536 (efax) 410-598-2157 (cell) I took a look at your tutorial, and I'm having trouble getting the example application to work. ( Specifically, I'm getting this error ): javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:962) java.lang.VerifyError: Cannot inherit from final class at java.lang.ClassLoader.defineClass0(Native Method) I highly suspect that it has something to do with the way I tried to integrate it into my existing Tomcat 4.1 environment. ( Unpacked the zip file, named the folder cmswatch, put the folder under the webapps directory. ) -- and that's all, as far as setup. I did notice that the servlet has the same name as the servlet in the original cocoon directory. Will that cause a problem? ( Can you tell how new I am to this? ) Any help you can offer is appreciated. I'd like to at least get past this snag soon. Thanks, J. On Tue, 24 Dec 2002 08:04:49 -0800, John R. Callahan wrote: FYI... I have written a brief article on Cocoon (with tutorial and downloadable demo). The article is available at: http://www.cmswatch.com/Features/ProductWatch/FeaturedProduct/?featur e_id=81 The associated demo is available at: http://www.sphere.com/docs/myapp.zip The demo is meant to be installed as a webapps subdirectory (no, not as a war file) in Tomcat 4.0.6. The myapp.zip file includes everything you need (all jar files, etc.) and could even serve as a minimal Cocoon application for beginners. It is based on 2.1dev and requires JDK1.3. I've tested it with Tomcat 4.0.6 and Resin 2.x. (I've also got PPT slides to accompany the article if anyone wants them :-p) Thanks for Carsten, Matthew, Lajos and Jeremy for their inspiring and helpful books! Enjoy! -- jack John R. Callahan, Ph.D. CTO Sphere Software Corporation (www.sphere.com) - The Intelligence of XML [EMAIL PROTECTED] 410-772-9740 x1116 509-352-1536 (eFax) - 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] - 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] - 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] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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]
esql in Cocoon-2.1-dev not working well?
Esql file that works in Tomcat 4.0.1 does not work in Tomcat 4.1.12? I have compiled the nightly download 12/20/2002 and running most of the samples on a Tomcat 4.1.12. I added the datasources for oracle and mysql (cocoon.xconf), the jdbc drivers (in WEB-INF/lib/ and modified web.xml), I added a submount by symlinking it under cocoon/samples/ctwig ie cocoon/samples/ctwig/ctwig. Basic xml files are transformed using xsl files just like the CTWIG sample. I symlinked this directory that has esql query with its corresponding xsl file to this directory. (btw the base directory is located in another Tomcat 4.0.1/webapps/cocoon/ctwig/). Launched Tomcat 4.1.12, point my browser to http://localhost:8080/cocoon/samples/ctwig/ctwig/esqlora2.xml and I get errors. Launched Tomcat 4.0.1 (now .12 and .1) up, point my browser to 4.0.1 relateted url, http://localhost:8069/cocoon/ctwig/esqlora2.xml it works fine, the query is executed and the table is displayed. This is the same file with different results Why? The error on 4.1.12 is: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing statement: SELECT * FROM emp: java.sql.SQLException: Invalid argument(s) in call: absolute (0) at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:275) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:513) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:192) this is esqlora2.xml ?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; page titleA Database Driven XSP Page/title content esql:connection esql:poolpersonnel/esql:pool esql:execute-query esql:querySELECT * FROM emp/esql:query esql:results table esql:row-results tr tdesql:get-string column=empno//td tdesql:get-string column=ename//td tdesql:get-string column=job//td tdesql:get-string column=deptno//td tdesql:get-string column=mgr//td tdesql:get-date column=hiredate//td tdesql:get-string column=sal//td tdesql:get-row-position //td /tr /esql:row-results /table /esql:results esql:no-results pSorry, no results!/p /esql:no-results /esql:execute-query /esql:connection /content /page /xsp:page __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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]
Form is null [id=form-feedback] Exception- Xml form HowTo
You get this because of this Form is null [id=form-feedback]. Change all *.xml forms on the howto to have id=form-howto instead of the form-feedback and this should take care of this error. Next problem would be to comb over the logic of the HowtoBean, it gets stuck on the Cooking mailing list because of a typo, traditionalReciepes it should be traditionalRecipes. I have not corrected this part myself, so I have not seen how the confirm.xml and would be displayed. One thing though is that I have not gone over the logic of HowtoWizardAction, I would like to expire the session after a succesful test so that subsequent visit of the same howto previous selections are not kept in the session. ey How about your turn in resolving this part? wink aps __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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 form How to-Sitemap
I finally got the XMLForm howto- to work. If you compare the components on the sitemap.xmap the wizard vs howto uses different logger ( logger=xmlform.sitemap.action.wizard/ ) vs (logger=webapp.xmlform/ ). I have not dig enuff to find the differences of the two. Hopefully the author would chime in and tell us the differences of the two loggers. The components on mine have these now: map:action name=WizardAction src=org.apache.cocoon.samples.xml form.WizardAction logger=xmlform.sitemap.action.wizard/ map:action name=HowtoWizardAction src=org.apache.cocoon.sample s.xmlform.howto.HowtoWizardAction logger=webapp.xmlform/ map:action name=UsageFeedbackAction src=org.apache.cocoon.samp les.xmlform.UsageFeedbackAction logger=xmlform.sitemap.action.UsageFeedback/ map:generators default=file/ map:transformers default=xslt map:transformer name=xmlform src=org.apache.cocoon.transformation.XMLFormTransformer logger=webapp.xmlform/ /map:transformers map:readers default=resource/ map:serializers default=html/ map:selectors default=browser/ map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcher/ /map:matchers aps __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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 form How to-Sitemap
Hmm I spoke too soon, it was getting in an endless loop once I select all the 3 checkboxes at Mailing List, checking only last one or two boxes, got me to the finish. weird output display depending on kde browser or ns4.7. --- aps olute [EMAIL PROTECTED] wrote: I finally got the XMLForm howto- to work. If you compare the components on the sitemap.xmap the wizard vs howto uses different logger ( logger=xmlform.sitemap.action.wizard/ ) vs (logger=webapp.xmlform/ ). I have not dig enuff to find the differences of the two. Hopefully the author would chime in and tell us the differences of the two loggers. The components on mine have these now: map:action name=WizardAction src=org.apache.cocoon.samples.xml form.WizardAction logger=xmlform.sitemap.action.wizard/ map:action name=HowtoWizardAction src=org.apache.cocoon.sample s.xmlform.howto.HowtoWizardAction logger=webapp.xmlform/ map:action name=UsageFeedbackAction src=org.apache.cocoon.samp les.xmlform.UsageFeedbackAction logger=xmlform.sitemap.action.UsageFeedback/ map:generators default=file/ map:transformers default=xslt map:transformer name=xmlform src=org.apache.cocoon.transformation.XMLFormTransformer logger=webapp.xmlform/ /map:transformers map:readers default=resource/ map:serializers default=html/ map:selectors default=browser/ map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcher/ /map:matchers aps __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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]
I cant get the latest nightly download to work
I just downloaded xml-cocoon2_20021220172546.tar.gz, extracted it and did per the instructions to compile and no errors : ./build.sh -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_ HOME/webapps webapp Did above twice and copied build/cocoon/cocoon.war to $TOMCAT_HOME/webapps/ typed http://localhost:8080/cocoon and got an error: Cocoon 2 - Internal server error type fatal message Failed to execute pipeline. description org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.CascadingIOException: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property!: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property! ...more errors __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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: I cant get the latest nightly download to work
Thanks for the info. Anyhow, I had the java/jre/lib/endorsed with some older xml jars, erased those, and then created the TOMCAT_HOME/common/endorsed as you suggested, copied over the xml jar files (xalan-2.4.1.jar xercesImpl-2.1.0.jar xml-apis.jar xsltc.jar) from xml-cocoon2/common/endorsed/ I also tried just for kicks having both 4files at java/jre/lib/endorsed and at TOMCAT_HOME/common/endorsed with exact same errors. Also tried having those 4 jar files in the java/jre/lib/endorsed and still same errors. Would the xerces.jar at TOMCAT_HOME/common/lib/ conflict with TOMCAT_HOME/common/endorsed/xercesImpl-2.1.0.jar ? but it didnt seem like, Any other ideas? --- Geoff Howard [EMAIL PROTECTED] wrote: That's the error you get when there's a problem with the endorsed xml jars in jdk 1.4. If this is a fresh install, you need to go read the instructions for jdk1.4 (if you're using tomcat, you need to be aware that it overrides the default endorsed directory and the jars need to go in $TOMCAT_HOME/common/endorsed/ If this is an upgrade, the problem is probably just that a newer version of one of those jars is in WEB-INF/lib than is in endorsed and you need to get them in sync (probably by deleting the one in endorsed and moving the newer one over) Geoff -Original Message- From: aps olute [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 4:11 PM To: [EMAIL PROTECTED] Subject: I cant get the latest nightly download to work I just downloaded xml-cocoon2_20021220172546.tar.gz, extracted it and did per the instructions to compile and no errors : ./build.sh -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_ HOME/webapps webapp Did above twice and copied build/cocoon/cocoon.war to $TOMCAT_HOME/webapps/ typed http://localhost:8080/cocoon and got an error: Cocoon 2 - Internal server error type fatal message Failed to execute pipeline. description org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.CascadingIOException: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property!: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property! ...more errors __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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] - 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] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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]
Where to get the 2.1-dev without using CVS?
Can the 2.1-dev download retrieved without using CVS? Is the cvs version not guaranteed to compile? sorry for the newbie questions. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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: XMLForm - How to - question
Ivelin, So far your responses regarding this subject is to refer one to another link which I have already read but do not quite understand well and still have further questions that all you need is clarify it for me. If it was that simple to understand I would not be asking for more clarification. I am requesting a little more leeway as some of this concept does not sink-in yet. The most pressing one is the usage of a subdirectory wizard or howto in your example(which DOES NOT WORK). Can you take a moment to clarify what directory name should be created and to put the start.xml and most of the xml files in your sample? In regards to the {page} question, I think I understood it, but a simple yes or no answer would have suffice to confirm instead of go read the docs which put me back to no confidence in the sample. Why is this so hard to do for you experts to say yes the presumptions are correct or no its incorrect? Respectfully.. aps --- aps olute [EMAIL PROTECTED] wrote: I can not get the XMLForm Wizard How To to work, so I tried to follow the sample working and have some question. 1. In the cocoon/samples/xmlform/sitemap.xmap how does the mapping from map:match pattern=wizard.html map:act type=WizardAction ... ... map:generate src=wizard/{page}.xml/ this part I did not quite understand. A directory of wizard/ is there for it to work, so for the howto-wizard.html a corresponding howto-wizard.html/ directory must be created? But it seems not right as the descriptor file says map:generate src=howto/{page}.xml/ VERY CONFUSING. Please help. I have it like cocoon/samples/xmlform/howto/start.xml thinking it would point here and the error keeps popping it cannot find the cocoon/samples/xmlform/howto/howto-wizard.html resource can not be found. 2. Furthermore, the {page} what is this? where does the matcher find this page? I suspect from looking at the WizardAction.java the prepare() method returns page(VIEW_staticonstant), are this the same page ? 3. What was done to make this page available to the matcher? Available in all the scope? ie, page, session, application or in particular scope only? Also if I have a generic type class a servlet returns like the page how to make this available to the matcher? 4.Looking around for same HOW-TO sample, they seem to import additional classes for example on this page, http://216.239.33.100/search?q=cache:nUkMoXPuDTUC:xml.apache.org/forrest/community/howto/xmlform/step4.html+how+to+use+XMLForm+hl=enie=UTF-8 __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - 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]
DatabaseAuthenticatorAction usage
I am trying to get this article by Lajos and can not get it to work. The section on using DatabaseAuthenticatorAction. How to display what has been entered on the form after submit so I can debug? Mysql has the Users table with user_name and user_password columns both varchar(5), and john1 as username and john1 as password. I entered this on the form, hit submit and the logon.html is redisplayed again as if the userid has not been set, see below in the log. Any help would be appreciated. http://www.javaworld.com/javaworld/jw-09-2002/jw-0920-cocoon-p3.html auth-info.xml: ?xml version=1.0 encoding=UTF-8? !-- pick off comparison from database -- auth-descriptor connectionmyown/connection table name=Users select dbcol=user_name type=string request-param=userid to-session=use rid/ select dbcol=user_password type=string request-param=userpwd/ /table /auth-descriptor login.html: html headtitle Login page for Cocoon. /title/head body bgcolor=white centerfont size=5 color=red Please Enter the following information: /font br form method=POST action=auth-info.xml font size=3 Userid input type=text name=userid size=5 /font br font size=3 Password input type=text name=userpwd size=5 /font br input type=submit name=action value=Submit /form /center/body/html on the access.log I see this, and I think the login.html is processed but not setting userid? DEBUG (2002-10-20) 10:01.26:311 [access] (/cocoon/protected/auth-info.xml) H ttpProcessor[8069][0]/AbstractEnvironment: Reset context to file:/u01/c2build/co coon-2.0.3/cocoon/ INFO(2002-10-20) 10:01.26:312 [access] (/cocoon/protected/auth-info.xml) H ttpProcessor[8069][0]/CocoonServlet: 'protected/auth-info.xml' Processed by Apac he Cocoon 2.0.3 in 15 milliseconds. DEBUG (2002-10-20) 10:01.26:320 [access] (/cocoon/protected/login.html) Http Processor[8069][0]/AbstractEnvironment: Changing Cocoon context DEBUG (2002-10-20) 10:01.26:320 [access] (/cocoon/protected/login.html) Http Processor[8069][0]/AbstractEnvironment: from context(file:/u01/c2build/cocoon- 2.0.3/cocoon/) and prefix() DEBUG (2002-10-20) 10:01.26:320 [access] (/cocoon/protected/login.html) Http Processor[8069][0]/AbstractEnvironment: to context(sitemap.xmap) and prefix() DEBUG (2002-10-20) 10:01.26:321 [access] (/cocoon/protected/login.html) Http Processor[8069][0]/AbstractEnvironment: at URI protected/login.html DEBUG (2002-10-20) 10:01.26:321 [access] (/cocoon/protected/login.html) Http Processor[8069][0]/AbstractEnvironment: New context is file:/u01/c2build/cocoon- 2.0.3/cocoon/ DEBUG (2002-10-20) 10:01.26:323 [access] (/cocoon/protected/login.html) Http Processor[8069][0]/AbstractEnvironment: Resolving 'secret/login.html' in context 'file:/u01/c2build/cocoon-2.0.3/cocoon/' More clues from sitemap.log: DEBUG (2002-10-20) 10:01.16:790 [sitemap] (/cocoon/protected/login.html) Htt pProcessor[8069][0]/sitemap_xmap: Source= secret/login.html DEBUG (2002-10-20) 10:01.16:790 [sitemap] (/cocoon/protected/login.html) Htt pProcessor[8069][0]/sitemap_xmap: Mime-type= text/html DEBUG (2002-10-20) 10:01.26:308 [sitemap] (/cocoon/protected/auth-info.xml) HttpProcessor[8069][0]/sitemap_xmap: Matched wildcard pattern protected/* DEBUG (2002-10-20) 10:01.26:308 [sitemap] (/cocoon/protected/auth-info.xml) HttpProcessor[8069][0]/AbstractSitemap: Current Sitemap Parameters: PARAM: '1' VALUE: 'auth-info.xml' PARAM: '0' VALUE: 'protected/auth-info.xml' DEBUG (2002-10-20) 10:01.26:309 [sitemap.matcher.sessionstate] (/cocoon/prot ected/auth-info.xml) HttpProcessor[8069][0]/WildcardSessionAttributeMatcher: Ses sion attribute 'userid' not set. DEBUG (2002-10-20) 10:01.26:309 [sitemap] (/cocoon/protected/auth-info.xml) HttpProcessor[8069][0]/sitemap_xmap: Sitemap: session='false', redirecting to lo gin.html DEBUG (2002-10-20) 10:01.26:322 [sitemap] (/cocoon/protected/login.html) Htt pProcessor[8069][0]/sitemap_xmap: Matched wildcard pattern protected/login.html DEBUG (2002-10-20) 10:01.26:322 [sitemap] (/cocoon/protected/login.html) Htt pProcessor[8069][0]/AbstractSitemap: Current Sitemap Parameters: PARAM: '0' VALUE: 'protected/login.html' DEBUG (2002-10-20) 10:01.26:322 [sitemap] (/cocoon/protected/login.html) Htt pProcessor[8069][0]/sitemap_xmap: Component reader:resource(Parameters.EMPTY_PAR AMETERS) DEBUG (2002-10-20) 10:01.26:322 [sitemap] (/cocoon/protected/login.html) Htt pProcessor[8069][0]/sitemap_xmap: Source= secret/login.html DEBUG (2002-10-20) 10:01.26:323 [sitemap] (/cocoon/protected/login.html) Htt pProcessor[8069][0]/sitemap_xmap: Mime-type= text/html __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ - Please check that your question has not already been answered
Help with sitemap.xmap on 2.1 Dev - Driving me Crazy
I have compiled the cvs 2.1 dev version several times as one had suggested, some of the samples work some not. Specifically I wanted to run the Sample Forms - Form Validation, however the sitemap seems to be not right, it is not pointing to correct directory for the resource. 1. The main sitemap.xmap has the map:match pattern=*/** map:mount check-reload=yes src={1}/ uri-prefix={1}/ /map:match for a url of http://localhost:8080/cocoon/samples/formvalidation/test it should go to a sub mount of cocoon/samples and then use the cocoon/samples/sitemap.xmap right? please clarify if i am wrong. 2. the cocoon/samples/sitemap.xmap has: map:match pattern=formvalidation/test map:act type=form-validator map:parameter name=descriptor value=docs/samples/formvalidation/desc riptor.xml/ map:parameter name=validate-set value=car-reservation/ map:call resource=dynamic-page map:parameter name=target value=docs/samples/formvalidation/OK/ /map:call /map:act map:call resource=dynamic-page map:parameter name=target value=docs/samples/formvalidation/ERROR/ /map:call /map:match here, it looks for docs/samples/formvalidation/descriptor.xml under cocoon/ or under cocoon/samples ? fyi, I do have cocoon/samples/docs/samples/formvalidation/descriptor.xml BUT BUT the error I get when browing the url http://localhost:8080/cocoon/samples/formvalidation/test is below and why is it looking for cocoon/samples/formvalidation/sitemap.xmap ? org.apache.cocoon.ProcessingException: Failed to load sitemap from file:/u01/t41xbeta/t419/webapps/cocoon/samples/formvalidation/sitemap.xmap: org.apache.cocoon.ResourceNotFoundException: Resource not found.: org.apache.excalibur.source.SourceNotFoundException: Resource not found file:/u01/t41xbeta/t419/webapps/cocoon/samples/formvalidation/sitemap.xmap Having this additional level of cocoon/samples compared to 2.0.3 of just cocoon/ is throwing the sitemap off and cant find the resource. PLEASE HELP. Let me know how to correct the cocoon/samples/sitemap.xmap. Thank you. __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com - 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]
Action + Sql Transformer
I've been out of luck trying to get samples to work for Actions and SQL Transformer. For the sample Action I am receiving a: org.apache.cocoon.ProcessingException: The prefix xsp-request for element xsp-request:get-attribute is not bound.: org.xml.sax.SAXParseException: The prefix xsp-request for element xsp-request:get-attribute is not bound. I used http://localhost:8080/cocoon/fileWhat do I need to do to correct this? Btw, this is from the http://xml.apache.org/cocoon/userdocs/concepts/actions.html And for the SQL Transformer sample - no results from database query. I ran the http://localhost:8080/cocoon/docs/samples/sql/sqlpage and just gets the Hello This is my first Cocoon2 page filled with sql data! I have searched this newsgroup and found some other who had similar issues but were not able to get it working either. Someone had mentioned about viewing intermediate results between a source to sql transformer, or between transformers but I dont know how to configure mine to setup a view and see the intermediate xml files. Thanks in advance for any assistance. - 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: XMLForm Howto - not Working still
Reference my previous posting: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=103438719303078w=2 Logs gathered from logs/sitemap.log hopefully this will assist in troubleshooting as the I get is stil get The requested URI /cocoon/samples/xmlform/howto-wizard.html was not found. DEBUG (2002-10-12) 07:07.05:498 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/InvokeContext: Current Sitemap Parameters: PARAM: '2' VALUE: 'xmlform/howto-wizard.html' PARAM: '1' VALUE: 'samples' PARAM: '0' VALUE: 'samples/xmlform/howto-wizard.html' INFO(2002-10-12) 07:07.05:500 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/PreparableMatchNode: Matcher 'wildcard' matched prepared pattern '*/**' at file:/u01/t41xbeta/t419/webapps/cocoon/samples/sitemap.xmap:1001:30 DEBUG (2002-10-12) 07:07.05:501 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/InvokeContext: Current Sitemap Parameters: PARAM: '2' VALUE: 'howto-wizard.html' PARAM: '1' VALUE: 'xmlform' PARAM: '0' VALUE: 'xmlform/howto-wizard.html' INFO(2002-10-12) 07:07.05:502 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/PreparableMatchNode: Matcher 'wildcard' matched prepared pattern 'howto-wizard.html' at file:/u01/t41xbeta/t419/webapps/cocoon/samples/xmlform/sitemap.xmap:98:48 DEBUG (2002-10-12) 07:07.05:503 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/InvokeContext: Current Sitemap Parameters: PARAM: '0' VALUE: 'howto-wizard.html' DEBUG (2002-10-12) 07:07.05:503 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ResourceLimitingPool: Got a org.apache.cocoon.samples.xmlform.WizardAction from the pool. DEBUG (2002-10-12) 07:07.05:503 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ResourceLimitingPool: Put a org.apache.cocoon.samples.xmlform.WizardAction back into the pool. DEBUG (2002-10-12) 07:07.05:504 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/InvokeContext: Current Sitemap Parameters: PARAM: 'page' VALUE: 'start' PARAM: '../0' VALUE: 'howto-wizard.html' DEBUG (2002-10-12) 07:07.05:504 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ResourceLimitingPool: Got a org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline from the pool. DEBUG (2002-10-12) 07:07.05:504 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ExcaliburComponentSelector: generators: ComponentSelector could not find the component for hint [file] DEBUG (2002-10-12) 07:07.05:505 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ExcaliburComponentSelector: generators: ComponentSelector could not find the component for hint [file] DEBUG (2002-10-12) 07:07.05:505 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ResourceLimitingPool: Got a org.apache.cocoon.generation.FileGenerator from the pool. DEBUG (2002-10-12) 07:07.05:505 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ResourceLimitingPool: Got a org.apache.cocoon.transformation.XMLFormTransformer from the pool. DEBUG (2002-10-12) 07:07.05:506 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ExcaliburComponentSelector: transformers: ComponentSelector could not find the component for hint [xslt] DEBUG (2002-10-12) 07:07.05:506 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ExcaliburComponentSelector: transformers: ComponentSelector could not find the component for hint [xslt] DEBUG (2002-10-12) 07:07.05:507 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ResourceLimitingPool: Got a org.apache.cocoon.transformation.TraxTransformer from the pool. DEBUG (2002-10-12) 07:07.05:507 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ExcaliburComponentSelector: transformers: ComponentSelector could not find the component for hint [xslt] DEBUG (2002-10-12) 07:07.05:507 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ExcaliburComponentSelector: transformers: ComponentSelector could not find the component for hint [xslt] DEBUG (2002-10-12) 07:07.05:508 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ResourceLimitingPool: Got a org.apache.cocoon.transformation.TraxTransformer from the pool. DEBUG (2002-10-12) 07:07.05:508 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ExcaliburComponentSelector: serializers: ComponentSelector could not find the component for hint [html] DEBUG (2002-10-12) 07:07.05:508 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ExcaliburComponentSelector: serializers: ComponentSelector could not find the component for hint [html] DEBUG (2002-10-12) 07:07.05:509 [sitemap] (/cocoon/samples/xmlform/howto-wizard.html) Thread-11/ResourceLimitingPool: Got a org.apache.cocoon.serialization.HTMLSerializer from the pool. DEBUG (2002-10-12) 07:07.05:512 [sitemap.transformer.xsltc]
Usage of cocoo://
Couple of snippet code i'd like to get clarification map:match pattern=**/*.html map:generate src=cocoon:/{1}/index.xml/ this means to look for another matcher with pattern of **/index.xml on this sitemap.xmap correct? map:transform src=cocoon:/xsl-source/ similarly for this, it searches the xsl-source pattern? but these following with two / what are they matching for? since there are no pattern=/samples/sub/xsl-source in the sitemap. map:transform src=cocoon://samples/sub/xsl-source/ map:part src=cocoon://samples/sub/get/simple.xsp/ map:part src=cocoon://samples/sub1z/get/simple.xsp/ More sample codes with variation is sorely needed for us newbies. __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com - 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]