problems with castor transformer example

2003-09-30 Thread Oskar Casquero Oiarzabal
Hello, I'm trying to see the usage of the CastorTransformer with the example included in Cocoon-2.1, but I can't see any result ( zoo xmlns:castor=http://castor.exolab.org/cocoontransfomer; / ). I looked log files and in sitemap.log I get the following error WARN(2003-09-30)

cookie logicsheet

2003-09-30 Thread David Merrilees
I need an example of use of the cookie logicsheet, can anyone recommend any? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problems with castor transformer example

2003-09-30 Thread bastian_b
Hi! my solution was setting -Dorg.xml.sax.parser=org.apache.xerces.parsers.SAXParser in the startup.sh / .bat of tomcat. Dont know if thats the best way, at least it works... [EMAIL PROTECTED] schrieb am 30.09.03 10:51:27: Hello, I'm trying to see the usage of the

re:re: different upload-dirs for different applications

2003-09-30 Thread [EMAIL PROTECTED]
first -- pleast excuse my bad quoting. mail2web does not support better. :( i'm still getting crazy trying to upload files into different directorys. i did the solution as offered in the answer below. i inserted the example into the standard cocoon configuration (retrieved from cocoon.war).

Re: problems with castor transformer example

2003-09-30 Thread Werner Guttmann
Oskar, it isn't. For historic reasons, the CastorTransformer internally uses the SAXAdaptor class to map between SAX1 and SAX2 events. As such, it is a requirement to specify the XML parser you are using. I do not know what web container you are using, but with e.g. Tomcat it would be

can reader read external url?

2003-09-30 Thread Tsui, Alban
Title: can reader read external url? I want to set up a pipeline so that the reader will read in an url as svg and then it immediately pipes out bmp, for example: !-- the query string parameter for url is simply an url path to a svg image -- map:match pattern=*/svg2bmp?url="">

Re: can reader read external url?

2003-09-30 Thread Sylvain Wallez
Tsui, Alban wrote: I want to set up a pipeline so that the reader will read in an url as svg and then it immediately pipes out bmp, for example: !-- the query string parameter for url is simply an url path to a svg image -- map:match pattern=*/svg2bmp?url=**

RE: can reader read external url?

2003-09-30 Thread Tsui, Alban
Title: RE: can reader read external url? Hi i tried the following but it doesn't work: map:match pattern=*/svg2bmp map:generate src=""> map:serialize type=svg2jpeg/ /map:match The reason I need url as a parameter because this url could be an image on a different server. I am using

Re: different upload-dirs for different applications

2003-09-30 Thread [EMAIL PROTECTED]
hi, i did the changes you purposed (changing the sitemap and/or returning null)but it had no effect. the upload class still get's called, but i also still get the same exception. the thing i want to have is: i upload the file and then cocoon sends me to some other site -- static or dynamic i

Re[2]: problems with castor transformer example

2003-09-30 Thread Oskar Casquero Oiarzabal
Hi, Thank you for the explanation and for the solution. Now the example is working properly. But why it is not added to the catalina.sh/.bat during the build process? Is there any option I forgot to add when I built cocoon from sources? Oskar Tuesday, September 30, 2003, 12:29:36 PM, you wrote:

Re: different upload-dirs for different applications

2003-09-30 Thread Jorg Heymans
did you have a look at core.log in WEB-INF/logs, often the error can be found less cryptical in there mind that in your case, the action should always return a Map, not null otherwise the rest of the action will be skipped, resulting in an incomplete pipeline. erhm, could you maybe also try

Re: different upload-dirs for different applications

2003-09-30 Thread Geoff Howard
[EMAIL PROTECTED] wrote: first -- pleast excuse my bad quoting. mail2web does not support better. :( ... map:match pattern=uploadFileFromUser map:act type=upload-files/ map:generate type=request map:read src=new-samples/success.html mime-type=text/html/ /map:generate

Re: different upload-dirs for different applications

2003-09-30 Thread [EMAIL PROTECTED]
juppi! :) map:act type=upload-files map:generate src=new-samples/success.html type=html/ map:serialize type=html/ /map:act did the trick! thanks a lot! none the less: i use cocoon 2.1.1. really thankful! peter ps: we'll see when the next problem turns up.. :)

RE: [HELP]Element or attribute do not match QName production: QName::=(NCName':')?NCName - problems with default namespace in xsp / xscript.

2003-09-30 Thread Alex Rudnev
Done http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23516 Thanks, Ru -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 2:42 PM To: [EMAIL PROTECTED] Subject: Re: [HELP]Element or attribute do not match QName production:

Re: different upload-dirs for different applications

2003-09-30 Thread Geoff Howard
[EMAIL PROTECTED] wrote: returning a bit of help perhaps: i could not solve the problem by myself because: [1] dummy thing: i supposed that the HTML-FORM-ACTION upload was a standarized thing i should not change. i was wrong of course. [2] harder: i supposed -- since all examples i found did

Re: can reader read external url?

2003-09-30 Thread Sylvain Wallez
Tsui, Alban wrote: Hi i tried the following but it doesn't work: map:match pattern=*/svg2bmp map:generate src={request-param:url}/ map:serialize type=svg2jpeg/ /map:match The reason I need url as a parameter because this url could be an image on a different server. I am using cocoon 2.0.3

Value substitution within auth-protect

2003-09-30 Thread Hugh Field-Richards
Hi I have a pipeline match fragment - map:match pattern=admin-*-*.html> map:act type=auth-protect> map:parameter name=handler value=adminHandler/> map:parameter name=application value=adminApp/> map:generate src=content/admin-{1}-{2}.xml /> ... /map:act> /map:match> which does not perform the

Re: ESQL conflict

2003-09-30 Thread Geoff Howard
Josep Riudavets wrote: Hello ... I'm trying to add into an XSP page esql taglibs. But when I add the namespace xmlns:esql=http://apache.org/cocoon/SQL/v2; shows next error message: The problem isn't adding the esql namespace - it's with something in your use of esql/xsp. It's too hard to

Re: Forms + XUL

2003-09-30 Thread Tony Collen
Sylvain Wallez wrote: snip/ Oh my, what a pain! Why don't you _teach_ this class? Definately possible. The teacher might not like being out of a job though %-) What does the HTML that Woody produces looks like? Will it validate? To what extent? Validate ? Sure: it's simply a bunch of

Re: ESQL conflict

2003-09-30 Thread Christopher Painter-Wakefield
yes. You're welcome! Josep Riudavets [EMAIL PROTECTED] 09/30/2003 11:46 AM Please respond to users To:[EMAIL PROTECTED] cc: Subject:Re: ESQL conflict Ok Cristopher ... you're all right !!! I'm using iaik.ixsil.core.* ... it implies many classes, and one of

[JOB] Job Opportunity in London

2003-09-30 Thread Upayavira
I would like to let people know of a job opportunity with Nexus Alpha Ltd, Clapham, London. Nexus Alpha develops real-time systems for the rail industry in the UK. We use Cocoon to present real-time information on the internet, offering a valuable service to the travelling public, and need a

How to use if expressions with JX template transformer

2003-09-30 Thread jcplerm
I'm trying to use an "if" tag with the JX template transformer, but can't figure out exactly the required syntax from what is explained on http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html#if. I am able to access values of objects with expressions such as

XSP function java with xsp:content error

2003-09-30 Thread Nicolas Maisonneuve
hy , i would like create a function like: xsp:page xsp:logic String text="coco" public void addXml() {xsp:contenthyxsp:attribute name="coucou"xsp:exprtext/xsp:expr/xsp:attribute/hy/xsp:content}} page /page /xsp:logic /xsp:page but there is a exception : start error (lines 92-92) "xspAttr

Re: How to use if expressions with JX template transformer (2)

2003-09-30 Thread Christopher Oliver
Try this: t:template xmlns:t=http://apache.org/cocoon/templates/jx/1.0; if test=#{'1'='1'}#{getParameter($parameters,'contextPath')}/if /t:template Note the use of curly braces (not parentheses) in #{1=1}. Chris jcplerm wrote: Correction below... - Original Message -

Re: How to use if expressions with JX template transformer (2)

2003-09-30 Thread jcplerm
Thanks, that worked! - Original Message - From: Christopher Oliver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 12:02 PM Subject: Re: How to use if expressions with JX template transformer (2) Try this: t:template

[ANN] Cocoon Training

2003-09-30 Thread Lajos
Greetings all - Some more announcements about the galatea.com training classes. First, we are giving a two-day Cocoon super-intensive, Cocoon Brain Dump during ApacheCon/COMDEX in Las Vegas, November 18-19. If you are coming to either of these events, now is the time to learn all about

Re: problems with castor transformer example

2003-09-30 Thread Joerg Heinicke
Hello Oskar, Oskar Casquero Oiarzabal wrote: Hi, Thank you for the explanation and for the solution. Now the example is working properly. But why it is not added to the catalina.sh/.bat during the build process? Is there any option I forgot to add when I built cocoon from sources? No, you missed

Problems with executing the 'site' and 'docs' task of cocoon

2003-09-30 Thread Tomi Schuetz
Hello all! I'm very new to cocoon and it seems, that some obvious thinks are going wrong. I hope some people can give me a few hints. I downloaded cocoon-2.1.1 for windows and unzipped it into a dev directory. After executing the inital task of the build.xml (which was successful) it wanted to

Re: [HELP]Element or attribute do not match QName production: QName::=(NCName':')?NCName - problems with default namespace in xsp / xscript.

2003-09-30 Thread Joerg Heinicke
Alex Rudnev wrote: Done http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23516 Thanks, Ru Thanks. And as you might have seen it's already fixed - thanks to Vadim. Can you please test it and close the bug afterwards. Joerg -

Link Livesites: www.rodopi-sa.gr

2003-09-30 Thread gounis
Rodopi S.A. Greek Industry of Milk lang: EL cocoon 2.0.4 (apache at front with mod_proxy, mod_rewrite) [virtual hosting] tomcat 4.1.24 redhat linux jdk 1.4 url: http://www.rodopi-sa.gr --- stavros - To unsubscribe,

Re: Link Livesites: www.g-arseniou.gr

2003-09-30 Thread Joerg Heinicke
[EMAIL PROTECTED] wrote: Arseniou Grigoris, men's wear lang: EN - EL (i18n) cocoon 2.0.4 (apache at front with mod_proxy, mod_rewrite) [virtual hosting] tomcat 4.1.24 redhat linux jdk 1.4 url: http://www.g-arseniou.gr --- stavros Ah, Stavros is back - with another page based on Cocoon. Half of

Re: Problems with executing the 'site' and 'docs' task in cocoon

2003-09-30 Thread Joerg Heinicke
Hello Tomi, please have a look into file://C:/Programme/apache-forrest-0.4/forrest.build.xml. Around line 50 I have property name=project.home location=. / property name=/ value=${file.separator}/ echo message=Loading project specific properties from

Re: Call Axis based web services using flowscript

2003-09-30 Thread Tony Collen
Markus Heussen wrote: Hi all, can someone give me a hint how I can call a rpc or document style based Axis web service from a flowscript? Maybe there are useful descriptions somewhere in the web? Markus, Have a look at the recent thread entitled, Flow and Web Services [1] on the mailing list

Re: [GT] Ghent 2003 - Meeting on Sunday Evening?

2003-09-30 Thread Steven Noels
Christian Haul wrote: Hi. As many arrive already on Sunday evening, I'd like to propose to meet and share a some food or a beer (maybe two,...). Steven suggested de Vooruit http://www.vooruit.be/ It's a large Grand Cafe, used to be the bastion of the Socialist Workers Union. No real food,