Re: Path to image file referenced from SVG file
Dale You could try an absolute URL here e.g.: http://mysite.com/images/Salmon.jpg That has always worked for me. (Also check the mail archives - the topic of linking to images from within SVG comes up a lot...) >>> [EMAIL PROTECTED] 2005/07/29 05:23:33 AM >>> All, I am trying to embed a JPEG image inside an SVG file and then rasterize it (svg2jpg). I need to determine what URL to use so Batik finds the file. The file works fine locally using Squiggle. When I try to run it through Cocoon/Batik I get the 'broken image" image instead of my image. The rest of the file is rasterized correctly. I've tried all types of paths and placing the image file in different locations but no luck. Here's the definition of the pattern in the SVG file: What should the path look like in xlink:href? Or is there something I can/need to configure in the sitemap? Oh, I'm running 2.1.7 in Tomcat 5.0 Thanks Dale Frye - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JavaFlow: getting the application context
I still can't seem to get the context from a JavaFlow class. I tried implementing Contextualizable but the context argument is null. Can anyone offer suggestions? --- Bart Molenkamp <[EMAIL PROTECTED]> wrote: > For Java components to get the context, you need to > implement the > Contextualizable interface from Avalon. > > Bart. > > > -Oorspronkelijk bericht- > > Van: footh [mailto:[EMAIL PROTECTED] > > Verzonden: woensdag 27 juli 2005 6:17 > > Aan: users@cocoon.apache.org > > Onderwerp: JavaFlow: getting the application > context > > > > Does anyone know how to get the application > context > > from within a javaflow? I'm looking for something > > equivalent to the "cocoon.context" code in a > > javascript-based flow. > > > > > > > > > > > Start your day with Yahoo! - make it your home > page > > http://www.yahoo.com/r/hs > > > > > > > - > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Path to image file referenced from SVG file
All, I am trying to embed a JPEG image inside an SVG file and then rasterize it (svg2jpg). I need to determine what URL to use so Batik finds the file. The file works fine locally using Squiggle. When I try to run it through Cocoon/Batik I get the 'broken image" image instead of my image. The rest of the file is rasterized correctly. I've tried all types of paths and placing the image file in different locations but no luck. Here's the definition of the pattern in the SVG file: width="194" height="139"> What should the path look like in xlink:href? Or is there something I can/need to configure in the sitemap? Oh, I'm running 2.1.7 in Tomcat 5.0 Thanks Dale Frye - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xmltype and sql transformer
I spoke too fast, I used to make it work : SELECT ir_struct||'' AS ir_struct ... Lionel On Thu, 28 Jul 2005 19:44:10 +0200, Lionel Crine wrote > I'm trying to get an XMLTYPE from oracle. > > Here is the query : > SELECT ir_struct FROM T_BNF_IR WHERE ir_sysID > ='32' > but it returns nothing. > > I have to write :SELECT ir_struct||'' instead of SELECT ir_struct > > But this generates xml error because : the resut send : > > > What can I do ? > > Lionel > > -- > Lionel CRINE > Ingénieur Systèmes documentaires > Société : 4DConcept > 22 rue Etienne de Jouy 78353 JOUY EN JOSAS > Tel : 01.34.58.70.70 Fax : 01.39.46.06.90 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTMLGenerator for parameter-data
Le 28 juil. 05, à 00:04, Benjamin Boksa a écrit : ...I am looking for a simple way to transform HTML which came from a form to XML. The HtmlTransformer (from the html block) parses snippets of HTML embedded in an XML document, this might be what you're looking for. -Bertrand smime.p7s Description: S/MIME cryptographic signature
XPointer elementpath scheme: arbitrary element?
Is there a way to select an arbitrary element, say from a file using the XPointer elementpath scheme demonstrated in the Aggregation samples? Using only the syntax demonstrated, it is possible to select the first of a set of elements (e.g., ), but I was wondering whether you could select one by id or other attribute, or an element other than the first of the set. Joe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
xmltype and sql transformer
I'm trying to get an XMLTYPE from oracle. Here is the query : SELECT ir_struct FROM T_BNF_IR WHERE ir_sysID ='32' but it returns nothing. I have to write :SELECT ir_struct||'' instead of SELECT ir_struct But this generates xml error because : the resut send : What can I do ? Lionel -- Lionel CRINE Ingénieur Systèmes documentaires Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.46.06.90 begin:vcard fn:Lionel Crine n:Crine;Lionel adr:;;22 rue Etienne de Jouy;JOUY EN JOSAS;;78353;FRANCE email;internet:[EMAIL PROTECTED] title:documentary systems engineer tel;work:01.34.58.70.70 tel;fax:01.39.46.06.90 x-mozilla-html:FALSE url:http://www.4dconcept.fr version:2.1 end:vcard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Access a results page after submitting a form (was previously: html -2- xhtml - 2- xsl - fo)
Hallo Mark. This is my pipeline for test purposes: My idea was to have a link on the results page that triggered the pipeline above. This test pipeline makes me run into two problems: 1st- the printed pdf page hasn't the results submitted by the form 2nd - the "print to pdf link" is included in the pdf! As a solution to 1st i tried a pipeline with Problem: didn't work :( Solutions to 2nd could be: (a) to remove the code responsible for link translation in the xsl stylesheet Problem: what if in the future i need links in the pdf?? (b) having a results page in a frame, and the link to pdf generation on another frame. Problem: JxTemplateGenerator "doesn't like"(that it, doesn't generate) the frames...Maybe i should try xsp... Thanks, M.Thermos On 7/28/05, Mark Lundquist <[EMAIL PROTECTED]> wrote: > > On Jul 28, 2005, at 7:37 AM, Michael Thermos wrote: > > > Hallo. Again. > > Hiya :-) > > > > > I'm using JXTemplateGenerator to pass values from the form to the > > results page. > > Here is a bit of code: > > > > > > > > > > > > > > > > > > My results page from a cform(that is after submiting the form) has an > > url like > > http://localhost:8080/cocoon/test/ > > 6267201137490a377a5f79257a3810544b391352.continue > > > > I'm trying to use a genarator like > > > > Ah, no... that doesn't have any meaning. > > You need a pipeline that looks something like this (maybe not exactly, > it depends how you're structuring your URI space, subsitemaps etc.): > > > > > > Please post your flowscript function that invokes the form (and should > then do something after the form is submitted), because I suspect > you're going to have some problems there too, so might as well get it > out on the table now :-) > > —ml— > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Access a results page after submitting a form (was previously: html -2- xhtml - 2- xsl - fo)
On Jul 28, 2005, at 7:37 AM, Michael Thermos wrote: Hallo. Again. Hiya :-) I'm using JXTemplateGenerator to pass values from the form to the results page. Here is a bit of code: My results page from a cform(that is after submiting the form) has an url like http://localhost:8080/cocoon/test/ 6267201137490a377a5f79257a3810544b391352.continue I'm trying to use a genarator like Ah, no... that doesn't have any meaning. You need a pipeline that looks something like this (maybe not exactly, it depends how you're structuring your URI space, subsitemaps etc.): Please post your flowscript function that invokes the form (and should then do something after the form is submitted), because I suspect you're going to have some problems there too, so might as well get it out on the table now :-) —ml— - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JCR question
On Thu, 2005-07-28 at 17:17 +0200, Josias Thoeny wrote: > On Thu, 2005-07-28 at 16:28 +0200, Torsten Schlabach wrote: > > Hi guys, > > > > I have successfully achieved this: > > > > 1. I have built Jackrabbit and created a sample repository using the > > examples (First Steps) code samples. This is a repository which is > > entirely independent of Cocoon. > > > > 2. I have imported some XML stuff into the repository, also following that > > XHTML/MathML example from the Jackrabbit First Steps page. > > > > 3. I managed to make this repository known to Cocoon's JCR block by > > editing cocoon.xconf approprietely. > > > > 4. I can generate the collections through the TraversableGenerator in > > webapp/samples/blocks/jcr of Cocoon (though on the blocks overview page it > > says the jcr block did not have any samples). I can see the collection of > > nodes that were created by the Jackrabbit example, such as /xmlimport for > > example. > > > > But this is where I am stuck. > > > > In order not to get the collections but an actual property (read: piece of > > content) from the repository, I tried something like: > > > > > > > > But no matter what node I try, I keep getting > > > > org.apache.cocoon.ProcessingException: Exception during source resolving.: > > org.apache.excalibur.source.SourceException: Path > > 'jcr://importxml/xhtml:html/xhtml:body/xhtml:p[2]' is a collection > > > > What do I have to put into the jcr:// URI in order to access content, not > > meta-information. > > What is the configuration of your JCRSourceFactory? > I think to define which nodes actually contain the data, you have to > define a file-node with a content-node having a content-prop, like e.g.: oops, accidentally sent... Here is a part of the sample configuration of the JCRSourceFactory: It means there will be a "jcr:content" node with a property "jcr:data" which will contain the actual data. Does your configuration match your repository? hth, Josias > > > > > > Regards, > > Torsten > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JCR question
On Thu, 2005-07-28 at 16:28 +0200, Torsten Schlabach wrote: > Hi guys, > > I have successfully achieved this: > > 1. I have built Jackrabbit and created a sample repository using the > examples (First Steps) code samples. This is a repository which is > entirely independent of Cocoon. > > 2. I have imported some XML stuff into the repository, also following that > XHTML/MathML example from the Jackrabbit First Steps page. > > 3. I managed to make this repository known to Cocoon's JCR block by > editing cocoon.xconf approprietely. > > 4. I can generate the collections through the TraversableGenerator in > webapp/samples/blocks/jcr of Cocoon (though on the blocks overview page it > says the jcr block did not have any samples). I can see the collection of > nodes that were created by the Jackrabbit example, such as /xmlimport for > example. > > But this is where I am stuck. > > In order not to get the collections but an actual property (read: piece of > content) from the repository, I tried something like: > > > > But no matter what node I try, I keep getting > > org.apache.cocoon.ProcessingException: Exception during source resolving.: > org.apache.excalibur.source.SourceException: Path > 'jcr://importxml/xhtml:html/xhtml:body/xhtml:p[2]' is a collection > > What do I have to put into the jcr:// URI in order to access content, not > meta-information. What is the configuration of your JCRSourceFactory? I think to define which nodes actually contain the data, you have to define a file-node with a content-node having a content-prop, like e.g.: > > Regards, > Torsten > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Library names not generated correctly in Eclipse
I am just trying to get the Cocoon-2.1.7 stable distribution to build and run. I have got Lenya to build and run (both under tomcat and Jetty) with some minor problems - can not find localization string libraries. Ron Upayavira wrote: If you're trying to build classes for your app which runs in Cocoon, just point the classes (project/properties/java build path/default output folder) to $COCOON_WEBAPP/WEB-INF/classes. Then, whenever you restart your container (jetty or tomcat), you'll get the classes that Eclipse compiled for you. With Is that what you're meaning? Personally I never build Cocoon within Eclipse, always from the Command line. However, you can also edit core Cocoon classes in the way I describe as classes in WEB-INF/classes take precedence over classes in WEB-INF/lib. No time to read your whole question - did I help at all? Regards, Upayavira Ron Wheeler wrote: How does build tell if it is being built for Jetty or Tomcat or does it matter. What has to be modified in local... The only thing that I have is a line to turn off the generation of te javadocs since there is a bug somewhere in the ant task description that generates a command line that is too long. I do not override anything else. I am building under Eclipse and at the command prompt with no joy. It appears that the build tasks try to override the Eclipse classpaths and do some generation of ant tasks on the fly which makes the IDE validation report errors that are spurious. The build executes successfully. Ron Ron Wheeler wrote: Where is this set? [EMAIL PROTECTED] wrote: Sounds like you need to change srcdir from ${cocoon.home} to ${cocoon.home}/src/java HTH, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078 Ron Wheeler <[EMAIL PROTECTED]To: Cocoon User group ftware.com> cc: Subject: Library names not generated correctly in Eclipse 07/27/2005 09:14 PM Please respond to users I must be missing some setup since the build seems to prefix some extra directories. I don't know which java compiler setting I need to set in Eclipse. Compiles fine but will not run under Tomcat I am not sure what these settings do. ide.eclipse.outputdir=${build.root}/eclipse/classes ide.eclipse.export.libs=false Ron SEVERE: Error deploying web application directory cocoon java.lang.NoClassDefFoundError: org/apache/cocoon/servlet/CocoonServlet (wrong name: src/java/org/apache/cocoon/servlet/CocoonServlet) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Library names not generated correctly in Eclipse
If you're trying to build classes for your app which runs in Cocoon, just point the classes (project/properties/java build path/default output folder) to $COCOON_WEBAPP/WEB-INF/classes. Then, whenever you restart your container (jetty or tomcat), you'll get the classes that Eclipse compiled for you. With Is that what you're meaning? Personally I never build Cocoon within Eclipse, always from the Command line. However, you can also edit core Cocoon classes in the way I describe as classes in WEB-INF/classes take precedence over classes in WEB-INF/lib. No time to read your whole question - did I help at all? Regards, Upayavira Ron Wheeler wrote: How does build tell if it is being built for Jetty or Tomcat or does it matter. What has to be modified in local... The only thing that I have is a line to turn off the generation of te javadocs since there is a bug somewhere in the ant task description that generates a command line that is too long. I do not override anything else. I am building under Eclipse and at the command prompt with no joy. It appears that the build tasks try to override the Eclipse classpaths and do some generation of ant tasks on the fly which makes the IDE validation report errors that are spurious. The build executes successfully. Ron Ron Wheeler wrote: Where is this set? [EMAIL PROTECTED] wrote: Sounds like you need to change srcdir from ${cocoon.home} to ${cocoon.home}/src/java HTH, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078 Ron Wheeler <[EMAIL PROTECTED]To: Cocoon User group ftware.com> cc: Subject: Library names not generated correctly in Eclipse 07/27/2005 09:14 PM Please respond to users I must be missing some setup since the build seems to prefix some extra directories. I don't know which java compiler setting I need to set in Eclipse. Compiles fine but will not run under Tomcat I am not sure what these settings do. ide.eclipse.outputdir=${build.root}/eclipse/classes ide.eclipse.export.libs=false Ron SEVERE: Error deploying web application directory cocoon java.lang.NoClassDefFoundError: org/apache/cocoon/servlet/CocoonServlet (wrong name: src/java/org/apache/cocoon/servlet/CocoonServlet) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Library names not generated correctly in Eclipse
How does build tell if it is being built for Jetty or Tomcat or does it matter. What has to be modified in local... The only thing that I have is a line to turn off the generation of te javadocs since there is a bug somewhere in the ant task description that generates a command line that is too long. I do not override anything else. I am building under Eclipse and at the command prompt with no joy. It appears that the build tasks try to override the Eclipse classpaths and do some generation of ant tasks on the fly which makes the IDE validation report errors that are spurious. The build executes successfully. Ron Ron Wheeler wrote: Where is this set? [EMAIL PROTECTED] wrote: Sounds like you need to change srcdir from ${cocoon.home} to ${cocoon.home}/src/java HTH, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078 Ron Wheeler <[EMAIL PROTECTED]To: Cocoon User group ftware.com> cc: Subject: Library names not generated correctly in Eclipse 07/27/2005 09:14 PM Please respond to users I must be missing some setup since the build seems to prefix some extra directories. I don't know which java compiler setting I need to set in Eclipse. Compiles fine but will not run under Tomcat I am not sure what these settings do. ide.eclipse.outputdir=${build.root}/eclipse/classes ide.eclipse.export.libs=false Ron SEVERE: Error deploying web application directory cocoon java.lang.NoClassDefFoundError: org/apache/cocoon/servlet/CocoonServlet (wrong name: src/java/org/apache/cocoon/servlet/CocoonServlet) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Library names not generated correctly in Eclipse
Where is this set? [EMAIL PROTECTED] wrote: Sounds like you need to change srcdir from ${cocoon.home} to ${cocoon.home}/src/java HTH, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078 Ron Wheeler <[EMAIL PROTECTED]To: Cocoon User group ftware.com> cc: Subject: Library names not generated correctly in Eclipse 07/27/2005 09:14 PM Please respond to users I must be missing some setup since the build seems to prefix some extra directories. I don't know which java compiler setting I need to set in Eclipse. Compiles fine but will not run under Tomcat I am not sure what these settings do. ide.eclipse.outputdir=${build.root}/eclipse/classes ide.eclipse.export.libs=false Ron SEVERE: Error deploying web application directory cocoon java.lang.NoClassDefFoundError: org/apache/cocoon/servlet/CocoonServlet (wrong name: src/java/org/apache/cocoon/servlet/CocoonServlet) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Access a results page after submitting a form (was previously: html -2- xhtml - 2- xsl - fo)
Hallo. Again. I'm using JXTemplateGenerator to pass values from the form to the results page.Here is a bit of code: My results page from a cform(that is after submiting the form) has an url like http://localhost:8080/cocoon/test/6267201137490a377a5f79257a3810544b391352.continue I'm trying to use a genarator like to pass my results page to xhtml. The problem is i keep getting (Access is denied) error. Also tried and it didn't work. How can i access a results page after submitting a form??? I really need to do this so that later i can pass the xhtml to xsl-fo. Thanks, M.Thermos On 7/26/05, Joerg Heinicke <[EMAIL PROTECTED]> wrote: > On 26.07.2005 19:55, Michael Thermos wrote: > > > I just found a new html2xhtml(from docbook project) file which seems > > to be working. The problem i stated previously i believed was dued to > > calling a new pipeline before finishing the application control flow > > with cocoon.sendPage(cocoon.sendPage("test-success-pipeline.jx", > > bizdata);) > > As already written in the original thread there is no need or even use > for a html2xhtml stylesheet. You only need a HTMLGenerator. I really > wonder what this stylesheet is about. > > Joerg > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JCR question
Hi guys, I have successfully achieved this: 1. I have built Jackrabbit and created a sample repository using the examples (First Steps) code samples. This is a repository which is entirely independent of Cocoon. 2. I have imported some XML stuff into the repository, also following that XHTML/MathML example from the Jackrabbit First Steps page. 3. I managed to make this repository known to Cocoon's JCR block by editing cocoon.xconf approprietely. 4. I can generate the collections through the TraversableGenerator in webapp/samples/blocks/jcr of Cocoon (though on the blocks overview page it says the jcr block did not have any samples). I can see the collection of nodes that were created by the Jackrabbit example, such as /xmlimport for example. But this is where I am stuck. In order not to get the collections but an actual property (read: piece of content) from the repository, I tried something like: But no matter what node I try, I keep getting org.apache.cocoon.ProcessingException: Exception during source resolving.: org.apache.excalibur.source.SourceException: Path 'jcr://importxml/xhtml:html/xhtml:body/xhtml:p[2]' is a collection What do I have to put into the jcr:// URI in order to access content, not meta-information. Regards, Torsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jetty appears to die
When I run cocoon.bat from the command line in Windows 2000, it opens a second window and outputs some lines indicating that it is loading things and then the window closes and connections from the browser or telnet are refused. If I go to my Lenya directory and run the Lenya.bat, it works correctly. How do I figure out what is wrong with the Cocoon setup? Ron - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Library names not generated correctly in Eclipse
Sounds like you need to change srcdir from ${cocoon.home} to ${cocoon.home}/src/java HTH, Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078 Ron Wheeler <[EMAIL PROTECTED]To: Cocoon User group ftware.com> cc: Subject: Library names not generated correctly in Eclipse 07/27/2005 09:14 PM Please respond to users I must be missing some setup since the build seems to prefix some extra directories. I don't know which java compiler setting I need to set in Eclipse. Compiles fine but will not run under Tomcat I am not sure what these settings do. ide.eclipse.outputdir=${build.root}/eclipse/classes ide.eclipse.export.libs=false Ron SEVERE: Error deploying web application directory cocoon java.lang.NoClassDefFoundError: org/apache/cocoon/servlet/CocoonServlet (wrong name: src/java/org/apache/cocoon/servlet/CocoonServlet) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fwd: HTMLGenerator for parameter-data
Hi g[R]eK, If it cames from textarea you would be interested in using ModuleSource[1], but if it cames from file input you should take a look at PartSource[2], both used with HTMLGenerator. Using module source would be like this: That is exactly what I was looking for. It works fine just like that! Thanks a lot, Benni PGP.sig Description: Signierter Teil der Nachricht
Re: Authentication Framework: Separate pipelines required for public versus private?
It depends how you match your pages in the pipeline. Authentication fw (both action and flow based) allows you to protect for example a single match element: the example is from auth fw documentation found here: http://cocoon.apache.org/2.1/developing/webapps/authentication.html In the example the document is surrounded by auth-protect action and demands that the user is authenticated against portalhandler. If you remove the surrounding map:act element, no authentication is needed. Same goes with flow, though the syntax is slightly different. -inf On 7/27/05, Cocoon User <[EMAIL PROTECTED]> wrote: > Our site is very data driven. Because we didn't think it mattered, and it > was simple, we designed it so the same pipeline is used for all pages (with > a few exceptions). So the sitemap currenlty doesn't know and doesn't care > whats public and private. The database contriols what pages are public and > private. > > We are just now looking into authentication and I am worried that the > separation of public and private pages need to occur in the sitemap in order > for this to work and therefore, having the same pipeline for both is proving > to be problematic. As it stands now, if I was to put an authentication > handler around my pipeline that handles all pages, then all pages that match > to that pipeline will be treated as private. > > I do not know if its possible to use the Cocoon authentication framework and > still have the same pipeline deal with public and private pages. Does anyone > know? > > _ > On the road to retirement? Check out MSN Life Events for advice on how to > get there! http://lifeevents.msn.com/category.aspx?cid=Retirement > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: document(...) broken when using xsltc
2005/7/27, Joerg Heinicke <[EMAIL PROTECTED]>: On 27.07.2005 15:54, Antonio Fiol Bonnín wrote:> I have been changing my transforms to execute with XSLTC instead of> interpreted Xalan. However, some of them did not work properly, showing> erratic behaviour, or even throwing NullPointerException. >> In most cases (if not all), I have tracked the problem to usage of the> document() function to get information from another source document. When> this function is used, the context node is lost, and thus strange things > happen.>> When I say "the context node is lost", I mean that AFTER the call to> document():> - any xpath expressions I've tried lead to erratic behaviour AND> - in some cases, the "flow" of pattern applying gets wrong (usually aborting > an apply-templates before applying to all the selected elements, and> possibly adding spurious non-empty text nodes on the output).>> Has anyone also found this problem? If so, is there another solution apart > from not using document() or not using xsltc? Is it a xsltc bug, a cocoon> bug or not a bug at all?Are you sure you have only retrieved a node using document() and notswitched the context to the other document? Well, I think so... This is one of the failing templates: html: The intention of this template is doing a sort of reflection upon the stylesheet. Adding e.g. an before both shows that the right is executed. However, it is executed against the element itself!! which is not the intended behaviour. In a particular case (which I have not been able to track down to a simple example), it even leads to a NullPointerException. -- Antonio