Cform Binding problem

2008-11-13 Thread Yet another person
Hello Everybody, I worked through the form examples on the website, then i wanted to add binding functionality. So i looked at the examples from the cocoon trunk, but i don't seem to get it to work. I tried isolating the form2simplexml by copying all resources references by the flow aswell as the

RE: Form binding problem

2007-07-17 Thread Gary Larsen
ROTECTED] Sent: Monday, July 16, 2007 5:34 PM To: users@cocoon.apache.org Subject: Form binding problem I'm still trying to get Cocoon 2.1.9 working in WebLogic. Now it's forms. Would anyone have a clue what may be cauing this exception when opening a form. I tried placing avalon-fram

Form binding problem

2007-07-16 Thread Gary Larsen
I'm still trying to get Cocoon 2.1.9 working in WebLogic. Now it's forms. Would anyone have a clue what may be cauing this exception when opening a form. I tried placing avalon-framework-impl-4.3.jar in the class path but that had no affect. I'm running with JDK 1.4. Thanks, gary Caused by:

on-insert-row & bean binding problem

2007-03-01 Thread Dev at weitling
Hi! I have a form with two nested repeaters bound to three bean classes (form -> Question, form/localeRepeater -> LocalizedQuestion, form/localeRepeater/answerrepeater -> Answer). Loading works fine, but adding a new answer row doesn't work as expected. In LocalizedQuestion there is a method "addA

Re: CForms: Time widget binding problem

