Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Re: Matching on HTTP method?

2004-12-16 Thread Upayavira
Andrzej Jan Taramina wrote: Hey Gregor: you could try using a selector like thus: match pattern=*.xls select type=request-method when test=GET generate src={1}.xml/ transform src=xml2poi.xls/ serialize type=hssf/ /when when test=PUT generate

Re: required field asterisk shrinks [RESOLVED}

2004-12-16 Thread Paul Joseph
The fonts had been specified for the widgets. Once that was taken out, the asterisk came back to the correct size. (Duh!) --- Paul Joseph [EMAIL PROTECTED] wrote: Hi, On some of my forms, the required field asterisk shrinks to about half the size as what it is in the Cocoon examples.

i18n - I can't get the simplest scenario going

2004-12-16 Thread Jonny Pony
Hi, I'm struggling with the i18n-tranformer all morning. The simplest scenario won't work. I'm trying to translate only one word in this example. I always get the german translation, no matter what I do! I can send no parameter, ?locale=en or ?locale=de, I always get my translation always in

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

RE: i18n - I can't get the simplest scenario going

2004-12-16 Thread Martinson, Theresa
Try sending the locale parameter to your transformer in the foo pipeline. You can use the LocaleAction to get it. Sample: map:action logger=sitemap.action.locale name=locale src=org.apache.cocoon.acting.LocaleAction !-- this only creates a session if one doesn't already exist

Unfolding beans inside a JXTemplate

2004-12-16 Thread Laurent Perez
Hello Could anyone give me directions for unfolding a bean graph - getting all its available properties, not its values nor getters/setters - inside a JXTemplate ? My problem is that the bean I'm sending (a hibernate object) looks parseable but my attempts to access its properties have been so

RE: i18n - I can't get the simplest scenario going

2004-12-16 Thread Jonny Pony
It works fine now. Thanks a lot. For curiosity: Isn't it possible to use the i18n transformer without the locale action anymore, or where was the error in my former approach. Jonny From: Martinson, Theresa [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: i18n - I

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

RE: i18n - I can't get the simplest scenario going

2004-12-16 Thread Martinson, Theresa
In the 2.1 API documentation for i18n transformer, it looks like you have to do it this way. Back when I was first trying to get it to work, I think I read somewhere that the current cocoon version does require this locale parm into the transformer. But I don't remember any other specifics.

Re: forms newbie

2004-12-16 Thread Reinhard Poetz
Ben Anderson wrote: I just want to set a field in a form before I display it. I'm assuming I can set a default value in the form definition, but I was trying to set it explicity in my flow script. simple form definition fd:field id=documentName required=true

Re: Cocoon 2.1.6: what happened to FlowHelper.CONTINUATION_OBJECT?

2004-12-16 Thread Reinhard Poetz
John L. Webber wrote: FlowHelper.CONTINUATION_OBJECT was public static final in Cocoon 2.1.3; in Cocoon 2.1.6 it's now private static final. Was there a reason for this change? Are we just supposed to use the string cocoon.flow.continuation now, or are there plans to fix this? It doesn't seem

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Cocoon-POI question

2004-12-16 Thread Krystian Nowak
Hi There! I saw Victor's modification to Cocoon-POI: http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/poi/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/EP_Orientation.java?r1=1.5r2=1.6diff_format=h relased in Cocoon 2.1.6 Can you tell me what is the level of

how 2 invalidate the cntinuation to prevent doubble db entries

2004-12-16 Thread Philipp Rech
Hello Cocooners, [Cocoon Version 2.1.6] i send a page after a database entry with sendPage(done); if the user presss reload on the done page the data is entered into the db twice, ..too bad! why does the page done (which is JXT) show up wit a continuation i the URL even tough i don't use

Passing some parameters to a Form by using shoForm

2004-12-16 Thread angeloimm
Hi all. I want to pass some parameters to a form by using the showForm method. I.E; let's imagine we are in a flow script. Now by using sendPage we can do: cocoon.sendPage( MyPage.jx, {key:value, key1:value1} ) Now how can i do a similar thing by using showForm? I have tried to do: var form =

Re: Passing some parameters to a Form by using shoForm

2004-12-16 Thread gounis
On Thu, 16 Dec 2004, angeloimm wrote: hi i guess that you want to set a value in a widget before display the form you can check this thread http://marc.theaimsgroup.com/?t=11032035223r=1w=2 or set value this weay : var form = new form(yourForm.xml);

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Mounting multiple subsitemaps into one main sitemap

2004-12-16 Thread Kees van Dieren
Dear Cocoon users, I try to mount three subsitemaps into one subsitemap. However, only the first matching mount seems toe be called; the second is never called. My code in the main sitemap: ... map:pipelines map:pipeline !-- no match tag, always called! -- map:mount uri-prefix=

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Re: Passing some parameters to a Form by using shoForm

