Check if session is valid

2004-04-27 Thread Carlos Dias
Hi, There is a way to check if a session is valid?! I know I can use the action type "session-isvalid" in all pipelines, but that is a little bit tricky. I want to define a default handler for the whole sitemap for an invalid session situation, but I can't find the right exception class to

[Fwd: cform/ woody - event based filling of selection list]

2004-04-27 Thread Bruno Dumon
Forwarding this message to dev@ to make sure Sylvain sees it. The problem is events that are caused as a result of calling setValues on widgets before the form is first displayed, are now executed immediately, when the viewData isn't available yet (as that is only specified when doing showForm).

Woody + FlowScript : documentation on model

2004-04-27 Thread laurent . rorive
Dear All, I'm looking for some documentation on the object model returned in the flowscript when doing... form.showForm(new-display-pipeline/login); var model = form.getModel(); We can of course retrieve the widget, but can we change the label of the widget, the key of the i18n of the label,

Re: Check if session is valid

2004-04-27 Thread defe
Quoting Carlos Dias [EMAIL PROTECTED]: Hi, There is a way to check if a session is valid?! I know I can use the action type session-isvalid in all pipelines, but that is a little bit tricky. I want to define a default handler for the whole sitemap for an invalid session situation, but I

What is best : Woody , Cocoon Forms or JXForms ?

2004-04-27 Thread laurent . rorive
Dear All, I'm actually a bit confused about all those Technology !!! What is best : Woody , Cocoon Forms or JX Forms. Further more , on internet I always retrieve different ways for the Form handling with Flowscript ... Is there a clear documentation that explain what must be used , what

What is best : Woody , Cocoon Forms or JXForms ?

2004-04-27 Thread laurent . rorive
Dear All, I'm actually a bit confused about all those Technology !!! What is best : Woody , Cocoon Forms or JX Forms. Further more , on internet I always retrieve different ways for the Form handling with Flowscript ... Is there a clear documentation that explain what must be used , what

Sorry, Cocoon couldn't find the resource you requested.