2006-07-17 Thread Paloma Gomez
Hi Jason, Maybe try this instead (uses the bean directly rather than jxpath's pointer): widget.setValue(jxpathContext.getNode().getTime()); var time = new java.sql.Time(widget.getValue().getTime()); jxpathContext.getNode().setTime(time); It doesn't work either

Re: CForms: Time widget binding problem

2006-07-13 Thread Jason Johnston
Paloma Gomez wrote: // no conversion necessary since Time extends Date: widget.setValue(jxpathPointer.getValue()); // create a Time from the Date: var time = new java.sql.Time(widget.getValue().getTime()); jxpathPointer.setValue(time); I'm almost there

Re: CForms: Time widget binding problem

2006-07-13 Thread Paloma Gomez
Hi Jason, Thanks for your answer. You only need the converter in the binding if your target object expects a String representation of the widget's value, such as when you're binding to an XML document. In your case you're not saving to a String so you don't need it. OK, this makes things cl

Re: CForms: Time widget binding problem

2006-07-12 Thread Jason Johnston
Paloma Gomez wrote: Hi all, After having a look at the CForms samples I'm trying to create my first form. This is the first time I'm doing it, so maybe there are things I think I understand and actually I don't ;). I'm having problems with the binding of a time widget to a bean and I can't fin

CForms: Time widget binding problem

2006-07-12 Thread Paloma Gomez
Hi all, After having a look at the CForms samples I'm trying to create my first form. This is the first time I'm doing it, so maybe there are things I think I understand and actually I don't ;). I'm having problems with the binding of a time widget to a bean and I can't find any example of time

Re: Multivalue Binding problem

2005-09-28 Thread Rafael Marquez
it excuses I lack this: java.lang.String Descripción: org.apache.avalon.framework.CascadingRuntimeException: "file:/home/rmarquez/bin/tomcat/webapps/sga/docs/usuarios/forms/create/flow.js", line 9: uncaught JavaScript exception: at auth_success (file:/home/rmarquez/bin/tomcat/webapps/sga/reso

Re: Multivalue Binding problem

2005-09-28 Thread Rafael Marquez
Hi Jeroen I include the error fd:multivaluefield id="roles"> this is the template : Roles disponibles Roles Asignados this is the binding : I obtein this error : java.lang.String org.apache.avalon.framework.CascadingRuntimeException: org.apac

Re: Multivalue Binding problem

2005-09-28 Thread Jeroen Reijn
Hi Rafael, could you add the error message, so we can see what's going wrong? Jeroen Rafael Marquez wrote: hello, I have a problem with the Mutivalue (double-listbox) my definition file: < fd:multivaluefield id="roles "> < fd:datatype to base="integer"/> < fd:selection-list src="cocoon:/auth_

Multivalue Binding problem

2005-09-26 Thread Rafael Marquez
hello, I have a problem with the Mutivalue (double-listbox) my definition file: < fd:multivaluefield id="roles "> < fd:datatype to base="integer"/> < fd:selection-list src="cocoon:/auth_role.combo "dynamic="true"/> my binding file: < fb:multi-value id="roles "parent-path ="."row-path="auth_use

Re: Binding problem...[SOLVED]

2005-06-14 Thread Roberto Marra
();    var appValue = doCountryConversion(formValue);    pointer.setValue(appValue); fb:save-form> fb:_javascript_> ...   & now it work :-D   Cheers Roberto   - Original Message - From: Roberto Marra To: users@cocoon.apache.org Sent: Tuesday, June 14, 2005 9:01 AM Subject: Bi

Re: Binding problem...

2005-06-14 Thread Marc Portier
Roberto Marra wrote: > Hi guys, > still here with some problem of binding. Let me explain the situation. > First of all a snipped of how the file are made: > > -- Binding file -- > ... > > > I suspect this path to be wrong? Reading those 3 together assumes there is one object in memory (le

Binding problem...

2005-06-14 Thread Roberto Marra
Hi guys, still here with some problem of binding. Let me explain the situation. First of all a snipped of how the file are made:   -- Binding file -- ...

Re: CForm repeater binding problem

2005-05-31 Thread Christofer Dutz
play of a reult page without returning to the flowscript. This way I could test if it's a binding-problem or a forms-problem. I am able to update the cart-elements count, delete items and move them up and down so I guess, that principly everything should be fine. If I hit the "Next" or

CForm repeater binding problem

2005-05-31 Thread Christofer Dutz
these for testing since they initiate a submit and redisplay of a reult page without returning to the flowscript. This way I could test if it's a binding-problem or a forms-problem. I am able to update the cart-elements count, delete items and move them up and down so I guess, that prin

AW: CForms binding problem

2005-03-12 Thread Claus Straube
First - thank you fort he detailed answer! => => Just something to consider: "binding is not a must" :-) => => The binding framework is intended as a help over extensive (and => duplicate: load/save) form-api calls in the majority (80-20 rule) of => cases where the flow and form deal with the ba

Re: CForms binding problem

2005-03-11 Thread Marc Portier
Claus Straube wrote: Hello, I’ve got two problems with the CForms binding. First a likely simple one: How can I add a new node to an existing xml file? I’ve got something like: http://cocoon.apache.org/2.1/userdocs/forms/binding.html#fb%3Ainsert-node detailed syntax depend on how the form an

CForms binding problem

2005-03-11 Thread Claus Straube
Hello,   I’ve got two problems with the CForms binding. First a likely simple one:   How can I add a new node to an existing xml file? I’ve got something like:   …       userdata>       userdata> …  

Re: Binding problem

2004-11-26 Thread angeloimm
Please help me... i'm not able to solve it -- Initial Header --- >From : "angeloimm" [EMAIL PROTECTED] To : "cocoon" [EMAIL PROTECTED] Cc : "users" [EMAIL PROTECTED] Date : Fri, 26 Nov 2004 12:38:17 +0100 Subject

Re: Binding problem

2004-11-26 Thread angeloimm
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) I'm really becoming crazy about this error. why doesn't it work? -- Initial Header --- >From : "Jens Maukisch" [EM

Re: Binding problem

2004-11-26 Thread Jens Maukisch
Hi, > function confHome(){ > var log = Logger.getLogger( "Configurator.js" ); > log.info( "Getting all modules from interface inner class" ); > var modules = ( ( Collection )( > Configuration.Conf.getModuleCollection() ) ); > var defConf = new Form("forms/defConf.xml"); > var bindingU

Binding problem

2004-11-26 Thread angeloimm
Hi all; i'm tring binding framework; i have this form-model: http://apache.org/cocoon/forms/1.0#definition";> Nome modulo Nome del modulo Indirizzo IP Numero porta

MultiValueField's binding problem

2004-07-22 Thread Noureddine BEKRAR
Hi,   I have a very complicated problem with multivaluesfield's binding: All is ok when i load the bean, but when i try to save the form i have this error message:    org.apache.commons.jxpath.JXPathException: Exception trying to create xpath modulesIDsList[1]; Factory is not set on the JXPa

Woody binding problem

2004-06-24 Thread Massimiliano Cantoni
Hi all, I am using cocoon for building a web application and in particular I am using woody (Cocoon forms) for handling forms. I have the following problem: I have modified the example "form_model_gui" to learn how to use the class and struct widgets. <>I need these widgets because my final goal

RE: Woody: xml binding problem

2003-12-31 Thread H . vanderLinden
; -Original Message- > From: Antonio Gallardo [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 31 December 2003 01:04 > To: [EMAIL PROTECTED] > Subject: Re: Woody: xml binding problem > > > [EMAIL PROTECTED] dijo: > > Hi, > > > > I'm trying to rebuild the f

Re: Woody: xml binding problem

2003-12-30 Thread Antonio Gallardo
[EMAIL PROTECTED] dijo: > Hi, > > I'm trying to rebuild the form2_bind_xml example for my own situation, but > on running I get an error: > > org.mozilla.javascript.EvaluatorException: > "resource://org/apache/cocoon/woody/flow/javascript/woody2.js", line 192: > Invalid JavaScript value of type org

Woody: xml binding problem

2003-12-30 Thread H . vanderLinden
Hi, I'm trying to rebuild the form2_bind_xml example for my own situation, but on running I get an error: org.mozilla.javascript.EvaluatorException: "resource://org/apache/cocoon/woody/flow/javascript/woody2.js", line 192: Invalid JavaScript value of type org.mozilla.javascript.UniqueTag Can any

AW: AW: AW: AW: AW: [Woody] Binding problem for missing elements in source file

2003-12-22 Thread Markus Heussen
Many thanks to you marc for your full description :-) > -Ursprüngliche Nachricht- > Von: Marc Portier > Gesendet: Montag, 22. Dezember 2003 17:12 > An: [EMAIL PROTECTED] > Betreff: Re: AW: AW: AW: AW: [Woody] Binding problem for missing > elements in source file >

Re: AW: AW: AW: AW: [Woody] Binding problem for missing elements in source file

2003-12-22 Thread Marc Portier
r Gesendet: Montag, 22. Dezember 2003 12:41 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: AW: [Woody] Binding problem for missing elements in source file Markus Heussen wrote: Many thanks to you, now everything works fine :-) yeah, we get there *eventually* But two questions I still have: 1. Is it

AW: AW: AW: AW: [Woody] Binding problem for missing elements in source file

2003-12-22 Thread Markus Heussen
> -Ursprüngliche Nachricht- > Von: Marc Portier > Gesendet: Montag, 22. Dezember 2003 12:41 > An: [EMAIL PROTECTED] > Betreff: Re: AW: AW: AW: [Woody] Binding problem for missing elements in > source file > > > > > Markus Heussen wrote: > > > Man

Re: AW: AW: AW: [Woody] Binding problem for missing elements in sourcefile

2003-12-22 Thread Antonio Gallardo
Marc Portier dijo: > de nada, ??? Are you learning Spanish? :-DD Best Regards, Antonio Gallardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: AW: AW: [Woody] Binding problem for missing elements in source file

2003-12-22 Thread Marc Portier
er thread where you originally posted this... Thanks for helping me! de nada, -marc= Greetings, Markus -Ursprüngliche Nachricht- Von: Marc Portier Gesendet: Samstag, 20. Dezember 2003 16:08 An: [EMAIL PROTECTED] Betreff: Re: AW: AW: [Woody] Binding problem for missing elements in source f

AW: AW: AW: [Woody] Binding problem for missing elements in source file

2003-12-20 Thread Markus Heussen
ateFormat? Thanks for helping me! Greetings, Markus > -Ursprüngliche Nachricht- > Von: Marc Portier > Gesendet: Samstag, 20. Dezember 2003 16:08 > An: [EMAIL PROTECTED] > Betreff: Re: AW: AW: [Woody] Binding problem for missing elements in > source file > >

Re: AW: AW: [Woody] Binding problem for missing elements in source file

2003-12-20 Thread Marc Portier
Nodes, fixed now. regards, -marc= Markus Heussen wrote: -Ursprüngliche Nachricht- Von: Upayavira [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 18. Dezember 2003 12:12 An: [EMAIL PROTECTED] Betreff: Re: AW: [Woody] Binding problem for missing elements in source file Markus Heussen

AW: AW: [Woody] Binding problem for missing elements in source file

2003-12-18 Thread Markus Heussen
> -Ursprüngliche Nachricht- > Von: Upayavira [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 18. Dezember 2003 12:12 > An: [EMAIL PROTECTED] > Betreff: Re: AW: [Woody] Binding problem for missing elements in source > file > > > Markus Heussen wrote: > &

Re: AW: [Woody] Binding problem for missing elements in source file

2003-12-18 Thread Upayavira
Markus Heussen wrote: -Ursprungliche Nachricht- Von: Upayavira Gesendet: Mittwoch, 17. Dezember 2003 16:49 An: [EMAIL PROTECTED] Betreff: Re: [Woody] Binding problem for missing elements in source file Markus Heussen wrote: Hi all. I'm new to the Woody framework but till now it

AW: [Woody] Binding problem for missing elements in source file

2003-12-18 Thread Markus Heussen
-Ursprungliche Nachricht- Von: Upayavira Gesendet: Mittwoch, 17. Dezember 2003 16:49 An: [EMAIL PROTECTED] Betreff: Re: [Woody] Binding problem for missing elements in source file Markus Heussen wrote: >>Hi all. >> >>I'm new to the Woody framework but till now it

Re: [Woody] Binding problem for missing elements in source file

2003-12-17 Thread Upayavira
Markus Heussen wrote: Hi all. I'm new to the Woody framework but till now it works fine for me. But I have one problem I don't know how to solve at best :-( I get the following exception when I submit the form: org.apache.cocoon.woody.binding.BindingException: Problem binding field vn_titel (par

[Woody] Binding problem for missing elements in source file

2003-12-17 Thread Markus Heussen
Hi all. I'm new to the Woody framework but till now it works fine for me. But I have one problem I don't know how to solve at best :-( I get the following exception when I submit the form: org.apache.cocoon.woody.binding.BindingException: Problem binding field vn_titel (parent = "") to xpath v: