Re: Path to image file referenced from SVG file

2005-07-28 Thread Derek Hohls
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 JP

RE: JavaFlow: getting the application context

2005-07-28 Thread footh
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 > Contextualizab

Path to image file referenced from SVG file

2005-07-28 Thread Dale Frye
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

Re: xmltype and sql transformer

2005-07-28 Thread lionel crine
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

Re: HTMLGenerator for parameter-data

2005-07-28 Thread Bertrand Delacretaz
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 Des

XPointer elementpath scheme: arbitrary element?

2005-07-28 Thread J.D. Williams
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

xmltype and sql transformer

2005-07-28 Thread Lionel Crine
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

Re: Access a results page after submitting a form (was previously: html -2- xhtml - 2- xsl - fo)

2005-07-28 Thread Michael Thermos
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

Re: Access a results page after submitting a form (was previously: html -2- xhtml - 2- xsl - fo)

2005-07-28 Thread Mark Lundquist
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

Re: JCR question

2005-07-28 Thread Josias Thoeny
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

Re: JCR question

2005-07-28 Thread Josias Thoeny
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 h

Re: Library names not generated correctly in Eclipse

2005-07-28 Thread Ron Wheeler
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 run

Re: Library names not generated correctly in Eclipse

2005-07-28 Thread Upayavira
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

Re: Library names not generated correctly in Eclipse

2005-07-28 Thread Ron Wheeler
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 to

Re: Library names not generated correctly in Eclipse

2005-07-28 Thread Ron Wheeler
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 Tech

Access a results page after submitting a form (was previously: html -2- xhtml - 2- xsl - fo)

2005-07-28 Thread Michael Thermos
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/6267201137490a

JCR question

2005-07-28 Thread Torsten Schlabach
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/Mat

Jetty appears to die

2005-07-28 Thread Ron Wheeler
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 cor

Re: Library names not generated correctly in Eclipse

2005-07-28 Thread ian . d . stewart
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 Page

Fwd: HTMLGenerator for parameter-data

2005-07-28 Thread Benjamin Boksa
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 jus

Re: Authentication Framework: Separate pipelines required for public versus private?

2005-07-28 Thread Sami Rajala
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

Re: document(...) broken when using xsltc

2005-07-28 Thread Antonio Fiol Bonnín
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. >>