RE: wml error

2004-06-01 Thread Conal Tuohy
Hi Oro You just need to define a pipeline that matches the URI of your wmls file. Just like the pipeline which serves wml. If you can't get it to work, it would help if you posted the pipelines in your message, and the URLs you use to try to access them, otherwise we don't know why your

Re: wmlsc in cocoon

2004-06-01 Thread Bertrand Delacretaz
Le 1 juin 04, à 07:57, Oro smith a écrit : how can wml script be included in the pipeline? Im getting error if i try to include it. You should study the hello WML sample in the Cocoon distribution: On the http://localhost:/samples/hello-world/ page there's a WML link. assuming you start

UnnamedSelector: ComponentSelector could not find the component for hint [xsp]

2004-06-01 Thread Frank Daly
Thanks Antonio, I tried the latest version but I got an error when I attempted to run Jetty - the java.exe couldn't be found. I couldn't see the cocoon samples subsequently when running Tomcat. I eventually got the older cocoon to work and will work with that until the pressure is off.

RE: wml error

2004-06-01 Thread Oro smith
hi Conal, I defined a pipeline that matches the URI of the wmls file. But i get the foll error: Content is not allowed in prolog Failed to execute pipeline.: file:/data/cocoon-2.1.3/build/webapp/mail/test1.wmls cause: org.xml.sax.SAXParseException: Content is not allowed in prolog. location:

Re: Form API v2 and v3 (Urgent)

2004-06-01 Thread Bruno Dumon
On Mon, 2004-05-31 at 18:32, Steve wrote: Hi, Can anyone tell me which versions do the below functions belong to:- That's a strange question. I would suspect you know which API you're using? Anyway, seems like it's mostly v2. 1. var wid = form.getWidget(); var widvalue =

Re: UnnamedSelector: ComponentSelector could not find the component for hint [xsp]

2004-06-01 Thread Antonio Gallardo
Frank Daly dijo: Thanks Antonio, I tried the latest version but I got an error when I attempted to run Jetty - the java.exe couldn't be found. I couldn't see the cocoon samples subsequently when running Tomcat. I think you missed to define the environment variable for JAVA_HOME. I

Multilingual website, text element lookup partially based on current session\function.

