Problem in authentication framework when using umlauts

2009-07-07 Thread Ralph Rauscher
Please let me know if this is the right place to post this. There seems to be a problem in Cocoon regarding URL encoding. In this case we're using the authentication framework which internally calls a pipeline to do the authentication which in turn uses a generator we have written. Within the

Re: AW: CForms Serialization

2009-01-21 Thread Ralph Rauscher
: Ralph Rauscher [mailto:r...@blue-elephant-systems.com] Gesendet: Dienstag, 20. Januar 2009 23:43 An: users@cocoon.apache.org Betreff: CForms Serialization Hi, I have a case where I have a really large form that would require several sessions to be valid and I'd like to allow users to persist

Re: CForms Serialization

2009-01-21 Thread Ralph Rauscher
Rice Yeh wrote: On Wed, Jan 21, 2009 at 6:42 AM, Ralph Rauscher r...@blue-elephant-systems.com mailto:r...@blue-elephant-systems.com wrote: Hi, I have a case where I have a really large form that would require several sessions to be valid and I'd like to allow users

CForms Serialization

2009-01-20 Thread Ralph Rauscher
Hi, I have a case where I have a really large form that would require several sessions to be valid and I'd like to allow users to persist their work (even if the form is invalid) and continue working on it later. As the cforms binding will throw all kinds of exceptions in this case I

Re: pass repeater from database to the form

2008-08-01 Thread Ralph Rauscher
Use var row = repeater.addRow(); instead of var row = repeater.getRow(i); Мария Григорьева wrote: I'm trying to pass the parameters from the database to the repeater in the form. var repeater=form.getChild(test); for (var i = 0; i comp_in_composition.size(); i++) {

Re: Help with tree widget

2008-07-11 Thread Ralph Rauscher
Hi Peter, see below for a sample on how it works in 2.1.11 - might work as well on 2.2 or at least give you some pointers. model: ?xml version=1.0? fd:form xmlns:fd=http://apache.org/cocoon/forms/1.0#definition; fd:widgets !-- fd:tree id=myTree fd:tree-model type=java

Re: cforms problem: Cannot call method debug of undefined

2008-03-14 Thread Ralph Rauscher
Any ideas? Is it better to post this to the dev list or can I report this as a bug? Ralph Ralph Rauscher wrote: Hi, hope someone has a solution to this. I'm using cforms and keep getting a org.mozilla.javascript.EcmaError: TypeError: Cannot call method debug of undefined error

cforms problem: Cannot call method debug of undefined

2008-03-11 Thread Ralph Rauscher
Hi, hope someone has a solution to this. I'm using cforms and keep getting a org.mozilla.javascript.EcmaError: TypeError: Cannot call method debug of undefined error. This is caused by some very basic flowscript in my model which is: cocoon.log.debug(some debug message); It seems like

Re: Field widget selection lists

2007-04-17 Thread Ralph Rauscher
Grzegorz Kossakowski wrote: Ralph Rauscher napisał(a): Thanks Grzegorz! Actually I was thinking about using Unions. In my case however this would make things more complicated. One of several reasons being that the selection list for my A widget gets filled dynamically. Now the set

Field widget selection lists

2007-04-16 Thread Ralph Rauscher
in the cocoon source resetting or removing a selection list once it is set does not seem to be possible. Using setSelectionList(null) will just be discarded and I can't find another method that would accomplish this. Is there something I oversaw? Ralph -- Ralph Rauscher blue elephant systems

Re: Field widget selection lists

2007-04-16 Thread Ralph Rauscher
Grzegorz Kossakowski wrote: Ralph Rauscher napisał(a): Hi! I'm trying to achieve the following: I'm having 2 widgets. The first widget, A, should determine whether the second widget B is displayed either as - a drop down where a user can choose one of several predefined values

Access items from a selection list from within flowscript

2007-01-15 Thread Ralph Rauscher
Hi, I tried to access (read-only) items of a selection list within flowscript. This selection list is fed from a cocoon pipeline. In the cforms model, it is set up like this: fd:selection-list src=cocoon:/en/selectionlist_instructioninterface dynamic=true/ Now if I try the following code

Re: Codeselector

2006-11-14 Thread Ralph Rauscher
want to check - which would already be 3 in the case above, effectively writing the same code again and again within every distinct map:when. Thanks for your help! Ralph Reinhard Poetz wrote: Ralph Rauscher wrote: Hello, the cocoon documentation mentions a codeselector on http

Codeselector

2006-11-10 Thread Ralph Rauscher
Hello, the cocoon documentation mentions a codeselector on http://cocoon.apache.org/2.1/userdocs/selectors.html. Anyone knows how to define this selector in the sitemap? map:selector name=codeselector src=?/ Couldn't find any class in the cocoon sources that resembles a code

Re: encodeURLTransformer not working in cocoon 2.1.9?

2006-04-12 Thread Ralph Rauscher
: It is possible that that could be the problem. I thought I tested that before committing it but I'll test it again as soon as I can (it may be a couple of days though as I just got back from a week's vacation). Ralph Ralph Rauscher wrote: Hello, I'm having problems porting my existing web application

Cocoon 2.1.9 / CForms - Values lost when switching union cases

2006-04-11 Thread Ralph Rauscher
required to make this work again? Best regards Ralph -- Ralph Rauscher blue elephant systems GmbH Wollgrasweg 49 70599 Stuttgart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

encodeURLTransformer not working in cocoon 2.1.9?

2006-04-11 Thread Ralph Rauscher
in the source code between 2.1.8 and 2.1.9. In cocoon 2.1.9, for 1.4 jdks cocoon now uses java.util.regex.Pattern instead of org.apache.regexp.RE. Could that be the problem? Best regards Ralph -- Ralph Rauscher blue elephant systems GmbH Wollgrasweg 49 70599 Stuttgart Phone: +49-711-451017-574 FAX: +49

Re: CForms multivalue field breaks if used within union widget with AJAX enabled??

2006-03-03 Thread Ralph Rauscher
Antonio Gallardo wrote: Ralph Rauscher wrote: Yes, there is a sample. The datasource chooser in the cforms samples section shows the problem. When switching union cases, the values are being remembered when using a cocoon 2.1.8. Using 2.1.9-dev values entered (or values initially loaded

Re: CForms multivalue field breaks if used within union widget with AJAX enabled??

2006-03-02 Thread Ralph Rauscher
Antonio Gallardo wrote: Ralph Rauscher wrote: Thanks! The 2.1.9-dev fixes the problem - the javascript error is gone and switching cases now works. Great to hear that! However, there's a new problem. If I switch back and forth between union cases the values entered are not being

Re: CForms multivalue field breaks if used within union widget with AJAX enabled??

2006-03-01 Thread Ralph Rauscher
Thanks! The 2.1.9-dev fixes the problem - the javascript error is gone and switching cases now works. However, there's a new problem. If I switch back and forth between union cases the values entered are not being remembered any more. Is this already being addressed - if not, maybe someone

CForms multivalue field breaks if used within union widget with AJAX enabled??

2006-02-28 Thread Ralph Rauscher
Hi, I'm having trouble using a multivalue field within a union - at least with mozilla based browsers and AJAX enabled I'm getting JavaScript errors and the multivalue field stops working. Attached is a very simple example that reproduces the problem. The tar is intended to be extracted