Problem building own app as war: 'xslt' is not defined for 'transform'

2004-08-13 Thread Thierry BARUSTA
Hello! I've a sub cocoon app under the one given with cocoon 2.1.5 (docs and samples). It works fine when runned as a standalone demo (./cocoon.sh servlet) Then I tried to compile it as a webapp for tomcat-5.0.19 and when I try to access the service I get a:

RE : lenya - OC4J

2004-08-13 Thread SIMON DUTIL
Do not consider my previous post... Ive forgot lenya keyword in the @ ;) Sorry, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [cforms] struct and class display

2004-08-13 Thread Jan Hoskens
Whenever you have a union widget, you need a case widget that holds the id of the currently chosen unionpart (struct) in its valuefield. You might understand it better with a little example: Lets say you have some heterogeneous repeater, some fields may contain input, other's just a value to

[Cforms] fd:action in struc, class or union special issue

2004-08-13 Thread Stephane Delort
Hello, I have a form which uses structs, classe and unions. Then, I tried to have a fd:action in one of them. First I tried with union: definition file : fd:union id=start case=type default=widgetClass fd:datatype base=string/ fd:widgets fd:struct id=widgetClass // in

Re: Re: [cforms] struct and class display

2004-08-13 Thread Stephane Delort
Thanks a lot for your answer Jan the thing was that I missed the list in my union. I did not understood that the choice of the case was made by a choice of a value is the union list. Now everything (if I missed these fd:action) works fine, regards, Stephane Bitte antworten an [EMAIL

Problem with Resolving a source

2004-08-13 Thread Vladimir Lisin
Hi all, I have the next situation: There is directory D:\cocoon-2.1.5\build\webapp\html-xml\ There are two files : First is sitemap.xmap : ?xml version=1.0

Re: Problem with Resolving a source

2004-08-13 Thread Olivier Billard
Vladimir, It seems that you tell cocoon to ask himself via http: to get the image... When you are in your sitemap, you have to point the image location in your sitemap. Try : map:read mime-type=image/gif src=pics/{1}.gif/ PS : Please don't write your mails to the list in HTML : it's not

CForms change styling fd:on-change-event

2004-08-13 Thread Wolfgang Klaus
Dear All, I have a CForm with fd:repeater. In the Repeater there is a field with a selection list. There is an fd:on-value-changed with javascript on this selection list. At this time I can fill other fields with values depending on the selected Item. Now I want to disable (make it readonly) a

Re: Problem with Resolving a source

2004-08-13 Thread KOZLOV Roman
Hi Vladimir, According to your sitemap sp and pics/ are on the same level. Why do you refer to gif with ../ prefix? The path should be (according the sitemap) http://localhost:/html-xml/pics/z82.gif; so that reference is pics/z82.gif and not ../pics/z82.gif . Vladimir Lisin wrote: Hi all,

Re: I18N with no L10N ?

2004-08-13 Thread Gerald Aichholzer
On Thu, 12 Aug 2004 09:02:59 -0700 (PDT), Paul Joseph [EMAIL PROTECTED] wrote: I am starting the design of a Cocoon based application which, since it will be used only in one country for the next year or so, needs to be internationalized, but not localized for any other country. Having just

Re: I18N with no L10N ?

2004-08-13 Thread Paul Joseph
Thank you Gerald. I think your way is easier and better. I will use it! -Paul --- Gerald Aichholzer [EMAIL PROTECTED] wrote: On Thu, 12 Aug 2004 09:02:59 -0700 (PDT), Paul Joseph [EMAIL PROTECTED] wrote: I am starting the design of a Cocoon based application which, since it will be

Re: need replace some functions from php

2004-08-13 Thread Boris
Hello Dmitry, redirection you normally organize in the sitemap. have a look here http://cocoon.apache.org/2.1/userdocs/concepts/redirection.html Boris Dmitry Tatarkin wrote: Hello! We move ower site to cocoon and I need replacement for two php functions: urlencode(), header(). Another words, how

Problem with showing pictures from eXist database

2004-08-13 Thread Eelke Toonstra
I have a problem with showing images from the eXist database in Cocoon. When I want to show an image in my browser, for example http://localhost:8080/exist/xmldb/db/images/test.jpg it doesn't show a picture but the small icon indicating there's no picture.XML files from the database work without

Re: need replace some functions from php

2004-08-13 Thread Boris
Hallo Dmitry, urlencoding in xsp you can to like that xsp-response:encode-url url=/ or xsp-response:encode-urlxsp-response:urlmystringtoencode/xsp-response:url/xsp-response:encode-url You should study the logicsheets in the cocoon-src by example:

Create new form model for later binding

2004-08-13 Thread Paul Bowler
I've got form binding working nicely for existing form documents in my XML database (thanks for all your help). However, this only works with data that alrady exists within the database. If I try to use it for a new form instance I get 'No cocoon form found' as there is no data from which to

Re: Create new form model for later binding

2004-08-13 Thread Ugo Cei
Il giorno 13/ago/04, alle 15:10, Paul Bowler ha scritto: How can I create a new instance of the form data that can then be bound to the XML database (i.e. create a new XML document from a given form specification)? I usually create a skeleton document that has all the elements required by the

mime-type of sitemap.xmap

2004-08-13 Thread [EMAIL PROTECTED]
Is there any correct mime-type for sitemap.xmap? (To set syntax highlightning in KDE I should mention the mime-type.) -- Volkmar W. Pogatzki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: mime-type of sitemap.xmap

2004-08-13 Thread Ugo Cei
Il giorno 13/ago/04, alle 16:00, [EMAIL PROTECTED] ha scritto: Is there any correct mime-type for sitemap.xmap? text/xml -- Ugo Cei - http://beblogging.com/ smime.p7s Description: S/MIME cryptographic signature

One-way binding using a new form

2004-08-13 Thread Paul Bowler
Can anyone give me some example flowscript to show one-way binding (i.e. display a new form and, once validated, save it to the binding uri). The examples all use a 'document' DOM object which is first loaded from the binding URI, but I have no idea how to get one from the form 'model' for a

Re: Create new form model for later binding

2004-08-13 Thread Olivier Billard
Paul Bowler wrote: I've got form binding working nicely for existing form documents in my XML database (thanks for all your help). However, this only works with data that alrady exists within the database. If I try to use it for a new form instance I get 'No cocoon form found' as there is no

Re: mime-type of sitemap.xmap

2004-08-13 Thread Colin Paul Adams
Ugo == Ugo Cei [EMAIL PROTECTED] writes: Ugo Il giorno 13/ago/04, alle 16:00, [EMAIL PROTECTED] ha scritto: Is there any correct mime-type for sitemap.xmap? Ugo text/xml application/xml text/xml is NEVER right! :-) -- Colin Paul Adams Preston Lancashire