2004-12-16 Thread angeloimm
Hi first of all thanks for your reply. What i want to do is a thing like this: flow-script: function upload() { var form = new Form(forms/upload_model.xml); var k = form.showForm(upload-display-pipeline); k.invalidate(); cocoon.sendPage(upload-success-pipeline.jx,

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

RE: I18n Encoding Problems

2004-12-16 Thread Martinson, Theresa
Does anyone have any ideas on this one? I'm still stumped. Thanks. Theresa -Original Message- From: Martinson, Theresa Sent: Tuesday, December 07, 2004 12:43 PM To: '[EMAIL PROTECTED]' Subject: I18n Encoding Problems Hello. I am attempting to use UTF-8 for

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

RE: Do I need a repeater to append nodes in XML file

2004-12-16 Thread Gawde, Kiran
I am tired of deleting this message. Could you please stop sending the message? Thanks. -Original Message- From: Lincoln Mitchell [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004 2:55 AM To: [EMAIL PROTECTED] Subject: Do I need a repeater to append nodes in XML file I am

Problem with flows and integers

2004-12-16 Thread Aurélien DEHAY
Hello. Strange behaviour with flows, and VERY frustrating. I have a number (say, 1). In a flow function, I simply do var n = 1; I'd like to use the n value in a jxpath file. But in my jxpath file, The value is becomed 1.0. Not 1. It's not a problem with jx:number. But in my XSP file with jpath

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Re: Problem with flows and integers

2004-12-16 Thread Upayavira
Aurélien DEHAY wrote: Hello. Strange behaviour with flows, and VERY frustrating. I have a number (say, 1). In a flow function, I simply do var n = 1; I'd like to use the n value in a jxpath file. But in my jxpath file, The value is becomed 1.0. Not 1. It's not a problem with jx:number. But in

Re: Problem with flows and integers

2004-12-16 Thread Aurélien DEHAY
Upayavira wrote: You could try var foo = new java.lang.Integer(xxx). Actually use a Java integer rather than a javascript object. Works fine, many thanks... Rgds. Regards, Upayavira - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Do I need a repeater to append nodes in XML file

2004-12-16 Thread Jens Maukisch
Hi, I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: [...] My questions are: Do I still need a fb:repeater to do this? How a bout fb:identity? If so, can you explain why? You

Session lost on authentication

2004-12-16 Thread Adam Ratcliffe
I've got a problem with the user session being lost after successful with authentication via a custom Java authenticator. In my authenticator class I create a user bean and put it in the user's session like this: SessionManager sm = (SessionManager)

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Re: Mounting multiple subsitemaps into one main sitemap

2004-12-16 Thread Lars Huttar
Dag meneer... My understanding is that the behavior you described is the way map:mount works; once it is executed there is no return. That is of course why it usually occurs inside a map:match element. One way to do what you wanted to do would be to use an external entity: map:pipeline

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

Duplicate emails sent from List

2004-12-16 Thread [EMAIL PROTECTED]
Apologies to all regarding these duplicate emails from me. Most of which have been occurring during the night here (Australia) - so could not address the issue till this morning. My mail server tech says the problem is from the cocoon list. I tried sending this email to [EMAIL PROTECTED]: --- |

[HELP] COCOON-EHCACHE-1CACHE - Professional help needed

2004-12-16 Thread Daniela Innerwinkler
Hi Roy! I got the ehcache-1.1.jar and replaced the ehcache-1.0 jar in Tomcat/webapps/cocoon/WEB-INF/lib with the new file. I have got jdk 1.4.2_03. The ehcache-homepage states, that there is a dependency with commons-logging.jar. There is already a newer version named

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

forms newbie

2004-12-16 Thread Ben Anderson
I just want to set a field in a form before I display it. I'm assuming I can set a default value in the form definition, but I was trying to set it explicity in my flow script. simple form definition fd:field id=documentName required=true fd:labelDocument

Re: Cocoon 2.1.6: what happened to FlowHelper.CONTINUATION_OBJECT?

2004-12-16 Thread John L. Webber
Hello Reinhard, Thanks, I already changed our code to use that method (which we probably always should have used). Regards, John Reinhard Poetz wrote: John L. Webber wrote: FlowHelper.CONTINUATION_OBJECT was public static final in Cocoon 2.1.3; in Cocoon 2.1.6 it's now private static final. Was

Re: Matching on HTTP method?

2004-12-16 Thread Andrzej Jan Taramina
Upayavira: There really isn't that much to the RequestMethodSelector, so documenting it isn't particularly hard. The problem wasn't that the selector is hard to work out how to use, more about how to discover its existence, for which, even a basic page on the Cocoon site saying The

Re: Passing some parameters to a Form by using shoForm

2004-12-16 Thread angeloimm
Hi.. yes i know this way... but what i would like to do is something like this: flow-script: function upload() { var form = new Form(forms/upload_model.xml); var k = form.showForm(upload-display-pipeline); k.invalidate(); cocoon.sendPage(upload-success-pipeline.jx, {

Do I need a repeater to append nodes in XML file

2004-12-16 Thread Lincoln Mitchell
I am trying to learn CFORMS and for starters wish to create just a simple 1 field form and a submit button that appends a new contact to a xml document like this: contacts contact firstnameFred/firstname /contact contact

RE: Still challenged with building Cocoon in Eclipse

2004-12-16 Thread H . vanderLinden
When put this way I assume I do build Cocoon in Eclipse 3.1 according to your definitions. The ExceptionInInitializerError is caused by the fact that Eclipse defaults to it's own Ant 1.6.2 version, as you've already figured out. I solved this problem by going into the properties of the run ...