PLs HELP me ASAP
Dear All, I m trying to connect oracle from cocoon through XSP files, when I m getting a error like No connection in the pool. I have made changes to the cocoon.xconf file for the datasource tag. I m using oracle.jdbc.thin driver for this connectivity. Pls say me the necessery steps to come out from this Erronious condition. Thanks. Dhiman Paul. - 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: mod_jk and CocoonII
hello try to correct your URL you've written locatlhost instead of localhost remember : this is apache your drive the config so look again your httpdconf file try with your real IP eg: http://222.222.222.222/myapp instead localhost after check you mod_jk and path in your script hope you will find ;-) Foudyl http://www.hebergement-pro.com/ cocoon 2 , php, and JSP hosting -Message d'origine- De : Dwayne Kemp [mailto:[EMAIL PROTECTED]] Envoye : lundi 18 novembre 2002 20:10 A : [EMAIL PROTECTED] Objet : mod_jk and CocoonII Im using: Apache-1.3.23 Tomcat4-4.1.12 Cocoon2.0.3 mod_jk Cocoon II works fine from http://localhost:8080/my app but using the mod_jk when i go to http://locatlhost/my app only static content is served it will not render my xml. any suggestions would be appreciated. ///| Dwayne A. Kemp | | [EMAIL PROTECTED] if the gospel be hid it is hid | /| office 1: 856 764 1120 // to those that are lost | //| office 2: 609 387 5251 // | ///| office 3: 732 445 1907 ext. 6601 /// | | PROGRAMMER - DEVELOPER /// | ___| - 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]
Re: No connection in the pool
Hi You need to copy the classes.zip to common/lib. Rename .zip to .jar Connection pool configuration should have the port number with name and password dburl[EMAIL PROTECTED]:1521:xxx/dburl useruser1/user We could connect to oracle 8 in XSP Regards Sreenivasan At 12:19 PM 11/19/02 +0530, you wrote: Dear All, I m trying to connect oracle from cocoon through XSP files, when I m getting a error like No connection in the pool. I have made changes to the cocoon.xconf file for the datasource tag. I m using oracle.jdbc.thin driver for this connectivity. Pls say me the necessery steps to come out from this Erronious condition. Thanks. Dhiman Paul. - 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] Attitudes are much more important than aptitudes. Nothing is impossible for a willing heart Sreenivasan N. Sony SARD Ext 5816 Email. [EMAIL PROTECTED] Per: [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]
RE: pipeline result through SOAP?
In the scratchpad there are some examples with Axis. I have never looked into them but maybe the can help you. Regards, Reinhard -Original Message- From: Josema Alonso [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 2:06 AM To: Cocoon-Users Subject: pipeline result through SOAP? Hi, all. I have a pippeline which produces XML. This is the result of a query. I would like to offer this result as a SOAP Service taking a parameter. Are there any how-tos or something I could read before starting? Maybe someone implemented something similar already... Thanks. - 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]
Re: mod_jk and CocoonII
On Mon, Nov 18, 2002 at 02:09:54PM -0500, Dwayne Kemp wrote: Im using: Apache-1.3.23 Tomcat4-4.1.12 Cocoon2.0.3 mod_jk Cocoon II works fine from http://localhost:8080/my app but using the mod_jk when i go to http://locatlhost/my app only static content is served it will not render my xml. any suggestions would be appreciated. It must be a misconfiguration of mod_jk. Read the HOWTO in the Tomcat distribution, mod_jk works fine for me. -- Lenya Khachaturov mailto:[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]
RE: pipeline result through SOAP?
I've just took a look. It is using the AxisRPCReader. I thought a reader was something like a complete pipeline. I mean, it gets the request, and makes the needed steps to generate, transform and serialze. I'm using a transformer that already generates the wanted XML response. How could I embed the result in that reader? Btw, any step by step example on how to use that reader? I can see the XSL and XSP but can't figure out how to feed it with a SOAP request and get a SOAP response from it. -Mensaje original- De: Reinhard Poetz [mailto:[EMAIL PROTECTED]] Enviado el: martes, 19 de noviembre de 2002 11:17 Para: [EMAIL PROTECTED] Asunto: RE: pipeline result through SOAP? In the scratchpad there are some examples with Axis. I have never looked into them but maybe the can help you. Regards, Reinhard - 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 declaration in text/plain output
see my previous posting on this topic: http://marc.theaimsgroup.com/?l=xml-cocoon-devm=103598703627408w=2 this seems to be a long time bug in cocoon2.1-dev ;-) hth, Frank Taffelt - 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]
Sitemap redirect with target _top ?
Hallo! I am sitting in a frameset (not my idea ;-). In a sitemap which handles one frame I need to redirect to a url for the whole frameset (target = _top). Unfortunately I cannot find a target attribute in the map:redirect element. Is there any way to do this? Many thanks, Hans Dr. Hans M. Rupp danet Internet Solutions GmbH Waldburgstr. 17-19 70563 Stuttgart Germany Fon +49 711 133 53 50 Fax +49 711 133 53 53 -- - 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]
Trailing slashes in request
Hello, someone must have encountered this problem as well but I did not find anything useful (at least for me) in the archives. Sub-sitemap fragment: --- map:match pattern=admin map:redirect-to uri=admin/index/ /map:match map:match pattern=admin/ map:redirect-to uri=admin/index/ /map:match map:match pattern=admin/index map:generate src=admin/index.xml/ map:transform src=res/xsl/menu2html.xsl/ map:serialize/ /map:match --- So when someone hits http://mysite/cocoon/sub/admin; he is redirected to the index page as expected. But how do I get http://mysite/cocoon/sub/admin/; to work as well? At the moment cocoon returns a 404 error. And is there a way to define this redirect for all requests which did not match elsewhere? Something like map:match pattern=.*|.*/ type=regexp at the end of the pipeline? -- Matthias Brunner [EMAIL PROTECTED] PGP FP 7862 32B3 3B75 292A F76F 5042 8587 21AB 5B89 D501 Check out http://blumenstrasse.vol.at/~mb/gpgkey.asc - 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: Does apply-imports work?
Hi Phil, I have a stylesheet with the following matcher: xsl:template match=psi:pageContent name=psi_pageContent mode=psi_pageContent xsl:apply-templates select=psi:pageHead mode=psi_pageHead/ xsl:apply-templates select=psi:pageBody mode=psi_pageBody/ xsl:apply-templates select=psi:pageFoot mode=psi_pageFoot/ /xsl:template and another stylesheet that imports the above stylesheet with an overriding matcher: xsl:template match=psi:pageContent name=psi_pageContent mode=psi_pageContent body xsl:apply-imports/ try this: xsl:apply-imports mode=psi_pageContent/ /body /xsl:template Greetings, Boscoe - 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: Trailing slashes in request
The pattern you have below should work - is it possible you have a typo or some other problem causing the 404? In any case, you'll probably want to use the regex matcher instead of the plain wildcard matcher. I don't think it's defined by default in the sitemap so you may need to add map:matcher logger=sitemap.matcher.regexp name=regexp src=org.apache.cocoon.matching.RegexpURIMatcher/ to your map:matchers section. Then, you can just do something like map:match type=regexp pattern=admin/? ... HTH, Geoff Howard --- Matthias Brunner [EMAIL PROTECTED] wrote: Hello, someone must have encountered this problem as well but I did not find anything useful (at least for me) in the archives. Sub-sitemap fragment: --- map:match pattern=admin map:redirect-to uri=admin/index/ /map:match map:match pattern=admin/ map:redirect-to uri=admin/index/ /map:match map:match pattern=admin/index map:generate src=admin/index.xml/ map:transform src=res/xsl/menu2html.xsl/ map:serialize/ /map:match --- So when someone hits http://mysite/cocoon/sub/admin; he is redirected to the index page as expected. But how do I get http://mysite/cocoon/sub/admin/; to work as well? At the moment cocoon returns a 404 error. And is there a way to define this redirect for all requests which did not match elsewhere? Something like map:match pattern=.*|.*/ type=regexp at the end of the pipeline? -- Matthias Brunner [EMAIL PROTECTED] PGP FP 7862 32B3 3B75 292A F76F 5042 8587 21AB 5B89 D501 Check out http://blumenstrasse.vol.at/~mb/gpgkey.asc - 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! Web Hosting - Let the expert host your site http://webhosting.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: Sitemap redirect with target _top ?
Hans, I think there is no way because this can't be set in Cocoon (or any other web middleware). I would include a javascript in the target page which will make it to the top page. Regards, Reinhard -Original Message- From: Dr. Hans M. Rupp [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 12:18 PM To: Coocon-user Liste Subject: Sitemap redirect with target _top ? Hallo! I am sitting in a frameset (not my idea ;-). In a sitemap which handles one frame I need to redirect to a url for the whole frameset (target = _top). Unfortunately I cannot find a target attribute in the map:redirect element. Is there any way to do this? Many thanks, Hans Dr. Hans M. Rupp danet Internet Solutions GmbH Waldburgstr. 17-19 70563 Stuttgart Germany Fon +49 711 133 53 50 Fax +49 711 133 53 53 -- - 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]
Re: Trailing slashes in request
oops - the regular expression match I gave you can obviously cause problems because it's not restrictive enough. In a similar case, I use: map:match type=regexp pattern=^admin[/]?$... the brackets don't have a functional purpose in this case - I just find it easier to read that way. Geoff --- Geoff Howard [EMAIL PROTECTED] wrote: The pattern you have below should work - is it possible you have a typo or some other problem causing the 404? In any case, you'll probably want to use the regex matcher instead of the plain wildcard matcher. I don't think it's defined by default in the sitemap so you may need to add map:matcher logger=sitemap.matcher.regexp name=regexp src=org.apache.cocoon.matching.RegexpURIMatcher/ to your map:matchers section. Then, you can just do something like map:match type=regexp pattern=admin/? ... HTH, Geoff Howard --- Matthias Brunner [EMAIL PROTECTED] wrote: Hello, someone must have encountered this problem as well but I did not find anything useful (at least for me) in the archives. Sub-sitemap fragment: --- map:match pattern=admin map:redirect-to uri=admin/index/ /map:match map:match pattern=admin/ map:redirect-to uri=admin/index/ /map:match map:match pattern=admin/index map:generate src=admin/index.xml/ map:transform src=res/xsl/menu2html.xsl/ map:serialize/ /map:match --- So when someone hits http://mysite/cocoon/sub/admin; he is redirected to the index page as expected. But how do I get http://mysite/cocoon/sub/admin/; to work as well? At the moment cocoon returns a 404 error. And is there a way to define this redirect for all requests which did not match elsewhere? Something like map:match pattern=.*|.*/ type=regexp at the end of the pipeline? -- Matthias Brunner [EMAIL PROTECTED] PGP FP 7862 32B3 3B75 292A F76F 5042 8587 21AB 5B89 D501 Check out http://blumenstrasse.vol.at/~mb/gpgkey.asc - 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! Web Hosting - Let the expert host your site http://webhosting.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! Web Hosting - Let the expert host your site http://webhosting.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: Trailing slashes in request
On Tuesday 19 November 2002 14:48, Geoff Howard wrote: oops - the regular expression match I gave you can obviously cause problems because it's not restrictive enough. In a similar case, I use: map:match type=regexp pattern=^admin[/]?$... the brackets don't have a functional purpose in this case - I just find it easier to read that way. I have just found out that I have been mounting the sub-sitemap below the **/ pattern which invokes the DirectoryGenerator :) Corrected this. Unfortunately the following does not even work now: map:match pattern=^admin[/]?$ type=regexp map:redirect-to uri=admin/index/ /map:match http://mysite/cocoon/sub/admin does work but http://mysite/cocoon/sub/admin/ is redirected to http://mysite/cocoon/sub/admin/admin/index. Yet these are problems I can solve myself. Again, thank you. -- Matthias Brunner [EMAIL PROTECTED] PGP FP 7862 32B3 3B75 292A F76F 5042 8587 21AB 5B89 D501 Check out http://blumenstrasse.vol.at/~mb/gpgkey.asc - 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: Have I got any other option than to
On Tuesday, Nov 19, 2002, at 08:15 Europe/London, [EMAIL PROTECTED] wrote: Jeremy, Thanks for this, what you suggest is what I need, but it does mean that I have to produce a summary element for all of my documents (could be tricky as they come out of a content management system - but that is a different story!). If I 'patch' LuceneIndexContentHandler myself, do I just alter the source code as you suggest, recompile and overwrite the existing class/ repackage into a new jar (I don't know how to do the latter unfortunately but I presume I can find out)? yes, modify the file and recompile read the docs about how to compile Cocoon The next part about having a special xslt presumably goes something like this... map:views map:view name=content from-label=content map:transform src=stylesheets/search-index.xsl/ map:serialize type=xml/ /map:view right again with a generator of map:generator label=content name=file src=org.apache.cocoon.generation.FileGenerator/ if you are using files, yes, it will work with any Generator all Generators are preset with the 'content' view. I needed to get my content from a different part of my pipeline, because I use CInclude aggregation, I set up a new view for this called 'include'. my pipeline looks like this: map:generate src=content/{res}.xml/ map:transform src=parts/xsl/components.xsl map:parameter name=res value={res}/ map:parameter name=id value={id}/ /map:transform map:transform type=cinclude label=include/ !-- new view -- map:transform src=parts/xsl/get-chapter-links.xsl/ map:transform src=parts/xsl/make-chapter-links.xsl/ map:transform src=parts/xsl/doc2html.xsl map:parameter name=res value={res}/ map:parameter name=prefix value={prefix}/ map:parameter name=display value={display}/ /map:transform map:serialize/ and my view looks like this: map:view from-label=include name=content map:transform src=parts/xsl/search-filter.xsl/ map:serialize type=xml/ /map:view you can see how I have mapped the 'include' view to the 'content' view. one day the view used by the indexer will be configurable (ATM is is fixed as 'content'), so you can choose whatever view you like, directly Am I on the right lines with this looks like it regards Jeremy - 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]
Help with Action that puts XML fragment in Session
Hi, I would be gratefull if anyone could shed some light on the problem I encounter. I try to use a self-written Action that produces an XML fragment (as an XMLizable object) and puts this in the Session. After which I use the SessionAttributeGenerator to generate this XML from the session and output it to the browser. Here is the submap that I'm using: sitemap.xmap Here is the source code for my Action: MyMessage.java ProduceMessage.java The result of this is that the code past the new MyMessage() statement is NEVER executed If I change ProduceMessage.java to directly put the XML fragment as a String object in the session, the desired result is produced. I suspect there is a problem when trying to load a class (MyMessage) from whithin the action, but I can't get the explanation by debugging the stuff. I'm using JDK 1.3.1, Tomcat 4.0.2 and Cocoon 2.0.3 under Windows 2000. Thanx for your help. Regards, Francis Ing. FRA Vermeulen Senior J2EE Architect ECM Solutions - Eindhoven mobiel: +31 (0) 6 222 03 856 e-mail: [EMAIL PROTECTED] sitemap.xmap Description: Binary data MyMessage.java Description: Binary data ProduceMessage.java Description: Binary data - 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: PLs HELP me ASAP
On Tue, Nov 19, 2002 at 01:58:39PM +0530, Dhiman Paul wrote: Dear All, I m trying to connect oracle from cocoon through XSP files, when I m getting a error like No connection in the pool. I have made changes to the cocoon.xconf file for the datasource tag. I m using oracle.jdbc.thin driver for this connectivity. Pls say me the necessery steps to come out from this Erronious condition. Thanks. Dhiman Paul. Your question has been answered already, didn't you receive it? -- Lenya Khachaturov mailto:[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]
Re: Have I got any other option than to
This was how I did it originally, yes, it works fine, but I found it much slower :( regards Jeremy PS. Always glad to help the Police with their enquiries ;) On Tuesday, Nov 19, 2002, at 16:15 Europe/London, [EMAIL PROTECTED] wrote: Jeremy, Thanks again for your reply. I have though had another thought which appears to work ;-) This involves using some of the ideas from http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=102617106411067w=2 which basically refers to using xpointer to get a document fragment using the @search:uri attribute of the search results xml (using the SearchGenerator) e.g. a target=_blank href={@search:uri} xi:include href={concat(substring-before($url, '.htm'), '.xml')}#xpointer(/news_item/heading/text()) / /abr / xi:include href={concat(substring-before($url, '.htm'), '.xml')}#xpointer(/news_item/body/paragraph[1]) / This appears to work. I am sure there is some reason why this isn't in keeping with SoC etc. of cocoon but I can't see why it shouldn't as the importing of other xml document fragments is done with the same xsl stylesheet as is doing the rest of the formatting. Anyway, unless I come across another reason for not doing it this way this works for me (at the moment). The only issue I have got to get to grips with now is how not to actually index the content of the index.xml file and how to make the stylesheet more generic if it doesn't find the elements pointed to by xpointer expression. Cheers for all your help (I have no doubt that this thread will come into play with what I will come across with this project!) Conrad Conrad Crampton J Software Solutions Kent Police FHQ 11 Edinburgh Square Sutton Road Maidstone Kent ME15 9BZ - 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 - dynamic result table
Hello, Does someone know how generate dynamical result table, without using esql:get-columns/? I would like to get column, where in the first line will be label's of column and another lines will be Generated directly from result. I am in this way: esql:results xsp:logic int columns = esql:get-column-count/; /xsp:logic table class=dotted cellspacing=0 cellpadding=2 width=100% row xsp:attribute name=bgcolor#AA/xsp:attribute xsp:logic for (int x=1; x lt; columns+1; x++) { data b esql:get-column-name column=1/ /b /data } /xsp:logic /row esql:row-results row xsp:logic for (int x=1; x lt; columns+1; x++) { data esql:get-ascii column=1/ /data } /xsp:logic /row /esql:row-results /table /esql:results Everything is fine, but I don't know how I could change attributes number COLUMN in tags esql:get-column-name/ and esql:get-ascii/ and remove value "1" by value of variable "x". Thanx for some suggestion and help. JayKay - JaroslavKazmir Institute of Information Systems Information Management JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, A-8010 Graz, AUSTRIA phone: +43-316-876-1140 fax: +43-316-876-1191 web: http://iis.joanneum.at e-mail: mailto:[EMAIL PROTECTED] -
RE: esql - dynamic result table
I never actually used the esql logicsheet but did you try esql:column tag. For example, esql:get-column-name esql:columnxsp:exprx/xsp:expr/esql:column /esql:get-column-name Artur... -Original Message- From: Kazmír, Jaroslav [mailto:[EMAIL PROTECTED]] Sent: November 19, 2002 2:04 PM To: '[EMAIL PROTECTED]' Subject: esql - dynamic result table Hello, Does someone know how generate dynamical result table, without using esql:get-columns/? I would like to get column, where in the first line will be label's of column and another lines will be Generated directly from result. I am in this way: esql:results xsp:logic int columns = esql:get-column-count/; /xsp:logic table class=dotted cellspacing=0 cellpadding=2 width=100% row xsp:attribute name=bgcolor#AA/xsp:attribute xsp:logic for (int x=1; x lt; columns+1; x++) { data b esql:get-column-name column=1/ /b /data } /xsp:logic /row esql:row-results row xsp:logic for (int x=1; x lt; columns+1; x++) { data esql:get-ascii column=1/ /data } /xsp:logic /row /esql:row-results /table /esql:results Everything is fine, but I don't know how I could change attributes number COLUMN in tags esql:get-column-name/ and esql:get-ascii/ and remove value 1 by value of variable x. Thanx for some suggestion and help. JayKay - Jaroslav Kazmir Institute of Information Systems Information Management JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, A-8010 Graz, AUSTRIA phone: +43-316-876-1140 fax: +43-316-876-1191 web:http://iis.joanneum.at e-mail: mailto:[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]
Cocoon GetTogehter in Ghent
Cocoon GetTogehter in Ghent. Matthew, Steven and Ovidiu are blogging away in real time - here are the links: http://radio.weblogs.com/0103021/ http://radio.weblogs.com/0103539/ http://www.webweavertech.com/ovidiu/weblog/index.html - 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: mod_jk and CocoonII
You need lines like this in your apache httpd.conf (or included therein): JkMount /my ajp13 JkMount /my/* ajp13 These lines tell apache to forward any requests for the mounted URI's to tomcat via the AJP13 protocol which will then get processed by cocoon. - 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]
Cocoon Portal Sample - Failed to execute pipeline error
Hello everyone, I use JDK 1.4.1 + Tomcat 4.1.12 + Cocoon 2.1 DEV Updated Head CVS on Windows 2000. Cocoon seems to be using the correct versions of Xerces, Xalan and XML-Api (from the Tomcat endorsed directory). Samples are running quite nicely :-) except for: 1) The XMLForm-sample error already reported by Wolfram. 2) The Portal Framework Sample: I get an error 500 with The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode notifies that org.apache.cocoon.ProcessingException says: Failed to execute pipeline. More precisely: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.NullPointerException ... (Full Trace after end of message). Behaviour is that you get the error after you log in the Portal, and if you return to the URI after you are authentificated, then you always get the error (make sense). So at first it seems that its working but when you log as guest or cocoon, then you get the error. Question is: 1) Should it be working? 2) Or it is just that this area is Work in Progress (yeah I know its 2.1 DEV). Help very appreciated. Franck Lumpe Iberplus Internet, S.L. ___ Original exception : java.lang.NullPointerException at org.apache.cocoon.xml.dom.DOMBuilder.getDocument(DOMBuilder.java:178) at org.apache.cocoon.components.source.SourceUtil.toDOM(SourceUtil.java:172) at org.apache.cocoon.components.source.SourceUtil.readDOM(SourceUtil.java:420) at org.apache.cocoon.webapps.portal.components.PortalManager.buildRoleProfile(P ortalManager.java:3669) at org.apache.cocoon.webapps.portal.components.PortalManager.buildProfile(Porta lManager.java:1258) at org.apache.cocoon.webapps.portal.components.PortalManager.createProfile(Port alManager.java:3479) at org.apache.cocoon.webapps.portal.components.PortalManager.showPortal(PortalM anager.java:763) at org.apache.cocoon.webapps.portal.generation.PortalGenerator.generate(PortalG enerator.java:84) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLP ipeline(AbstractProcessingPipeline.java:512) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline .processXMLPipeline(AbstractCachingProcessingPipeline.java:204) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Abs tractProcessingPipeline.java:483) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri alizeNode.java:149) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:85) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:166) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:85) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp eNode.java:158) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:85) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:166) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:109) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:109) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe linesNode.java:143) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:326) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:308) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod e.java:131) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:85) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:166) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:109) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:109) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe linesNode.java:143) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:326) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:308) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod e.java:131) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:85) at
Problem with namespaces
Hi everybody I have a cocoon version number 2.0.3 and a tomcat version number 4.0.1 I have a XSP page where I have logical. If i load that page with the logical and Java source in the same page I not have any problem. In the xsp page I have something like ?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 xsp:logic int cod_empresa; cod_empresa=1; /xsp:logic /page /xsp:page Here all is ok, but I need to work with logicsheets. I want to put the logic in a logicsheet. In my cocoon.xconf file I have this code lines builtin-logicsheet parameter name=prefix value=sgcwebxml/ parameter name=uri value=http://sgcwebxml.com/xsp/1.0/ parameter name=href value=resource://sgcwebxml/logicsheets/sgcwebxml.xsl/ /builtin-logicsheet The logicsheet is this ?xml version='1.0'? xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version='1.0' xmlns:xlink=http://www.w3.org/1999/xlink; xmlns:xsp=http://apache.org/xsp; xmlns:sgcwebxml=http://sgcwebxml.com/xsp/1.0; xsl:template match=sgcwebxml:obtenerDato xsp:logic int cod_empresa; cod_empresa=1; /xsp:logic /xsl:stylesheet And in my xsp page, where I want to use the logicsheets (the logicsheet is the sgcwebxml.xsl file, and it is in the coocon/WEB- INF/classes/sgcwebxml/logicsheets directory) I have something like that xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp-request=http://apache.org/xsp/request/2.0; xmlns:util=http://apache.org/xsp/util/2.0; xmlns:sgcwebxml=http://sgcwebxml.com/xsp/1.0; page /page For the moment I am not using any tag for the logicsheet. I am only doing the namespace declaration. When I tried to load the xsp page I have this error page Cocoon 2 - Internal server error --- - type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Could not load class for program 'org\apache\cocoon\www\SGCWebXML\logical\moduloDeSeguridad\ingresoDeOpc iones_xsp' due to a java.lang.ClassNotFoundException: org.apache.cocoon.www.SGCWebXML.logical.moduloDeSeguridad.ingresoDeOpciones_xsp sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Could not load class for program 'org\apache\cocoon\www\SGCWebXML\logical\moduloDeSeguridad\ingresoDeOpc iones_xsp' due to a java.lang.ClassNotFoundException: org.apache.cocoon.www.SGCWebXML.logical.moduloDeSeguridad.ingresoDeOpciones_xsp at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createReso urce(ProgramGeneratorImpl.java:340) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load (ProgramGeneratorImpl.java:292) at org.apache.cocoon.generation.ServerPagesGenerator.setup (ServerPagesGenerator.java:198) at org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline (AbstractEventPipeline.java:202) at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup (CachingEventPipeline.java:278) at org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey (CachingEventPipeline.java:141) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process (CachingStreamPipeline.java:317) at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.matchN100FE (C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon- files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:1266) at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.process(C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon- files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:502) at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.process(C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon- files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:397) at org.apache.cocoon.sitemap.Handler.process(Handler.java:224) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.www.sitemap_xmap.matchN1036A(C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon- files\org/apache/cocoon/www\sitemap_xmap.java:4054) at org.apache.cocoon.www.sitemap_xmap.process(C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon- files\org/apache/cocoon/www\sitemap_xmap.java:3187) at org.apache.cocoon.www.sitemap_xmap.process(C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon- files\org/apache/cocoon/www\sitemap_xmap.java:3124) at
Re: Problem with namespaces
Is there another Exception in error.log ?? Just a guess but do you need the xlink namespace ??? if not try taking that out. I think (educated guess) that cocoon is triying to fetch the file http://www.w3.org/1999/xlink as it may not be in cocoons catalog. Hope this helps ?? Scott Warren Saul Rodrigo Zarrate Crdenas wrote: Hi everybody I have a cocoon version number 2.0.3 and a tomcat version number 4.0.1 I have a XSP page where I have logical. If i load that page with the logical and Java source in the same page I not have any problem. In the xsp page I have something like ?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 xsp:logic int cod_empresa; cod_empresa=1; /xsp:logic /page /xsp:page Here all is ok, but I need to work with logicsheets. I want to put the logic in a logicsheet. In my cocoon.xconf file I have this code lines builtin-logicsheet parameter name="prefix" value="sgcwebxml"/ parameter name="uri" value="http://sgcwebxml.com/xsp/1.0"/ parameter name="href" value="resource://sgcwebxml/logicsheets/sgcwebxml.xsl"/ /builtin-logicsheet The logicsheet is this ?xml version='1.0'? xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0' xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsp="http://apache.org/xsp" xmlns:sgcwebxml="http://sgcwebxml.com/xsp/1.0" xsl:template match="sgcwebxml:obtenerDato" xsp:logic int cod_empresa; cod_empresa=1; /xsp:logic /xsl:stylesheet And in my xsp page, where I want to use the logicsheets (the logicsheet is the sgcwebxml.xsl file, and it is in the coocon/WEB- INF/classes/sgcwebxml/logicsheets directory) I have something like that xsp:page language="java" xmlns:xsp="http://apache.org/xsp" xmlns:esql="http://apache.org/cocoon/SQL/v2" xmlns:xsp-request="http://apache.org/xsp/request/2.0" xmlns:util="http://apache.org/xsp/util/2.0" xmlns:sgcwebxml="http://sgcwebxml.com/xsp/1.0" page /page For the moment I am not using any tag for the logicsheet. I am only doing the namespace declaration. When I tried to load the xsp page I have this error page Cocoon 2 - Internal server error --- - type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Could not load class for program 'org\apache\cocoon\www\SGCWebXML\logical\moduloDeSeguridad\ingresoDeOpc iones_xsp' due to a java.lang.ClassNotFoundException: org.apache.cocoon.www.SGCWebXML.logical.moduloDeSeguridad.ingresoDeOpciones_xsp sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Could not load class for program 'org\apache\cocoon\www\SGCWebXML\logical\moduloDeSeguridad\ingresoDeOpc iones_xsp' due to a java.lang.ClassNotFoundException: org.apache.cocoon.www.SGCWebXML.logical.moduloDeSeguridad.ingresoDeOpciones_xsp at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createReso urce(ProgramGeneratorImpl.java:340) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load (ProgramGeneratorImpl.java:292) at org.apache.cocoon.generation.ServerPagesGenerator.setup (ServerPagesGenerator.java:198) at org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline (AbstractEventPipeline.java:202) at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup (CachingEventPipeline.java:278) at org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey (CachingEventPipeline.java:141) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process (CachingStreamPipeline.java:317) at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.matchN100FE (C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon- files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:1266) at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.process(C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon- files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:502) at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.process(C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon- files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:397) at org.apache.cocoon.sitemap.Handler.process(Handler.java:224) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.www.sitemap_xmap.matchN1036A(C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon- files\org/apache/cocoon/www\sitemap_xmap.java:4054) at org.apache.cocoon.www.sitemap_xmap.process(C:\Archivos de
How to do a redirectiion
Hello I have in a xsp page a query. That query retorn a number. If that number is 1, I want to show the page page1.html, but if that number is 0 I want to show another page, the page2.html Some idea or example or resource? Thank you Saul Zarrate Cardenas - 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: Problem with namespaces
Mensaje citado por Scott Warren [EMAIL PROTECTED]: Is there another Exception in error.log ?? No, there isn't Just a guess but do you need the xlink namespace ??? if not try taking that out. I think (educated guess) that cocoon is triying to fetch the file http://www.w3.org/1999/xlink as it may not be in cocoons catalog. Hope this helps ?? mm, thank you, but I did it and the problem is still there. Any idea? Scott Warren Saul Rodrigo Zarrate Cárdenas wrote: Hi everybody I have a cocoon version number 2.0.3 and a tomcat version number 4.0.1 I have a XSP page where I have logical. If i load that page with the logical and Java source in the same page I not have any problem. In the xsp page I have something like ?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 xsp:logic int cod_empresa; cod_empresa=1; /xsp:logic /page /xsp:page Here all is ok, but I need to work with logicsheets. I want to put the logic in a logicsheet. In my cocoon.xconf file I have this code lines builtin-logicsheet parameter name=prefix value=sgcwebxml/ parameter name=uri value=http://sgcwebxml.com/xsp/1.0/ parameter name=href value=resource://sgcwebxml/logicsheets/sgcwebxml.xsl/ /builtin-logicsheet The logicsheet is this ?xml version='1.0'? xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version='1.0' xmlns:xlink=http://www.w3.org/1999/xlink; xmlns:xsp=http://apache.org/xsp; xmlns:sgcwebxml=http://sgcwebxml.com/xsp/1.0; xsl:template match=sgcwebxml:obtenerDato xsp:logic int cod_empresa; cod_empresa=1; /xsp:logic /xsl:stylesheet And in my xsp page, where I want to use the logicsheets (the logicsheet is the sgcwebxml.xsl file, and it is in the coocon/WEB- INF/classes/sgcwebxml/logicsheets directory) I have something like that xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp-request=http://apache.org/xsp/request/2.0; xmlns:util=http://apache.org/xsp/util/2.0; xmlns:sgcwebxml=http://sgcwebxml.com/xsp/1.0; page /page For the moment I am not using any tag for the logicsheet. I am only doing the namespace declaration. When I tried to load the xsp page I have this error page Cocoon 2 - Internal server error --- - type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Could not load class for program 'org\apache\cocoon\www\SGCWebXML\logical\moduloDeSeguridad\ingresoDeOpc iones_xsp' due to a java.lang.ClassNotFoundException: org.apache.cocoon.www.SGCWebXML.logical.moduloDeSeguridad.ingresoDeOpciones_xs p sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Could not load class for program 'org\apache\cocoon\www\SGCWebXML\logical\moduloDeSeguridad\ingresoDeOpc iones_xsp' due to a java.lang.ClassNotFoundException: org.apache.cocoon.www.SGCWebXML.logical.moduloDeSeguridad.ingresoDeOpciones_xs p at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createRes o urce(ProgramGeneratorImpl.java:340) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load (ProgramGeneratorImpl.java:292) at org.apache.cocoon.generation.ServerPagesGenerator.setup (ServerPagesGenerator.java:198) at org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline (AbstractEventPipeline.java:202) at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup (CachingEventPipeline.java:278) at org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey (CachingEventPipeline.java:141) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process (CachingStreamPipeline.java:317) at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.matchN100FE (C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon- files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:1266) at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.process(C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon- files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:502) at org.apache.cocoon.www.SGCWebXML.sitemap_xmap.process(C:\Archivos de programa\Apache Tomcat 4.0\work\localhost\cocoon\cocoon- files\org/apache/cocoon/www/SGCWebXML\sitemap_xmap.java:397) at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
cocoon to recognise tag libraries
I have cocoon2 running on oc4j9.0.3 and a j2ee application (ipp) also running on oc4j. from my application I need to be able to convert a jsp to pdf using cocoon. I currently have a jsp with static data that converts to pdf. I don't know how to get cocoon to recognise java tags specific to my application that are in the jsp. These java tags create dynamic data for the pdf. For example in my jsp I have %@ page import=com.wcq.waf.util.tracer.Debug % and cocoon throws an error because the class is application specific. Thanks Vicki *** Messages included in this e-mail and any of its attachments are those of the author unless specifically stated to represent WorkCover Queensland. The contents of this message are to be used for the intended purpose only and are to be kept confidential at all times. This message may contain privileged information directed only to the intended addressee/s. Accidental receipt of this information should be deleted promptly and the sender notified. This e-mail has been scanned by Sophos for known viruses. However, no warranty nor liability is implied in this respect. ** - 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 UI Builder
Interesting approach. Can you share an example? Ivelin - Original Message - From: Scott Warren [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 17, 2002 3:45 PM Subject: Re: XMLForm UI Builder Senhaji, An easy way that I have achieved this is to generate an XML document that has all the information (Java Bean properties + code, Form Elements etc) then I created a number of XSL Documents that take the XML doc and produce the JavaBean code, XMLForm.XSP, Validation Descriptor.XML etc. Then all you need to do is change the layout of the XMLForm as needed.. I use Ant to generate the files from the XML but you can use a Cocoon pipleine to generate the files. Hope this helps Scott Warren Senhaji wrote: Hello, I've just finished playing with the XMLForm wizard example. I've learned a lot of good concepts such as the separation between the content, the presentation and the validation in the form building process. After that, I started looking for an XMLForm builder that would help me speed up the form building process. But without success! How can I explain to the management that even building a simple Form with C2 will take ~3 days of development? not easy -). It could be very nice if from a form builder one can generate all the necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to HTML or whatever widget, XSL for the form layout, XML schema for validation,...). Are there any works in this area ? Thanks in advance, Senhaji - 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]
Re: XMLForm JavaBean getter setter methods
JXpath gets the collection and directly sets its items. - Original Message - From: Senhaji [EMAIL PROTECTED] To: Cocoon-Users [EMAIL PROTECTED] Sent: Monday, November 18, 2002 5:31 AM Subject: XMLForm JavaBean getter setter methods Hello, In the wizard example, I added some log traces in the UserBean's getter and setter methods to see what happen behind the scene. When I push the start button, the getAllHobbies is called many times (20). The same thing happens with the getSystem(). However the setSystem() method is never called. Can some one explain this behaviour? Thanks, Senhaji - 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]
Re: Does apply-imports work?
map:transform src=psi.xsl type=xalan/ Does this solve your problem? Yes it does. I missed the move of transformers. Thanks for pointing it out. It is working with xalan and not with xsltc. Do you know if apply-templates is yet-to-be-implemented? ...or why it isn't working? Just asking - I'll look into it. Thanks, Phil - 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: Problem with namespaces
Is there a .java file generated ?? I would check this for errors .. Also check your core.log file for signs of it trying to load sgcwebxml/logicsheets/sgcwebxml.xsl There could be an error there. Regards Scott Warren Saul Rodrigo Zarrate Crdenas wrote: Mensaje citado por Scott Warren [EMAIL PROTECTED]: Is there another Exception in error.log ?? No, there isn't Just a guess but do you need the xlink namespace ??? if not try taking that out. I think (educated guess) that cocoon is triying to fetch the file http://www.w3.org/1999/xlink as it may not be in cocoons catalog. Hope this helps ?? mm, thank you, but I did it and the problem is still there. Any idea? Scott Warren Saul Rodrigo Zarrate Crdenas wrote: Hi everybody I have a cocoon version number 2.0.3 and a tomcat version number 4.0.1 I have a XSP page where I have logical. If i load that page with the logical and Java source in the same page I not have any problem. In the xsp page I have something like ?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 xsp:logic int cod_empresa; cod_empresa=1; /xsp:logic /page /xsp:page Here all is ok, but I need to work with logicsheets. I want to put the logic in a logicsheet. In my cocoon.xconf file I have this code lines builtin-logicsheet parameter name="prefix" value="sgcwebxml"/ parameter name="uri" value="http://sgcwebxml.com/xsp/1.0"/ parameter name="href" value="resource://sgcwebxml/logicsheets/sgcwebxml.xsl"/ /builtin-logicsheet The logicsheet is this ?xml version='1.0'? xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0' xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsp="http://apache.org/xsp" xmlns:sgcwebxml="http://sgcwebxml.com/xsp/1.0" xsl:template match="sgcwebxml:obtenerDato" xsp:logic int cod_empresa; cod_empresa=1; /xsp:logic /xsl:stylesheet And in my xsp page, where I want to use the logicsheets (the logicsheet is the sgcwebxml.xsl file, and it is in the coocon/WEB- INF/classes/sgcwebxml/logicsheets directory) I have something like that xsp:page language="java" xmlns:xsp="http://apache.org/xsp" xmlns:esql="http://apache.org/cocoon/SQL/v2" xmlns:xsp-request="http://apache.org/xsp/request/2.0" xmlns:util="http://apache.org/xsp/util/2.0" xmlns:sgcwebxml="http://sgcwebxml.com/xsp/1.0" page /page For the moment I am not using any tag for the logicsheet. I am only doing the namespace declaration. When I tried to load the xsp page I have this error page Cocoon 2 - Internal server error --- - type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Could not load class for program 'org\apache\cocoon\www\SGCWebXML\logical\moduloDeSeguridad\ingresoDeOpc iones_xsp' due to a java.lang.ClassNotFoundException: org.apache.cocoon.www.SGCWebXML.logical.moduloDeSeguridad.ingresoDeOpciones_xs p sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Could not load class for program 'org\apache\cocoon\www\SGCWebXML\logical\moduloDeSeguridad\ingresoDeOpc iones_xsp' due to a java.lang.ClassNotFoundException: org.apache.cocoon.www.SGCWebXML.logical.moduloDeSeguridad.ingresoDeOpciones_xs p at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createRes o urce(ProgramGeneratorImpl.java:340) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load (ProgramGeneratorImpl.java:292) at org.apache.cocoon.generation.ServerPagesGenerator.setup (ServerPagesGenerator.java:198) at org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline (AbstractEventPipeline.java:202) at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup (CachingEventPipeline.java:278) at org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey (CachingEventPipeline.java:141) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process
Re: XMLForm UI Builder
I sent an example recently. Unfortunately I am a little snowed under at the moment. I will get an example soon .. Promise Take Care Scott Warren Ivelin Ivanov wrote: Interesting approach. Can you share an example? Ivelin - Original Message - From: "Scott Warren" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 17, 2002 3:45 PM Subject: Re: XMLForm UI Builder Senhaji, An easy way that I have achieved this is to generate an XML document that has all the information (Java Bean properties + code, Form Elements etc) then I created a number of XSL Documents that take the XML doc and produce the JavaBean code, XMLForm.XSP, Validation Descriptor.XML etc. Then all you need to do is change the layout of the XMLForm as needed.. I use Ant to generate the files from the XML but you can use a Cocoon pipleine to generate the files. Hope this helps Scott Warren Senhaji wrote: Hello, I've just finished playing with the XMLForm wizard example. I've learned a lot of good concepts such as the separation between the content, the presentation and the validation in the form building process. After that, I started looking for an XMLForm builder that would help me speed up the form building process. But without success! How can I explain to the management that even building a simple Form with C2 will take ~3 days of development? not easy -). It could be very nice if from a form builder one can generate all the necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to HTML or whatever widget, XSL for the form layout, XML schema for validation,...). Are there any works in this area ? Thanks in advance, Senhaji - 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]
RE: Cocoon GetTogehter in Ghent
Hi, I have my pictures from the Cocoon GetTogether up here: http://sunshine.s-und-n.de/events/ghent/index.html A great event and many thanks go out to Steven Noels and the rest of the team for putting on such a great job. See you next year! Matthew -- Open Source Group Cocoon { Consulting, Training, Projects } = Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de - Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20 Weblog: http://radio.weblogs.com/0103021/ = -Original Message- From: Martin Dulisch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 3:55 PM To: cocoon-dev; cocoon-users Subject: Cocoon GetTogehter in Ghent Cocoon GetTogehter in Ghent. Matthew, Steven and Ovidiu are blogging away in real time - here are the links: http://radio.weblogs.com/0103021/ http://radio.weblogs.com/0103539/ http://www.webweavertech.com/ovidiu/weblog/index.html - 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]