2004-06-01 Thread Thomas Kjeldahl Nilsson
Hello, My project is working on a multi-language website using cocoon. The multilingual aspect is implemented with a language-cache where we look up and get all the text strings used visibly in our web pages (in other words, we populate JXTemplate pages with data fetched from this

Re: Cocoon 2.1.5 - javaflow problem (6.2)

2004-06-01 Thread Upayavira
Enrico Migliore wrote: Stephan Michels wrote: On Sat, 29 May 2004, Enrico Migliore wrote: Dear Stephan I may have spot where the problem is. In the following file: .\cocoon-2.1.5\src\blocks\javaflow\TODO.txt I found the following script:

Re: Has anyone tried to generate the sitemap.xmap via WebGUI ?

2004-06-01 Thread Philipp Stecher
I am currently developing a CMS based on Cocoon 2.1.4 The thing is changing contents is no problem.. but our users also want to add or delete pages on their webpage. So i thought it would be great to create an sub sitemap which holds the pages for the webpage. Has anyone experience in doing

AW: wml error

2004-06-01 Thread Marco Rolappe
seems you're trying to generate (i.e. deliver as SAX) a non-XML file (the .wmls file). use a reader for non-XML files. let's suppose you have your .wmls files in a subdirectory 'wmls' relative to the sitemap: ... map:match pattern=*.wmls !-- dunno whether mime type is correct --

SVG embed/object tag generation

2004-06-01 Thread Alessandro Evangelista
Hi All, I created a transformer which dynamically generates SVG images. I am willing to reference those images from generated (x)html pages via the embed/object tag. Since the final size and aspect ratio is initially not known, I have the problem on how to set the width and height attributes of

Re: AW: wml error

2004-06-01 Thread Oro smith
Thanks rolappe, its working fine. Quoting [EMAIL PROTECTED]: seems you're trying to generate (i.e. deliver as SAX) a non-XML file (the .wmls file). use a reader for non-XML files. let's suppose you have your .wmls files in a subdirectory 'wmls' relative to the sitemap: ... map:match

match patern=/

2004-06-01 Thread Perez Carmona, David
Hi all, I have a web application whose content is root. Also I have a matcher at the beginning of the pipeline that handles the entry point map:match pattern= map:act src=my-action /map:act /map:match The problem is that I never enter inside the matcher (i.e. my-action is

Re: match patern=/

2004-06-01 Thread Jan Hoskens
You should mention your port with your host (host:portnumber), something like http://localhost:8080/ should do the trick, if not, your port will be different, so look it up in the configuration of your server (tomcat/jetty...) Then make sure you're pointing to the correct webapp, under tomcat

RE: match patern=/

2004-06-01 Thread Perez Carmona, David
Thanks Jan, I discovered what has happened, a tool has spoilt automatically my Tomcat config file. -Mensaje original- De: Jan Hoskens [mailto:[EMAIL PROTECTED] Enviado el: martes, 01 de junio de 2004 13:14 Para: [EMAIL PROTECTED] Asunto: Re: match patern=/ You should mention

RE: SVG embed/object tag generation

2004-06-01 Thread robby . pelssers
Can you show me some of the code to generate the SVG... And where do you put the code for embedding the svg? -Original Message- From: Alessandro Evangelista [mailto:[EMAIL PROTECTED] Sent: 01mm2004 12:21 To: [EMAIL PROTECTED] Subject: SVG embed/object tag generation Hi All, I created

Large documents - OutOfMemoryError with Tomcat but not Jetty!!!

2004-06-01 Thread Philip . Fennell
I have a problem when using Cocoon to aggregate large amounts of content that is to be serialised as PDF. I have a set of pipelines that build a XML document that contains a set of xincludes which is then transformed using the xinclude transformer before conversion into XSL-FO and final

Re: Large documents - OutOfMemoryError with Tomcat but not Jetty!!!

2004-06-01 Thread Jan Hoskens
I'm no expert in this, but what's your exact memory amount you've tried? I'm using CATALINA_OPTS=-Xmx384M and that works fine with me, although my pdf documents aren't that big. I also had a small problem that the tomcat that I installed: it created a shortcut in my program files that did not

RE: Large documents - OutOfMemoryError with Tomcat but not Jetty! !!

2004-06-01 Thread Philip . Fennell
Jan, Thanks for the info. The server itself has two gigs of RAM and I tried up to 500MB for 'CATALINA_OPTS=-Xmx' I am using /startup.sh. But the bit I don't understand, and maybe someone who knows how the version of Jetty that comes with Cocoon was configured, is why it would work with that

dynamic query help

2004-06-01 Thread Jason Lane
Hi list, I have this ESQL query to my DB: esql:queryselect id, area from ukareas order by area/esql:query This just returns the column rows ID and AREA I also have this table which maps tables ukareas and county create table navmap ( aid integer, cid integer, primary key

Re: dynamic query help

2004-06-01 Thread Christopher Painter-Wakefield
off the top of my head, start with this (easiest) to get it working. If it performs well, you can leave it like this, but for better performance take a look at http://cocoon.apache.org/2.1/userdocs/xsp/esql.html#Groups which will let you use a single join query to accomplish your goal. ...

Re: dynamic query help

2004-06-01 Thread Jason Lane
On 1 Jun 2004, at 15:27, Christopher Painter-Wakefield wrote: off the top of my head, start with this (easiest) to get it working. If it performs well, you can leave it like this, but for better performance take a look at http://cocoon.apache.org/2.1/userdocs/xsp/esql.html#Groups which will

Re: SVG embed/object tag generation

2004-06-01 Thread Alessandro Evangelista
The SVG is generated via graphviz DOT [ http://www.research.att.com/sw/tools/graphviz/ ]. A description of a diagram is stored in a file with extension .dot. The following allows the conversion from dot-svg. map:match pattern=**.dot.svg map:generate type=text2xml src=content/xdocs/{1}.dot /

Re: question xsp

2004-06-01 Thread Andres Taborda
hello askild, Thanks very much for suggestion. It will study the fragment extractor generator. if found the solution to my problem send the example. bye. Askild Aaberg Olsen wrote: If I understand your problem correctly - visualizing both the HTML *and* the SVG from *one* request with

Re: question xsp

2004-06-01 Thread Paul Russell
... and if you get stuck, I wrote the original version of that code about three years ago, so may be able to offer assistance if it's not changed too much! Paul On 1 Jun 2004, at 19:15, Andres Taborda wrote: hello askild, Thanks very much for suggestion. It will study the fragment extractor

multiple attributes with xsp:attribute xsp:param

2004-06-01 Thread Peter Krpfl
Hi, i am trying to build a tag with multiple attributes like that: link id=page.category.snowboarder href=snowboarder/startsnowboarder/link (for i18n stuff) I tried it this way ---8--- link xsp:attribute xsp:param name=nameid/xsp:param page.category.esql:get-string

Re: Multilingual website, text element lookup partially based on current session\function.

2004-06-01 Thread Joerg Heinicke
On 01.06.2004 11:00, Thomas Kjeldahl Nilsson wrote: My project is working on a multi-language website using cocoon. The multilingual aspect is implemented with a language-cache where we look up and get all the text strings used visibly in our web pages (in other words, we populate JXTemplate

Re: Authentication Framework / NotSerializableException

2004-06-01 Thread Joerg Heinicke
On 01.06.2004 15:37, [EMAIL PROTECTED] wrote: Hello, I'm using the authentication framework (very basically, I believe) and get a notSerializableException when stopping the server while a session exists. The environment is JBoss3.2.3 with embedded Tomcat4.1 and cocoon2.1.3. I have looked for

Re: multiple attributes with xsp:attribute xsp:param

2004-06-01 Thread Joerg Heinicke
On 01.06.2004 19:56, Peter Kröpfl wrote: Hi, i am trying to build a tag with multiple attributes like that: link id=page.category.snowboarder href=snowboarder/startsnowboarder/link (for i18n stuff) I tried it this way ---8--- link xsp:attribute xsp:param name=nameid/xsp:param

Re: multiple attributes with xsp:attribute xsp:param

2004-06-01 Thread Carlos Chávez
Peter Kr#246;pfl Escribio :-) Hi, i am trying to build a tag with multiple attributes like that: link id=page.category.snowboarder href=snowboarder/startsnowboarder/link (for i18n stuff) I tried it this way ---8--- link xsp:attribute xsp:param name=nameid/xsp:param

Re: multiple attributes with xsp:attribute xsp:param

2004-06-01 Thread Joerg Heinicke
On 01.06.2004 22:13, Carlos Chávez wrote: link xsp:attribute xsp:param name=nameid/xsp:param page.category.esql:get-string column=NAME/ /xsp:attribute xsp:attribute xsp:param name=namehref/xsp:param esql:get-string column=NAME//start /xsp:attribute esql:get-string column=NAME/ /link Hi,

Re: multiple attributes with xsp:attribute xsp:param

2004-06-01 Thread Carlos Chávez
Joerg Heinicke Escribio :-) On 01.06.2004 22:13, Carlos Chávez wrote: link xsp:attribute xsp:param name=nameid/xsp:param page.category.esql:get-string column=NAME/ /xsp:attribute xsp:attribute xsp:param name=namehref/xsp:param esql:get-string column=NAME//start /xsp:attribute

Re: multiple attributes with xsp:attribute xsp:param

2004-06-01 Thread Peter Krpfl
Carlos Ch=?iso-8859-1?Q?=E1vez?= cchavez at agsoftware.dnsalias.com writes: Joerg Heinicke Escribio On 01.06.2004 22:13, Carlos Chvez wrote: link xsp:attribute xsp:param name=nameid/xsp:param page.category.esql:get-string column=NAME/ /xsp:attribute xsp:attribute

Re: multiple attributes with xsp:attribute xsp:param

2004-06-01 Thread Joerg Heinicke
On 01.06.2004 23:05, Peter Krpfl wrote: link xsp:attribute xsp:param name=nameid/xsp:param page.category.esql:get-string column=NAME/ /xsp:attribute xsp:attribute xsp:param name=namehref/xsp:param esql:get-string column=NAME//start /xsp:attribute esql:get-string column=NAME/ /link it work,

probem with cinclude if extrenal ressource is not availble

2004-06-01 Thread Thorsten Mauch
Hi All if inculde a external xml ressource into my jx page. If the ressource is not availble it seem that my entire application hang. I's not even possible to request differnt pages. my code looks: cinclude:include src=${url} element=page ignoreErrors=true/ for me it looks that

Multiple attributes with xsp:attribute xsp:param (2)

2004-06-01 Thread Peter Krpfl
a href= skilehrer/start class=textlink i18n:text i18n:key= page.category.skilehrer skilehrer/i18n:text /a This ist the code generated by: link xsp:attribute name=href esql:get-string column=NAME//start

i18n-key problem

2004-06-01 Thread Peter Krpfl
sorry, 'bout the Mulitple...(2) - posting hit post-button by accident... --- a href= snowboarder/start class=textlink i18n:text i18n:key= page.category.snowboarder snowboarder /i18n:text /a --- With this code the i18n fails. i guess the spaces

Re: Multiple attributes with xsp:attribute xsp:param (2)

2004-06-01 Thread Joerg Heinicke
Hello Peter, hmm, ok, all the stuff is a bit confusing, but my guess is now that it is indeed an error in your XSLT. Your sitemap looks similar to the following: map:generate type=serverpages src=.../ map:transform type=xslt src=.../ map:transform type=i18n/ map:serialize type=html/ You sent the

Re: i18n-key problem

2004-06-01 Thread Joerg Heinicke
On 02.06.2004 00:51, Peter Krpfl wrote: a href= snowboarder/start class=textlink i18n:text i18n:key= page.category.snowboarder snowboarder /i18n:text /a --- With this code the i18n fails. Ah, now I get confirmed what I already guessed :) i guess the spaces before and after the i18n-key is are to

[solved]

2004-06-01 Thread Peter Krpfl
Thanks to Carlos and Jrg. You really helped a lot, not only technically, but also psychologically. ;-) peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]