RE: Enabling client browser to cache content from cocoon
Now I found that the browser's IE6 cache on this dyanimcally generated javascript only works when I set it to never, it does not work on Automatically, despite the file is there with the temporary files. For other real files I have in the HEAD section of the main page Automatically works fine, the browser does not ask for those. I can only think that what is wrong is the way I am serializing the javascript. The pipeline: map:match pattern=resources/menu.js* map:generate type=JMenuGenerator/ map:transform src=stylesheets/html/menu.js.xsl/ map:serialize type=js/ /map:match the serializer: map:serializer logger=sitemap.serializer.js mime-type=text/javascript name=js pool-grow=4 pool-max=32 pool-min=4 src=org.apache.cocoon.serialization.HTMLSerializer buffer-size1024/buffer-size encodingISO-8859-1/encoding omit-xml-declarationtrue/omit-xml-declaration /map:serializer Thanks, Subject: RE: Enabling client browser to cache content from cocoon From: Jan Willem Penterman [EMAIL PROTECTED] Date: Fri, 30 Aug 2002 10:59:44 +0200 To: [EMAIL PROTECTED] JavaScripts are automatically cached when you place them, or a reference to them within the HEAD tag. For IE clients this will only work when the 'caching parameter' (Tools - Internet Options - Temporary Internet - Settings - check for...) is set to Automatically. This is NOT what you want during development btw, but the default setting on an IE setup. JW -Original Message- From: Ivan Rubin [mailto:[EMAIL PROTECTED]] Sent: donderdag 29 augustus 2002 20:31 To: [EMAIL PROTECTED] Subject: Enabling client browser to cache content from cocoon Hello, I have a pipeline that generates a javascript document. It is referenced and requested by the client from other dynamically-generated html documents. It works fine, but I want to cache the javascript in the client browser and I can't find the way to do it. I tried to set the Expires http header at the beggining of the pipeline with the HttpHeader action but no results. Any information will be very useful as I couldn't find any information on the documentation, faqs nor mail-archives. Thanks, Ivan Rubin Ayma - 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]
Enabling client browser to cache content from cocoon
Hello, I have a pipeline that generates a javascript document. It is referenced and requested by the client from other dynamically-generated html documents. It works fine, but I want to cache the javascript in the client browser and I can't find the way to do it. I tried to set the Expires http header at the beggining of the pipeline with the HttpHeader action but no results. Any information will be very useful as I couldn't find any information on the documentation, faqs nor mail-archives. Thanks, Ivan Rubin Ayma - 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]
[Fwd: Redirector and character encoding]
I'm encoding URLs now with URIUtil from apache for redirecting. On the action that receives and parses the requests I set ISO-8859-1 encoding for GET requests, and UTF-8 for POST requests, and it's working. Thanks, Original Message Subject: Redirector and character encoding Date: Sun, 28 Apr 2002 15:32:32 -0300 From: Ivan Rubin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hello, I'm using Redirector.redirect with a url like message?msg=Confirmación test The action that process the http requests uses Request.setCharacterEncoding at the beginning, and it works fine when I receive form posts with special characters, but it doesn't when I receive a URL with parameters. Some encoding is going on as spaces are translated to %20, but not special characters áéíóú. There's a way to avoid encoding the url I pass to redirect( bsessionmode, sUrl ) or, if I have to encode it, some helper method to do it? I'm with cocoon-2.0.2 over tomcat 4.0.1 Thanks, Ivan - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Redirector and character encoding
Hello, I'm using Redirector.redirect with a url like message?msg=Confirmación test The action that process the http requests uses Request.setCharacterEncoding at the beginning, and it works fine when I receive form posts with special characters, but it doesn't when I receive a URL with parameters. Some encoding is going on as spaces are translated to %20, but not special characters áéíóú. There's a way to avoid encoding the url I pass to redirect( bsessionmode, sUrl ) or, if I have to encode it, some helper method to do it? I'm with cocoon-2.0.2 over tomcat 4.0.1 Thanks, Ivan - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiple submit button on a form
with HTML and JavaScript, you can specify which uri to post the form to for each button. (Changing the action attribute of the form and then submitting it.) form name=ff input type=submit onClick=javascript:somefunction()/ /form script language=javascript function somefunction() { document.ff.action = 'someuri'; document.ff.method = 'POST'; document.ff.submit(); } /script Fiedler, Raul wrote: Hi I have a HTML form with fields. In order to process the fields in 2 different ways I need 2 submit buttons. How can one assign different actions to the 2 buttons. Ultimately I want to have 2 pipelines. Can it be done with: HTML form input type=submit value=option1/ input type=submit value=option2/ sitemap map:select map:parameter name=parameter-selector-test value=value/ map:when test=option1 map:redirect-to uri=/cocoon/optioin1/ /map:when map:otherwise map:redirect-to uri=/cocoon/optioin2/ /map:otherwise /map:select thanks Raul Fiedler European Central Bank DG Information Systems - Business Development * +49 (0) 69 1344 6870 * [EMAIL PROTECTED] Any e-mail message from the European Central Bank (ECB) is sent in good faith but shall neither be binding nor construed as constituting a commitment by the ECB except where provided for in a written agreement. This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised disclosure, use or dissemination, either in whole or in part, is prohibited. If you have received this e-mail in error, please notify the sender immediately via e-mail and delete this e-mail from your system. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cocoon2 emulation of Cocoon1: How?
Steve, You should take a look at the examples that come with cocoon distribution, and the sitemaps. map:match pattern=help map:generate type=serverpages src=help.xsp/ map:transform src=help.xsl/ map:seriliaze type=html/ /map:match The server pages is the XSP generator. You can generate XML from a file with a FileGenerator component, and you can aggregate content with map:aggregate. Hope it helps, Steven Punte wrote: Cocoon User Group: Does anyone have an example of a map:match pattern= structure that can emulate the old standard Cocoon 1 XML - XSP - XSL - HTML pattern? Looking for confortable starting place. steve *Do You Yahoo!?* Yahoo! Movies $rd_url/tag/http://movies.yahoo.com/ - coverage of the 74th Academy Awards® - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [HELP]Exception in creating Transform Handler
map:pipeline map:match pattern=someuri map:generate type=file src=somefile.xml/ map:transform src=somesheet.xsl/ !-- xslt default transformation -- map:serialize type=html/ /map:pipeline The simplest. You should check the different sitemaps provided with the samples. Hope it helps, Albert Hervas wrote: Description:org.apache.cocoon.ProcessingException: Exception in creating Transform Handler: java.lang.NullPointerException I'm Albert Hervas, a student from Barcelona (Catalonia). Im a very beginner with Cocoon2 and web developing in general. I just don't know how to associate a 'logicsheet' (xsl file with containing xsp:logic) to a certain xml document. And this is the exception I get. I just would like to know what the pipeline in my 'sitemap.xmap' must look like. I know this is pretty 'basic' but I'm stuck here! Thank you, Albert Hervas - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ContentHandler-DocumentHandler
Hello, I can't quietly understand the deprecation between these interfaces. I see contentHandler deprecated in some places, as DocumentHandler in others. (Implementations.) As I understand it ContentHandler matchs the (standard?) SAX2 implementation, with support for namespaces. That's the way? Thanks, - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jdbc or xsp or esql problem
von Schwerdtner, Thomas (GXS, FPI) wrote: Hey folks, Setup: cocoon-2.0.2dev (can give snapshot date if needed, it's from about a week ago) tomcat 4.0.3-LE jdk1.4 linux java2/1.2/1.3/1.4 postgresql jdbc driver is in classpath (downloaded bianry from jdbc.postgresql.org which specified that it would work with 1.4 (but it also specified it could not be compiled with it). Problem: I'm trying to get esql/postgresql setup here, and with a small xsp page I am getting the following errors: Fancypants error page reports: org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling test_xsp: Line 315, column 5: ')' expected Line 431, column 20: not a statement Line 460, column 20: not a statement Line 460, column 28: ';' expected Line 310, column 36: 'void' type not allowed here Line 354, column 84: unreported exception: java.sql.SQLException; must be caught or declared to be thrown Line 378, column 84: unreported exception: java.sql.SQLException; must be caught or declared to be thrown Line 405, column 51: unreported exception: java.sql.SQLException; must be caught or declared to be thrown Line 414, column 27: unreported exception: java.sql.SQLException; must be caught or declared to be thrown Line 0, column 0: 9 errors Under the work directory you'll find the generated .java for your xsp page. I think you should enclose your content in between xsp:content tags. sitemap contains: map:generator name=serverpages src=org.apache.cocoon.generation.ServerPagesGenerator label=content,data logger=sitemap.generator.serverpages pool-max=32 pool-min=4 pool-grow=2/ !-- and later in the file -- map:match pattern=test-esql map:generate type=serverpages src=documents/test.xsp/ map:transform src=stylesheets/databases/view.xsl/ map:serialize/ /map:match cocoon.xconf contains: datasources jdbc logger=core.datasources.gesupply name=gesupply pool-controller max=10 min=5/ dburljdbc:postgresql://localhost:5432/gesupply/dburl usermyUname/user passwordmyPassword/password /jdbc /datasources web.xml contains: init-param param-nameload-class/param-name param-valueorg.postgresql.Driver/param-value /init-param the stylesheet for test.xsp is a copy of the xsp stylesheet(s) from the cocoon samples. test.xsp contains: xsp:page xmlns:xsp=http://apache.org/xsp; xmlns:xlink=http://www.w3.org/1999/xlink; xmlns:esql=http://apache.org/cocoon/SQL/v2; language=java esql:connection esql:poolgesupply/esql:pool esql:execute-query esql:querySELECT Id,SupportClassId,Type,Description FROM supporttypeesql:results table esql:row-results tr td esql:get-string column=Id//tdtd esql:get-string column=Type//td /tr /esql:row-results /table /esql:results esql:no-results pSorry, no results!/p /esql:no-results /esql:query /esql:execute-query /esql:connection /xsp:page
Re: Generator already set. You can only select one Generator
you want to pick up an xml an put it into the pipeline, transform it and use the result (ing tree?) as an entry point for an xsp generator? von Schwerdtner, Thomas (GXS, FPI) wrote: Heya, I'm trying to do something like this (in sketchy psudocode): map match=foo-generate-bar-* ..generate a xsp file... /map map match=foo-view-* ..use foo-generate-bar-{1} as the src and generate html from the generated xsp.. /map And I'm getting the error in the subject line. So, quick question: before I go and start debugging, can I have that setup? Basically: file.xml + file.xsl = file.xsp file.xsp + file2.xsl = file.html - or - (file.xml + file.xsl) + file2.xsl = file.html this is the same plus one transformation Am I making any sense? Is this possible the way I'm trying to do it or is there another method? -Tom - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XSP and well formed xsp:content.../xsp:content
Hello, I need to open and close tags arbitrarily while iterating through a record set. xsp:content/operator/xsp:content does not work, as xsp:contentoperatorxsp:content, and I have to do that over the basis of conditionals, and in different places. the logicsheet does not even generate the .java file. The log says that xsp:content must be terminated with an /xsp:content tag, but thats ok... I don't find a reason for the xsp generator not to process my logicsheet. It's the logic that's going to put the things in order. Thanks, - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Generator already set. You can only select one Generator
yeah, but I only saw a serverpages generator taking input from a file, not from a stream. Anyway I don't know if that's what he wants to do... Benjamin Grant wrote: Try an aggregation and use internal pipelines to create the intermediary output...? On Tuesday 19 March 2002 12:58 pm, you wrote: Heya, I'm trying to do something like this (in sketchy psudocode): map match=foo-generate-bar-* ..generate a xsp file... /map map match=foo-view-* ..use foo-generate-bar-{1} as the src and generate html from the generated xsp.. /map And I'm getting the error in the subject line. So, quick question: before I go and start debugging, can I have that setup? Basically: file.xml + file.xsl = file.xsp file.xsp + file2.xsl = file.html - or - (file.xml + file.xsl) + file2.xsl = file.html Am I making any sense? Is this possible the way I'm trying to do it or is there another method? -Tom Content-Type: text/html; charset=iso-8859-1; name=Attachment: 1 Content-Transfer-Encoding: 7bit Content-Description: - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XSP and well formed xsp:content.../xsp:content
Not valid XML, but are not we working with a flow of events? Isn't hierarchy the last tabu? String operator=null; while( recordset.next() ) { if( operator == null || !operator.equalsIgnoreCase( recordset.equipo() ) ) { if( operator != null ) { // trigger an 'operator' closing tag } // trigger an 'operator' opening tag } // trigger data events associated with this operator } if( operator != null ) { // trigger an operator closing tag } I understand the error serverpages generator's error. I think the logic is ok, and common. I can do this with sax. There's a workaround to do it with xsp? Don't get angry with me Vadim, I try to do my best. Thanks, Vadim Gritsenko wrote: From: Ivan Rubin [mailto:[EMAIL PROTECTED]] Hello, I need to open and close tags arbitrarily while iterating through a record set. xsp:content/operator/xsp:content does not work, as xsp:contentoperatorxsp:content, This is (obviously) not valid XML. Hence, the error. and I have to do that over the basis of conditionals, and in different places. the logicsheet does not even generate the .java file. The log says that xsp:content must be terminated with an /xsp:content tag, but thats ok... I don't find a reason for the xsp generator not to process my logicsheet. It's the logic that's going to put the things in order. Please elaborate why you think that you need this before I suggest workaround for you. Vadim Thanks, - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XSP and well formed xsp:content.../xsp:content
Sorry. I should add a line to the example... Ivan Rubin wrote: Not valid XML, but are not we working with a flow of events? Isn't hierarchy the last tabu? String operator=null; while( recordset.next() ) { if( operator == null || !operator.equalsIgnoreCase( recordset.operator() ) ) { if( operator != null ) { // trigger an 'operator' closing tag } // trigger an 'operator' opening tag * operator = recordset.operator(); } // trigger data events associated with this operator } if( operator != null ) { // trigger an operator closing tag } I understand the error serverpages generator's error. I think the logic is ok, and common. I can do this with sax. There's a workaround to do it with xsp? Don't get angry with me Vadim, I try to do my best. Thanks, Vadim Gritsenko wrote: From: Ivan Rubin [mailto:[EMAIL PROTECTED]] Hello, I need to open and close tags arbitrarily while iterating through a record set. xsp:content/operator/xsp:content does not work, as xsp:contentoperatorxsp:content, This is (obviously) not valid XML. Hence, the error. and I have to do that over the basis of conditionals, and in different places. the logicsheet does not even generate the .java file. The log says that xsp:content must be terminated with an /xsp:content tag, but thats ok... I don't find a reason for the xsp generator not to process my logicsheet. It's the logic that's going to put the things in order. Please elaborate why you think that you need this before I suggest workaround for you. Vadim Thanks, - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Subsitemap in another directory
map:mount has a 'src' attribute that acomplishes that, as you wrote. Lars Trieloff wrote: Hello, is there a way to mount a subsitemap which is not in the cocoon directory? Imagine a directory structure such as following: webapps |myapp ||mycocoon |||docs |||styles |||mycocoon.xmap |cocoon Is it possible to mount this sitemap in a way like this: map:mount uri-prefix=myapp src=../myapp/mycocoon check-reload=yes/ In my webapp I would like to include cocoon support without providing an own copy of cocoon or forcing the user to copy files into the cocoon directory structure. Lars Trieloff - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XSP and well formed xsp:content.../xsp:content
Yes. There's a well formed way. Thanks a lot Vadim, Vadim Gritsenko wrote: From: Ivan Rubin [mailto:[EMAIL PROTECTED]] Sorry. I should add a line to the example... Ivan Rubin wrote: Not valid XML, but are not we working with a flow of events? Reminder: XSP is and XML file = Must be well formed. Isn't hierarchy the last tabu? String operator=null; while( recordset.next() ) { if( operator == null || !operator.equalsIgnoreCase( recordset.operator() ) ) { if( operator != null ) { // trigger an 'operator' closing tag } // trigger an 'operator' opening tag * operator = recordset.operator(); } // trigger data events associated with this operator } if( operator != null ) { // trigger an operator closing tag } This looks like grouping by operator. But if recordset.operator() returns null, you have a problem (not properly closed 'operator' tag). Why not: boolean f = false; while (f || recordset.next()) { f = false; String operator = recordset.operator(); // trigger an 'operator' opening tag while ((f = recordset.next()) operator.equals(recordset.operator())) { f = false; // trigger data events associated with this operator } // trigger an operator closing tag } This will be well-formed. I understand the error serverpages generator's error. I think the logic is ok, and common. I can do this with sax. There's a workaround to do it with xsp? Yep. SAX content handler is available. Check out XSP page's generate Java code. Don't get angry with me Vadim, I try to do my best. I'm not. Take care, Vadim Thanks, Vadim Gritsenko wrote: From: Ivan Rubin [mailto:[EMAIL PROTECTED]] Hello, I need to open and close tags arbitrarily while iterating through a record set. xsp:content/operator/xsp:content does not work, as xsp:contentoperatorxsp:content, This is (obviously) not valid XML. Hence, the error. and I have to do that over the basis of conditionals, and in different places. the logicsheet does not even generate the .java file. The log says that xsp:content must be terminated with an /xsp:content tag, but thats ok... I don't find a reason for the xsp generator not to process my logicsheet. It's the logic that's going to put the things in order. Please elaborate why you think that you need this before I suggest workaround for you. Vadim Thanks, - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: help with a sitemap problem
Steven, I don't know if this is generating (sic) your problem, but src=cocoon:/foo in your map:part aggregation is not refering to the pipeline you're defining there under the name foo It should be just foo? cocoon:/xxx refers to an internal pipeline named And who's handling content/bar.xml? Ivan Steven Sedlmeyer wrote: Ok, I've looked through the docs and near as I can tell this should be Ok...although it clearly isn't. I have the following pipeline in my sitemap: map:pipeline map:match pattern=foo map:generate src=content/foo.xml/ map:transform src=transforms/foo.xsl map:parameter name=use-request-parameters value=true/ /map:transform map:serialize type=xml/ /map:match map:match pattern=bar.html map:aggregate map:part src=content/bar.xml/ map:part src=cocoon:/foo/ /map:aggregate map:transform src=transforms/foobar.xsl/ map:serialize type=html/ /map:match /map:pipeline If I understand things correctly this should result in the agregation of the file bar.xml and the xml output of the pipeline matching the request for /foo defined above being transformed by the stylesheet foobar.xsl when I request bar.html. Instead I get the following error at the browser: type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 1262, column 97: '}' expected Line 0, column 0: 1 error sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet And, when I check out the generated java source the final method in the file is the following: //line numbers not supported with wildc// method for handling bar.html private final boolean matchN101A6( SitemapRedirector redirector, Environment environment, StreamPipeline pipeline, EventPipeline eventPipeline, boolean internalRequest, List listOfMaps) throws ConnectionResetException, ResourceNotFoundException, Exception { Map map; Parameters param; Map objectModel = environment.getObjectModel(); String cocoon_view = environment.getView(); String cocoon_action = environment.getAction(); final boolean debug_enabled = getLogger().isDebugEnabled(); if ((map = matches(wildcard, matcher_N101A6_expr, bar.html, Parameters.EMPTY_PARAMETERS, objectModel)) != null) { if (debug_enabled) getLogger().debug(Matched wildcard pattern bar.html); listOfMaps.add (map); this.dumpParameters(listOfMaps); getLogger().debug(Component aggregator:!content-aggregator!(Parameters.EMPTY_PARAMETERS)); eventPipeline.setGenerator (!content-aggregator!, null, Parameters.EMPTY_PARAMETERS ); ContentAggregator contentAggregator_N101A9 = (ContentAggregator)eventPipeline.getGenerator(); No, I didn't miss part of it, that's where it stops... I'm getting really tired of scratching my head and looking stupid when people ask me if I've gotten it to work yet so I'm getting desperate for some help. I'd really appreciate it if someone could at least point me in the right direction to figure this out. Thanks in advance, Steve Sedlmeyer [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: help with a sitemap problem
Steven, cocoon:/ it's ok, and who's matching what does not matter at sitemap compilation. map:aggregate element=something you have to specify the root element for your aggregated content. Sorry if I mislead you, Ivan Steven Sedlmeyer wrote: Ok, I've looked through the docs and near as I can tell this should be Ok...although it clearly isn't. I have the following pipeline in my sitemap: map:pipeline map:match pattern=foo map:generate src=content/foo.xml/ map:transform src=transforms/foo.xsl map:parameter name=use-request-parameters value=true/ /map:transform map:serialize type=xml/ /map:match map:match pattern=bar.html map:aggregate map:part src=content/bar.xml/ map:part src=cocoon:/foo/ /map:aggregate map:transform src=transforms/foobar.xsl/ map:serialize type=html/ /map:match /map:pipeline If I understand things correctly this should result in the agregation of the file bar.xml and the xml output of the pipeline matching the request for /foo defined above being transformed by the stylesheet foobar.xsl when I request bar.html. Instead I get the following error at the browser: type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 1262, column 97: '}' expected Line 0, column 0: 1 error sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet And, when I check out the generated java source the final method in the file is the following: //line numbers not supported with wildc// method for handling bar.html private final boolean matchN101A6( SitemapRedirector redirector, Environment environment, StreamPipeline pipeline, EventPipeline eventPipeline, boolean internalRequest, List listOfMaps) throws ConnectionResetException, ResourceNotFoundException, Exception { Map map; Parameters param; Map objectModel = environment.getObjectModel(); String cocoon_view = environment.getView(); String cocoon_action = environment.getAction(); final boolean debug_enabled = getLogger().isDebugEnabled(); if ((map = matches(wildcard, matcher_N101A6_expr, bar.html, Parameters.EMPTY_PARAMETERS, objectModel)) != null) { if (debug_enabled) getLogger().debug(Matched wildcard pattern bar.html); listOfMaps.add (map); this.dumpParameters(listOfMaps); getLogger().debug(Component aggregator:!content-aggregator!(Parameters.EMPTY_PARAMETERS)); eventPipeline.setGenerator (!content-aggregator!, null, Parameters.EMPTY_PARAMETERS ); ContentAggregator contentAggregator_N101A9 = (ContentAggregator)eventPipeline.getGenerator(); No, I didn't miss part of it, that's where it stops... I'm getting really tired of scratching my head and looking stupid when people ask me if I've gotten it to work yet so I'm getting desperate for some help. I'd really appreciate it if someone could at least point me in the right direction to figure this out. Thanks in advance, Steve Sedlmeyer [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: questions about a few pipeline options
Tom, You can't access an internal pipeline from the outside. Sometimes you need to hide a pipeline that does something for other pipelines, but not for the public in general. If you have map:pipeline internal-only=true map:match pattern=test !-- do something -- /map:match map:match pattern=test2 !-- do something else -- /map:match /map:pipeline you can use those pipelines in an aggregation for generating some content: map:pipeline map:match pattern=publicResource map:aggregate map:part src=cocoon:/test/ map:part src=cocoon:/test2/ /map:aggregate /map:match /map:pipeline but http://localhost/cocoon/test or test2 is not a valid match from the outside. Tom von Schwerdtner wrote: Looking at the sunSpot demo, I see this pipeline: map:pipeline internal-only=true I've done some poking around and I cant figure out what the 'internal-only' option is all aboutcan someone clue me in (either to what it means or to the M I am supposed to RTF)? TIA, -Tom - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: IE / NS don't reconize my XML output as XML
I think map:serialize's parameter is called type, not name, at least using the standard serializer. map:serializer name=xml mime-type=text/xml src=org.apache.cocoon.serialization.XMLSerializer/ map:serialize type=xml/ TREGAN Fabien wrote: I use this serializer : component-instance name=xml class=org.apache.cocoon.serialization.XMLSerializer mime-type=text/xml logger=sitemap.serializer.xml/ in this pipeline : map:match pattern=*.xml map:generate src=xml/{1}.xml/ map:serialize name=xml/ /map:match and xml/file.xml contains : ?xml version='1.0' encoding='UTF-8'? test this is a test. /test I can acces cocoon/myapp/file.xml, but both IE and NS display them as an HTML file (display only 'this is a test'). If I use 'view source', the tag test is ok, but the PI (?xml version='1.0' encoding='UTF-8'?) vanished. if I try the same test with a .svg file and the SVG/JPEG serializer, both browsers reconize the output as an image and display it properly. I tryed stoping / starting Tomcat, refreshing, deleting work directory, no luck... I must use an xml2xhtml transformer in order to see my results... any idea ? [Tomcat 4.0.1, 10 days old CVS, IE 5.5, NS 6.] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Database
Hello, My generators use to communicate with a database through JDBC and now I have to make Windows NT authentication, so the JVM running the system have to be running on super-user mode, but I don't like the idea of running everything on super user. I would like to just run the database layer, or database+logic (pretty complicated at this moment) on super user mode. How to communicate with that layer? RMI? Can you point me to some information on this matter, I think it is a common one in every system. Sorry if this is not a strict Cocoon post. Thanks, - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ReadWriteDOMsession
Hello, I have a login page. The form points to a do-login pipeline I want do-login to authenticate the user through an action, that's ok, and then generate an XML with a menu, write a DOM on the session and go to the main pipeline. The main pipeline, in between a number of things, reads the dom from the session and makes use of it. The problem: map:match pattern=do-login map:act type=login/ map:act type=session-validator map:generate type=zeus-menu-generator/ map:transform type=writeDOMsession map:parameter name=dom-name value=menu/ map:parameter name=dom-root-element value=menu/ /map:transform !--I Have to redirect here to the main pipeline! If I user map:redirect-to, the writeDOMsession transformer is discarded. What can I do for writing that DOM to the session and redirecting to the main pipeline? -- /map:act map:redirect-to uri=login/ /map:match map:match pattern=main /map:match Thanks, - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IllegalAccessException: Object is not a Component
Christian, Remove every reference to your component everywhere but from the cocoon classloader, as to hide it from any different classloader but that one. To use the cocoon classloader and to pass parameters to it, you're in the right place, the initparams at web.xml -Mensaje original- De: Schweer, Christian [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 14 de febrero de 2002 12:05 Para: '[EMAIL PROTECTED]' Asunto: IllegalAccessException: Object is not a Component Hi folks, is tried to write my own transformer but I always get the following exception: java.lang.IllegalAccessException: Object mcp.prototyp.cocoon.MCPLog is not a Component at org.apache.cocoon.sitemap.AbstractSitemap.load_component(Abstr actSitemap.jav a:222) at org.apache.cocoon.www.mount.MCP.Start.Route.sitemap_xmap$Confi gurer.configTr ansformers(sitemap_xmap.java:285) at org.apache.cocoon.www.mount.MCP.Start.Route.sitemap_xmap.confi gure(sitemap_x map.java:167) at org.apache.avalon.excalibur.component.DefaultComponentFactory. newInstance(Un known Source) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandl er.initialize( Unknown Source) at org.apache.cocoon.components.language.generator.GeneratorSelec tor.addGenerat or(GeneratorSelector.java:135) at org.apache.cocoon.components.language.generator.ProgramGenerat orImpl.addComp iledComponent(ProgramGeneratorImpl.java:345) at org.apache.cocoon.components.language.generator.ProgramGenerat orImpl.generat eResource(ProgramGeneratorImpl.java:323) at org.apache.cocoon.components.language.generator.ProgramGenerat orImpl.createR esource(ProgramGeneratorImpl.java:271) at org.apache.cocoon.components.language.generator.ProgramGenerat orImpl.load(Pr ogramGeneratorImpl.java:188) at org.apache.cocoon.sitemap.Handler.run(Handler.java:208) at java.lang.Thread.run(Thread.java:484) Want I did (so long): - I took the original LogTransformer and replaced the classname with MCPLog, changed the package, added import-statement for org...cocoon.transformation.*; nothing else - compiled without errors, should be the same functionality - I have the directory containing the directory mcp in my classpath - I have defined map:transformer name=myLog src=mcp.prototyp.cocoon.MCPLog/ in my sitemap (but not used it in any pipeline) according to the hints I found in the mail-archive of this list - I added the path to the init-param extra-classpath and changed the init-param init-classloader to true (both in web.xml) - tried to put the class into org.apache.cocoon.transformation But I still have the error. I have the assumption, that I have a path error or did something wrong with the avalon-component configuration, did i? I'm rather puzzled. Any suggestion appreciated!! Thx in adv, Christian -- Christian Schweer mailto:[EMAIL PROTECTED] sdm AG http://www.sdm.de/ software design management Luebecker Strasse 1, 22087 Hamburg, Germany Tel +49 40 254491-97 Fax -11 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: servlet, generator or ... (design question)
We are evaluating C2 for a very large, public, data-dissemination project (NHGIS.ORG). I would like to build a few small XML visualization tools in C2 for demonstration purposes. For example, a facility to upload an XML instance, associate it with a stylesheet living on the server and return transformed XHTML. The upload need not be saved anywhere on the server; I'd like to hand the uploading stream directly to Cocoon. I can clearly see a couple ways to accomplish this but suspect there are more: You could take a look at this: http://xml.apache.org/cocoon/userdocs/generators/stream-generator.html What about employing me? Hope it helps, a) Specify a servlet external to Cocoon which handles multi-part form data as the src attr on my generator in the pipeline. How does this kick off the pipeline's processing? I suspect I need to bind the upload stream to the pipeline within my servlet and make a call to Cocoon but I'm not clear how. Or is Cocoon waiting like a daemon for bytes to show up at the mouth of the pipe? b) Extend one of Cocoon's generator classes (StreamGenerator?) to handle the multi-part form data and call it from my form. c) Is there a way to modify the File Upload example to hand the upcoming stream to a transformation? It seems that example merely specifies a directory for uploads and does nothing with the stream itself. d) ? What is the cleanest manner of doing this? I suspect there is a Cocoon pattern lurking in this problem and would like to implement the solution that best reflects such a pattern. Mike HaarmanMinnesota Population Center, [EMAIL PROTECTED] University of Minnesota, 537 Heller Hall, Minneapolis, MN 55455 Co-Architect, Programmer, National Historical GIS -- http://www.nhgis.org/ Maintainer, DDI Codebook DTD -- http://www.icpsr.umich.edu/DDI/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Simple XSL question
Simone, Just for the record, I went on using this template. xsl:template match=@* | node() xsl:copy xsl:apply-templates select=@* | node()/ /xsl:copy /xsl:template I still wonder if it is not a bad design to generate a base xml at the begining of the pipeline, aggregate other generated xml data and then go into a number of transformations for each specific section of the base xml, transforming them with the other generated data, and copying all the unused data, in each transformation, for the rest of the pipeline, basically in terms of performance. By now, that's what I'm doing. Thanks, -Mensaje original- De: Simone Gianni [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 28 de enero de 2002 12:50 Para: [EMAIL PROTECTED] Asunto: Re: Simple XSL question At 12.37 28/01/2002 -0300, you wrote: Hello, How can I make a XSLT transformation of just a couple of elements, leaving the rest untouched, without having to select everything and passing it through? You can create a catch all template with lower priority, for example : xsl:template match=something dosomething/do /xsl:template xsl:template match=*|node() priority=-10 xsl:copy-of select=./ /xsl:template This means that if something is found, it will be processed by the first template, if else is found it will be processed by the second template, which does a copy. The lower priority is an optional, since the XSLT processor should use the first template since it's more specific, but I've had some strange results, and forcing it is a good idea. I'm not sure about the xsl:copy-of .. ... it could cause some duplications, you could try a xsl:copy/ and see which one works better ... Ciao Simone - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Generators
It would be useful for me to use more than one generator at the beggining of a pipeline, as I have to generate pretty different things (in logic) and use the sum of them at the transformations stage. There's a way to do it? Thanks, Ivan - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to add extra classes into cocoon's classpath?
With Tomcat WEB-INF/web.xml there's an init-param, commented with de default distribution, to add classes to the cocoon's classpath. You should check the class-loader param for Cocoon to use its own class loader if you keep on having problemas loading classes. -Mensaje original- De: Tsui, Alban [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 30 de enero de 2002 12:57 Para: [EMAIL PROTECTED] Asunto: how to add extra classes into cocoon's classpath? Hi I have no idea add extra classes into cocoon's classpath. Any help? Alban This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to add extra classes into cocoon's classpath?
I'm on the same environment. These are the two parameters I modified on webapps/cocoon/WEB-INF/web.xml init-param param-nameinit-classloader/param-name param-valuetrue/param-value /init-param init-param param-nameextra-classpath/param-name param-valuec:\Zeus/param-value /init-param for using my own cocoon components. I think the status page of cocoon shows the classpath cocoon is using, and if it is ok, it have to be the way you invoke the classloader. -Mensaje original- De: Tsui, Alban [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 30 de enero de 2002 13:28 Para: [EMAIL PROTECTED] Asunto: RE: how to add extra classes into cocoon's classpath? I have tried the instruction in web.xml but it doesn't seem to work. From what I have seen, cocoon can only pick up classes from the WEB-INF folder regardless to what I put in the class path section of web.xml. Is this a bug? I am running cocoon on tomcat 4.0.1 on winNT. -Original Message- From: Ivan Rubin Ayma [mailto:[EMAIL PROTECTED]] Sent: 30 January 2002 16:08 To: [EMAIL PROTECTED] Subject: RE: how to add extra classes into cocoon's classpath? With Tomcat WEB-INF/web.xml there's an init-param, commented with de default distribution, to add classes to the cocoon's classpath. You should check the class-loader param for Cocoon to use its own class loader if you keep on having problemas loading classes. -Mensaje original- De: Tsui, Alban [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 30 de enero de 2002 12:57 Para: [EMAIL PROTECTED] Asunto: how to add extra classes into cocoon's classpath? Hi I have no idea add extra classes into cocoon's classpath. Any help? Alban This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Object X is not a component error
I tried to put the component in the package org.apache.cocoon.acting wondering what IllegalAccessException could be, but nothing. I'm posting the complete java source, subsitemap and the cocoon error. Thanks, -Mensaje original- De: Ivan Rubin Ayma Enviado el: lunes, 28 de enero de 2002 18:05 Para: [EMAIL PROTECTED] Asunto: Object X is not a component error I wrote the simplest component I could and at sitemap-compilation cocoon keeps on giving me: Error in sitemap configuration : Object Zeus.core.cocoon.JSessionLogin is not a Component Why? The component: public class JSessionLogin extends org.apache.cocoon.acting.ComposerAction implements ThreadSafe { public Map act( Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters par ) throws Exception { return null; } } It's well compiled and in the right place. Any hints? Thanks, -Mensaje original- De: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 28 de enero de 2002 13:51 Para: [EMAIL PROTECTED] Asunto: RE: one of those The sitemap handler's sitemap is not available errors From: tom blondeau [mailto:[EMAIL PROTECTED]] btw. what's the problem with hsqldb. it only works fine if i overwrite the files in the WEB-INF/db with the original files everytime i restart the servlet engine? Try ServerImpl from the CVS. Should work Ok now. Vadim - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Cocoon 2 - Internal server error type internal-server-error message Error in sitemap configuration : Object org.apache.cocoon.acting.JSessionLogin is not a Component description org.apache.avalon.framework.configuration.ConfigurationException: Error in sitemap configuration : Object org.apache.cocoon.acting.JSessionLogin is not a Component sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /cocoon/zeus/ exception org.apache.avalon.framework.configuration.ConfigurationException: Error in sitemap configuration : Object org.apache.cocoon.acting.JSessionLogin is not a Component path-info zeus/ stacktrace org.apache.avalon.framework.configuration.ConfigurationException: Error in sitemap configuration : Object org.apache.cocoon.acting.JSessionLogin is not a Component at org.apache.cocoon.Cocoon.process(Cocoon.java:509) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564
Sitemap reloading
My root sitemap does automatic reloading when I change it, synchronious, as specified on cocoon.xconf, but my sub-sitemap behaves completly different, it does reloading when he wants, or something like that. Any hints? Thanks, Ivan - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
It's a way?
Hello, I have to make a web interface to an existing database java application. The app is divided in a number of Data clases, that represent a table in the DB, Win classes to show that data in differente ways in a swing window, and Form classes to add-modify registers. I think Cocoon is a good way to do this, my idea is to use those Win classes and Form classes as generators, generating the XML representation of the data and the information requiered to show it in a window and as a form, and then use XSL transformations to convert that to HTML and apply all the navigation issues. Do you think is a viable approach? Thanks, Ivan - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]