2004-04-27 Thread beyaNet Consultancy
Hi, I am having an issue concerning calling a flowscript continuation from a form within an iframe. The form is being generated from the following sequence: 1. function artistDetails() { var artistID = cocoon.parameters.artistID; var artist = Artist.getArtist(artistID); var artistStk =

Cocoon FlowScript + woody : change styling via javascript

2004-04-27 Thread laurent . rorive
Dear All, Is it possible to change the styling of a widget or better change a real property of the real input field via the Flowscript ? Thanks for your help

Invalid encoding name ISO-8859-15

2004-04-27 Thread defe
Hi, How can i generate from an xml file which is ISO-8859-15 encoded? I've got the following error : Invalid encoding name ISO-8859-1 thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Sorry, Cocoon couldn't find the resource you requested.

2004-04-27 Thread beyaNet Consultancy
further to my earlier post, even if I comment out the sitemap pipe for the continuation, instead of getting an error saying that there was no pipe match, I still get the above message when trying to post the form from within the iframe. Peter On 27 Apr 2004, at 15:02, beyaNet Consultancy wrote:

Re: XSP and cocoon cache

2004-04-27 Thread Olivier Billard
Jan Hoskens wrote: Hmm, you're right, I was a bit off on that one. But you don't need to shut down your server, just clean your working dir. If you're using Tomcat, you can find your compiled XSP pages under the work dir: C:\app\Jakarta-Tomcat_4.1.29\work\Standalone\localhost\_\cocoon-files\org\ap

Woody + FlowScript : documentation on model

2004-04-27 Thread laurent_rorive
Dear All, I'm looking for some documentation on the object model returned in the flowscript when doing... form.showForm(new-display-pipeline/login); var model = form.getModel(); We can of course retrieve the widget, but can we change the label of the widget, the key of the i18n of the label,

What is best : Woody , Cocoon Forms or JXForms ?

2004-04-27 Thread laurent_rorive
Dear All, I'm actually a bit confused about all those Technology !!! What is best : Woody , Cocoon Forms or JX Forms. Further more , on internet I always retrieve different ways for the Form handling with Flowscript ... Is there a clear documentation that explain what must be used , what

What is best : Woody , Cocoon Forms or JXForms ?

2004-04-27 Thread laurent_rorive
Dear All, I'm actually a bit confused about all those Technology !!! What is best : Woody , Cocoon Forms or JX Forms. Further more , on internet I always retrieve different ways for the Form handling with Flowscript ... Is there a clear documentation that explain what must be used , what

Suspicious Attachment

2004-04-27 Thread antivirus
-- Warning: Message delivery wasn't performed. Reason: Our virus scanner detected very suspicious code in the attachment of a mail addressed to a user of our system. The following message will not be delivered: From: [EMAIL

Re: What is best ? Woody , JXForms, Cocoon Forms ???

2004-04-27 Thread Olivier Billard
I use woody and it works well. woody took the name of cocoon forms some time ago but it's the same (woody=older, cocoon forms=newer) I didn't tried JXForms -- Olivier [EMAIL PROTECTED] wrote: Dear All, I'm actually a bit confused about all those Technology !!! What is best : Woody , Cocoon

Re: XSP and cocoon cache

2004-04-27 Thread Olivier Billard
Olivier Billard wrote: Jan Hoskens wrote: Hmm, you're right, I was a bit off on that one. But you don't need to shut down your server, just clean your working dir. If you're using Tomcat, you can find your compiled XSP pages under the work dir:

Re: What is best ? Woody , JXForms, Cocoon Forms ???

2004-04-27 Thread laurent_rorive
Could you provide me some sample ? Thx

Cocoon 1.8 to cocoon 2.1.4

2004-04-27 Thread Yacoubou . WAOLANY
Title: Cocoon 1.8 to cocoon 2.1.4 Hi all, Did one of you try to migrate an application from coocon 1.8 to cocoon 2.1.4? Kinds regards, Yacoubou WAOLANY

newbie question: Woody Binding help

2004-04-27 Thread Billie
I just wrote this but I realized I wasn't signed up for the list first, so let me try this again so that it goes through: I'm trying to populate a selection list from the results of a SQL query. I'm kind of new at Woody and binding in general, and I'm having trouble getting a good grasp of

newbie question: Woody Binding help

2004-04-27 Thread Billie
What I'd like to do is populate a form selection list with the results of a SQL query. I'm pretty new at Woody overall, and I haven't been able to figure out binding using the userdocs. Is there a step-by-step tutorial of binding anywhere out there, or can someone help describe to me how

initialize MultiValueField in Action

2004-04-27 Thread a_bilbao
Hi I'd like initialize a MultiValueFiel with double-listbox style in an action. this is the definition : wd:multivaluefield id=data wd:label/wd:label wd:datatype base=string /wd:datatype wd:selection-list src=cocoon://MySelectionLists/data dynamic=true/

Re: Woody + FlowScript : documentation on model

2004-04-27 Thread Bruno Dumon
On Tue, 2004-04-27 at 16:48, [EMAIL PROTECTED] wrote: Dear All, I'm looking for some documentation on the object model returned in the flowscript when doing... form.showForm(new-display-pipeline/login); var model = form.getModel(); I would advice you not to use that particular model,

Re: Cocoon FlowScript + woody : change styling via javascript

2004-04-27 Thread Bruno Dumon
On Tue, 2004-04-27 at 15:54, [EMAIL PROTECTED] wrote: Dear All, Is it possible to change the styling of a widget or better change a real property of the real input field via the Flowscript ? No, because flowscript does simply not know about (nor has access to) these things. Especially not to

Re: initialize MultiValueField in Action

2004-04-27 Thread Bruno Dumon
On Tue, 2004-04-27 at 19:04, [EMAIL PROTECTED] wrote: Hi I'd like initialize a MultiValueFiel with double-listbox style in an action. this is the definition : wd:multivaluefield id=data wd:label/wd:label wd:datatype base=string /wd:datatype

Re: What is best ? Woody , JXForms, Cocoon Forms ???

2004-04-27 Thread Antonio Gallardo
[EMAIL PROTECTED] dijo: Dear All, I'm actually a bit confused about all those Technology !!! What is best : Woody , Cocoon Forms or JX Forms. HI: JXFors are deprecated on the next release. For these reasons I would not recommend it. In the current 2.1.4 release Woody exists and as told

Dynamically changing labels, was Re: Woody + FlowScript : documentation on model

2004-04-27 Thread Tim Larson
[Copying to the dev list for additional discussion] On Tue, Apr 27, 2004 at 05:53:54PM +0200, Bruno Dumon wrote: On Tue, 2004-04-27 at 16:48, [EMAIL PROTECTED] wrote: We can of course retrieve the widget, but can we change the label of the widget, the key of the i18n of the label, can we

Problem binding Woody form to Map entries in Bean

2004-04-27 Thread Markx . Johnson
Hi, I am having a problem I hope someone can help me with. I have a Bean with a Map of metadata in it and I want to be able to create a Woody form to update the metadata. The Map keys are all strings and there is a getMetaData(String key) method. I have been able to bind to Map entries with:

Re: Cocoon FlowScript + woody : change styling via javascript

2004-04-27 Thread laurent_rorive
Dear Bruno, Thanks for the info In fact I'm looking for a solution to display a hidden field when some conditions are met. By example, in my flowscript , I check some value then I discover an error. At this moment I will change the widget message and return the form to the user with his data.

Re: What is best ? Woody , JXForms, Cocoon Forms ???

2004-04-27 Thread laurent_rorive
Thx could you provide me urls with docs Antonio Gallardo [EMAIL PROTECTED] 27/04/2004 18:13 Please respond to users To: [EMAIL PROTECTED] cc: Subject: Re: What is best ? Woody , JXForms, Cocoon Forms ??? [EMAIL PROTECTED] dijo: Dear All, I'm actually a bit

Re: Dynamically changing labels, was Re: Woody + FlowScript : documentation on model

2004-04-27 Thread laurent_rorive
Dear Tim , I also think about it but my problem is that I'm in an international environment and that I use i18n to provide message So what I want is changing an i18n:text key=... with the key I want. Is it possible with widget output ? Tim Larson [EMAIL PROTECTED] 27/04/2004 18:32 Please

Re: newbie question: Woody Binding help

2004-04-27 Thread Bruno Dumon
On Tue, 2004-04-27 at 17:51, Billie wrote: What I'd like to do is populate a form selection list with the results of a SQL query. I'm pretty new at Woody overall, and I haven't been able to figure out binding using the userdocs. Is there a step-by-step tutorial of binding anywhere out

Re: Dynamically changing labels, was Re: Woody + FlowScript : documentation on model

2004-04-27 Thread Bruno Dumon
(didn't pay attention that reply was going to dev list) On Tue, 2004-04-27 at 18:32, Tim Larson wrote: [Copying to the dev list for additional discussion] On Tue, Apr 27, 2004 at 05:53:54PM +0200, Bruno Dumon wrote: On Tue, 2004-04-27 at 16:48, [EMAIL PROTECTED] wrote: We can of course

Re: Dynamically changing labels, was Re: Woody + FlowScript : documentation on model

2004-04-27 Thread Tim Larson
On Tue, Apr 27, 2004 at 06:14:34PM +0200, [EMAIL PROTECTED] wrote: Dear Tim , I also think about it but my problem is that I'm in an international environment and that I use i18n to provide message So what I want is changing an i18n:text key=... with the key I want. Is it possible with

Re: Cocoon FlowScript + woody : change styling via javascript

2004-04-27 Thread Bruno Dumon
On Tue, 2004-04-27 at 18:11, [EMAIL PROTECTED] wrote: Dear Bruno, Thanks for the info In fact I'm looking for a solution to display a hidden field when some conditions are met. ah, I see. By example, in my flowscript , I check some value then I discover an error. At this moment I

Re: Dynamically changing labels, was Re: Woody + FlowScript : documentation on model

2004-04-27 Thread Bruno Dumon
On Tue, 2004-04-27 at 18:59, Tim Larson wrote: On Tue, Apr 27, 2004 at 06:14:34PM +0200, [EMAIL PROTECTED] wrote: Dear Tim , I also think about it but my problem is that I'm in an international environment and that I use i18n to provide message So what I want is changing an i18n:text

Re: Troubles installing latest cocoon on Debian with tomcat 3.3 and JDK 1.1

2004-04-27 Thread Joerg Heinicke
On 27.04.2004 18:48, Fabio Duo wrote: Hello I tried to install cocoon2 on Debian with apt-get. I have JDK1.1, Tomcat 3.3. I also installed cocoon2-example. When I access no my Server I receive the following error message: java.lang.ClassFormatError: Bad major version number .. Full Error

Re: Problem binding Woody form to Map entries in Bean

2004-04-27 Thread Joerg Heinicke
On 27.04.2004 18:18, [EMAIL PROTECTED] wrote: Hi, I am having a problem I hope someone can help me with. I have a Bean with a Map of metadata in it and I want to be able to create a Woody form to update the metadata. The Map keys are all strings and there is a getMetaData(String key)

Re: Invalid encoding name ISO-8859-15

2004-04-27 Thread Joerg Heinicke
On 27.04.2004 16:07, [EMAIL PROTECTED] wrote: Hi, How can i generate from an xml file which is ISO-8859-15 encoded? I've got the following error : Invalid encoding name ISO-8859-1 thanks in advance Is this mismatch ISO-8859-15 and ISO-8859-1 by intent? Does the old notation ISO8859_1 (or

Re: newbie question: Woody Binding help

2004-04-27 Thread Billie
I did look at the WoodyDatatypeReference page, but I didn't understand. When I tried to do just what you said there, I got an error 'The prefix wd for element wd:selection- list is not bound' and I'm not sure what it means. When you say transform it to the format Woody expects... what format

Re: newbie question: Woody Binding help

2004-04-27 Thread Billie
Hi Joerg, I tried to do exactly that, but I got that error about 'not bound'. In my form definition, I do have that line: wd:selection-list src=cocoon:/mychoices.xml dynamic=true/ and then the pipeline for mychoices.xml leads to an xml document with this text: wd:selection-list wd:item

Re: newbie question: Woody Binding help

2004-04-27 Thread Bruno Dumon
Hi Billie, On Tue, 2004-04-27 at 21:06, Billie wrote: Hi Joerg, I tried to do exactly that, but I got that error about 'not bound'. In my form definition, I do have that line: wd:selection-list src=cocoon:/mychoices.xml dynamic=true/ and then the pipeline for mychoices.xml leads to

Re: Invalid encoding name ISO-8859-15

2004-04-27 Thread defe
Joerg Heinicke wrote: On 27.04.2004 16:07, [EMAIL PROTECTED] wrote: Hi, How can i generate from an xml file which is ISO-8859-15 encoded? I've got the following error : Invalid encoding name ISO-8859-1 thanks in advance Is this mismatch ISO-8859-15 and ISO-8859-1 by intent?, Sorry, i

Re: Invalid encoding name ISO-8859-15

2004-04-27 Thread Bruno Dumon
On Tue, 2004-04-27 at 20:17, defe wrote: Joerg Heinicke wrote: On 27.04.2004 16:07, [EMAIL PROTECTED] wrote: Hi, How can i generate from an xml file which is ISO-8859-15 encoded? I've got the following error : Invalid encoding name ISO-8859-1 thanks in advance Is this

web.xml parameters in cocoon action classes

2004-04-27 Thread Anna Bikkina
Hi, I have a n application which runs on cocoon. I have to get some parameters from web.xml or cocoon.xconf into my action classes and use them there. I tried using ObjectModelHelper.getContext(objectModel).getInitParameter(timelimit); but it didnt work. It is returning null. How can I access

Re: Problem binding Woody form to Map entries in Bean

2004-04-27 Thread Markx . Johnson
Thanks Joerg, That worked fine for populating the form with values. The jury is still out on whether the changed values are getting back into the bean. Some problems I need to track down in the java code. No Exception on the form.save(bean) though. Thanks Mark Joerg Heinicke [EMAIL

RE: Cocoon FlowScript + woody : change styling via javascript

2004-04-27 Thread Uchenna Igwebuike
You should use a message widget that is embedded within a css style that highlights the message if it contains anything. When you want to add a message use: form.getWidget(message).addMessage(My Message); Define the widget in the form model: fd:messages id=message fd:datatype

RE: Dynamically changing labels, was Re: Woody + FlowScript :documentation on model

2004-04-27 Thread Uchenna Igwebuike
I am a big user of that widget and it should absolutely stay with the product - Brilliant widget. -Original Message- From: Bruno Dumon [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 9:50 AM To: [EMAIL PROTECTED] Subject: Re: Dynamically changing labels, was Re: Woody +

RE: Troubles installing latest cocoon on Debian with tomcat 3.3 andJDK 1.1

2004-04-27 Thread Fabio Duo
I didn't figured out, how to install jdk1.4 on debian Is there no other chance to get cocoon2 running? Thanks -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Dienstag, 27. April 2004 19:03 To: [EMAIL PROTECTED] Subject: Re: Troubles installing latest cocoon on

Re: Troubles installing latest cocoon on Debian with tomcat 3.3 andJDK 1.1

2004-04-27 Thread Joerg Heinicke
On 27.04.2004 21:04, Fabio Duo wrote: I didn't figured out, how to install jdk1.4 on debian Is there no other chance to get cocoon2 running? I guess it's easier to install a recent JDK than to run Cocoon on JDK 1.1. As far as I know for Cocoon 2.1 you need at least JDK 1.3, for Cocoon 2.0

Re[2]: Strange thingy with pipeline

2004-04-27 Thread DoomHammer
JH Can you tell us what exactly you store and retrieve in and from the JH database, i.e. which entities you need to replace? Are it the equation JH or complete MathML? JH Joerg Serialized it looks like this: ?xml version=1.0 encoding=ISO-8859-1? page xmlns:sql=http://apache.org/cocoon/SQL/2.0;

Re: Sorry, Cocoon couldn't find the resource you requested.

2004-04-27 Thread Ugo Cei
Il giorno 27/apr/04, alle 16:02, beyaNet Consultancy ha scritto: form method=post action=frame/${cocoon.continuation.id}.kont I think it should be ${continuation.id}. What does the generated HTML look like? Do you see a long string of numbers there? Ugo

Re: Troubles installing latest cocoon on Debian with tomcat 3.3 andJDK 1.1

2004-04-27 Thread Ugo Cei
Il giorno 27/apr/04, alle 21:04, Fabio Duo ha scritto: I didn't figured out, how to install jdk1.4 on debian Just like you install it on every other Linux system out there: you download the .bin file from java.sun.com and run it in the directory you want it to be installed (/usr/local for

retrieving XML from db using SQLTransformer (was: Strange thingy with pipeline)

2004-04-27 Thread Joerg Heinicke
On 27.04.2004 21:43, DoomHammer wrote: JH Can you tell us what exactly you store and retrieve in and from the JH database, i.e. which entities you need to replace? Are it the equation JH or complete MathML? Serialized it looks like this: math xmlns=http://www.w3.org/1998/Math/MathML; mrow msub

Namespace problem while publishing WML pages to some mobiles

2004-04-27 Thread Markus Heussen
Hi. My job is to publish WML pages to mobiles. I generate the source WML syntax using the serverpages generator. Testing it I realized that the namespace declaration in the root wml element is a problem for some mobiles like panasonic. The page cannot be displayed with the following structure:

Re: Namespace problem while publishing WML pages to some mobiles

2004-04-27 Thread Joerg Heinicke
On 27.04.2004 23:18, Markus Heussen wrote: Hi. My job is to publish WML pages to mobiles. I generate the source WML syntax using the serverpages generator. Testing it I realized that the namespace declaration in the root wml element is a problem for some mobiles like panasonic. The page cannot

RE: Namespace problem while publishing WML pages to some mobiles

2004-04-27 Thread Markus Heussen
Thank you very much for that hint! I will add a transformer to solve my problem. Markus -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 11:30 PM To: [EMAIL PROTECTED] Subject: Re: Namespace problem while publishing WML pages to some

Re: [i18n] Xalan replaces encoded characters with entities

2004-04-27 Thread Joerg Heinicke
On 20.04.2004 11:02, Sjur Nrsteb Moshagen wrote: all my XML documents are completely in UTF-8, but Cocoon outputs entities for many non-ascii characters. Although this does not create any badly formatted pages, it does increase the size of the output html file (most such utf-8 characters will

Re: Database Insert Across Multiple Tables

2004-04-27 Thread Christian Haul
Mike Dickson wrote: When you hit the new user button in the Modular Database Actions demo application it does a GET with the user info and the group info. Why are only the user data listed below as params? Shouldn't the group data be also listed as params? Oh well, this is only a guard -- a

Re: Troubles installing latest cocoon on Debian with tomcat 3.3 andJDK 1.1

2004-04-27 Thread Dickson Tam
I use Debian too, and the way I got cocoon 2 running is by downloading and compiling the latest cocoon, tomcat, and ant sources, as well as installing the java sdk from sun. Apt-get is great for small stuff, but in general I've found that it is easier to compile major server applications into

Re: [i18n] Xalan replaces encoded characters with entities

2004-04-27 Thread Sjur Nørstebø Moshagen
P 28. apr. 2004 kl. 00.58 skrev Joerg Heinicke: On 20.04.2004 11:02, Sjur Nrsteb Moshagen wrote: all my XML documents are completely in UTF-8, but Cocoon outputs entities for many non-ascii characters. Although this does not create any badly formatted pages, it does increase the size of the