CLI - Not Resolving Links

2004-08-13 Thread Carl Yestrau
I am having issues with the CLI resolving paths. Please see configurations below: Below is output from the CLI: ^ /mywebsite/en/work.html ^ /mywebsite/en/about.html ^

Re: Create new form model for later binding

2004-08-13 Thread Paul Bowler
Paul Bowler wrote: I've got form binding working nicely for existing form documents in my XML database (thanks for all your help). However, this only works with data that alrady exists within the database. If I try to use it for a new form instance I get 'No cocoon form found' as

RE: CLI - Not Resolving Links

2004-08-13 Thread Carl Yestrau
My appologies, there was a typo in the cli.xconf: uri type=append src-prefix=mywebsite/ src=en/home.html dest=build/dest/mywebsite_version_1/ should be uri type=append src-prefix=mywebsite/ src=en/contact.html dest=build/dest/mywebsite_version_1/ -Original Message- From: Carl Yestrau

Re: mime-type of sitemap.xmap

2004-08-13 Thread Ugo Cei
Il giorno 13/ago/04, alle 17:34, Colin Paul Adams ha scritto: application/xml text/xml is NEVER right! :-) Ouch! Then why does the default Cocoon sitemap include something like map:serializer logger=sitemap.serializer.xml mime-type=text/xml name=x ml

Re: mime-type of sitemap.xmap

2004-08-13 Thread Colin Paul Adams
Ugo == Ugo Cei [EMAIL PROTECTED] writes: Ugo Il giorno 13/ago/04, alle 17:34, Colin Paul Adams ha scritto: application/xml text/xml is NEVER right! :-) Ugo Ouch! Then why does the default Cocoon sitemap include Ugo something like Ugo map:serializer

Re: mime-type of sitemap.xmap

2004-08-13 Thread Joerg Heinicke
On 13.08.2004 17:34, Colin Paul Adams wrote: Is there any correct mime-type for sitemap.xmap? text/xml application/xml text/xml is NEVER right! :-) Why? http://www.ietf.org/rfc/rfc3023.txt (though I didn't read it of course) Jörg

Configuration problem 2.1.5.1 - Element.getLocalName() - NoSuchMethod Error

2004-08-13 Thread laurent_rorive
Dear All, I download the latest version , and test it everything is fine. More precisely I test the forms blok with Jetty and all is OK Now I'm busy with the upgrade of my own project . I work with Eclipse 3.0 , JDK1.4.2 , Tomcat 5.0.18 I copy the jars , I change all my woody forms to forms

Re: Problem with showing pictures from eXist database

2004-08-13 Thread Christian Mayrhuber
On Friday 13 August 2004 14:24, Eelke Toonstra wrote: I have a problem with showing images from the eXist database in Cocoon. When I want to show an image in my browser, for example http://localhost:8080/exist/xmldb/db/images/test.jpg it doesn't show a picture but the small icon indicating

Re: mime-type of sitemap.xmap

2004-08-13 Thread Colin Paul Adams
Joerg == Joerg Heinicke [EMAIL PROTECTED] writes: Joerg On 13.08.2004 17:34, Colin Paul Adams wrote: Is there any correct mime-type for sitemap.xmap? text/xml application/xml text/xml is NEVER right! :-) Joerg Why? http://www.ietf.org/rfc/rfc3023.txt (though I

RE: Custom transformer

2004-08-13 Thread JACOB, ERIC
Sorry, maybe I used the wrong term... Here an example: public class CustomTransformer extends AbstractSAXTransformer { protected Properties format; public SOAPTransformer() { //format = XMLUtils.createPropertiesForXML( true ); format = new Properties();

Link Livesites: Cocoon 2.1.5

2004-08-13 Thread torsten
short summary: The homepage of a small town in germany: Rötgesbüttel (http://de.wikipedia.org/wiki/R%C3%B6tgesb%C3%BCttel) URL: http://roetgesbuettel-info.de/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional