RE: CForms repeater with Ajax problem

2007-10-29 Thread Robby Pelssers
, oktober 2007 15:13 Aan: users@cocoon.apache.org Onderwerp: RE: CForms repeater with Ajax problem Thanks Robby, II tried the suggested change but still no luck. I may post this to the dev list later. Maybe this is a bug discovered in a later version but have not been able to find info on that

RE: CForms repeater with Ajax problem

2007-10-26 Thread Gary Larsen
Great! I'll give it a go. Thanks, gary _ From: Michel Gomis [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2007 10:47 AM To: users@cocoon.apache.org Subject: Re: CForms repeater with Ajax problem Hi Gary, It's for 2.1.9. We just overrided some *-styling.xsl

Re: CForms repeater with Ajax problem

2007-10-26 Thread Michel Gomis
Hi Gary, It's for 2.1.9. We just overrided some *-styling.xsl files for our own puropose. class="list" and width="100%" are is for Html/Css layout, it's optional ! multiple="false" refers to CFormsRepeater new property On 10/26/07, Gary Larsen <[EMAIL PROTECTED]> wrote: > > Hi Michel, > > > > T

RE: CForms repeater with Ajax problem

2007-10-26 Thread Gary Larsen
Hi Michel, Thanks for the code example. Could you tell me what Cocoon versions this is compatible with? From the template code it looks like it's greater the 2.1.9 I'm currently using? Thanks, gary Hi, I think you can do that by overriding cocoon's CFormsRepeater.js file.

Re: CForms repeater with Ajax problem

2007-10-26 Thread Michel Gomis
Hi, I think you can do that by overriding cocoon's CFormsRepeater.js file. 1°/ Put a copy of cocoon's CFormsRepeater.js in /resources/forms/js 2°/ Modify the new added file so that you can choose multiple or single row selection: dojo.lang.extend(cocoon.forms.CFormsRepeater, { // Properties

RE: CForms repeater with Ajax problem

2007-10-26 Thread Gary Larsen
2007-10-23 16:10:04,753 - source row: 1 value: false Even though the log says rows 0 and 1 are set to false they are still checked on the screen. Thanks, gary _ From: Robin Wyles [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 23, 2007 10:43 AM To: users@cocoon.apache.org Su

RE: CForms repeater with Ajax problem

2007-10-25 Thread Robby Pelssers
__ From: Robin Wyles [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 23, 2007 10:43 AM To: users@cocoon.apache.org Subject: Re: CForms repeater with Ajax problem Gary, me again! Quick thought - have you tried setting the state of the repeater to invisible at the start of your action triggered by th

RE: CForms repeater with Ajax problem

2007-10-23 Thread Gary Larsen
lue: false Even though the log says rows 0 and 1 are set to false they are still checked on the screen. Thanks, gary _ From: Robin Wyles [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 23, 2007 10:43 AM To: users@cocoon.apache.org Subject: Re: CForms repeater with Ajax probl

Re: CForms repeater with Ajax problem

2007-10-23 Thread Robin Wyles
Gary, me again! Quick thought - have you tried setting the state of the repeater to invisible at the start of your action triggered by the on-change event, and then back to active again at the end? I've often found this to sort out ajax updates in a repeater where you are updating widgets

CForms repeater with Ajax problem

2007-10-23 Thread Gary Larsen
I'm using Cocoon 2.1.9. I have a repeater grid where each row contains a booleanfield to select a row. My problem is I only want one row selected at a time. Without Ajax the on-change event I created will successfully toggle off other rows when one is selected. With Ajax turned on it seems l

cForms repeater validation using sum

2007-06-20 Thread Daniel Diaz
I need to test the sum of a column using cForms within a repeater. I'm having a little trouble figuring out the syntax to make this work. I want to do something like this... Error Daniel Diaz, M.S. RealNet Team smime.p

Re: CForms Repeater problem

2006-06-08 Thread Andreas Hochsteger
Hi, the repeater syntax has changed slightly since Cocoon 2.1.8 as you will find on this page too: http://cocoon.apache.org/2.1/userdocs/widgets/widget_repeater.html HTH, Andreas christian bindeballe schrieb: Hi, in the userdocs, I've read the description on how to include a repeater, here

Re: AW: CForms Repeater problem

2006-06-08 Thread christian bindeballe
Lamvik Eldbjörg (Applikations-Entwicklerin) schrieb: > Hi again, > I tested your code in one of my existing forms and it worked - I could see > all your 7 rows, so I didn't realise at first that this didn't work for you. > I just discovered that you have forgotten to add the form-template tag >

Re: AW: CForms Repeater problem [Solved]

2006-06-08 Thread christian bindeballe
Lamvik Eldbjörg (Applikations-Entwicklerin) schrieb: > Hi again, > I tested your code in one of my existing forms and it worked - I could see > all your 7 rows, so I didn't realise at first that this didn't work for you. > I just discovered that you have forgotten to add the form-template tag >

AW: CForms Repeater problem

2006-06-08 Thread Applikations-Entwicklerin
solve your problem? Regards, Ellie -Ursprüngliche Nachricht- Von: Lamvik Eldbjörg (Applikations-Entwicklerin) Gesendet: Donnerstag, 8. Juni 2006 10:58 An: 'users@cocoon.apache.org' Betreff: AW: CForms Repeater problem Hi, I believe you want to add rows, right? Then you'll nee

AW: CForms Repeater problem

2006-06-08 Thread Applikations-Entwicklerin
PROTECTED] Gesendet: Mittwoch, 7. Juni 2006 18:44 An: users@cocoon.apache.org Betreff: CForms Repeater problem Hi, in the userdocs, I've read the description on how to include a repeater, here is what I mean http://cocoon.apache.org/2.1/userdocs/widgets/widget_repeater.html I have tried

CForms Repeater problem

2006-06-07 Thread christian bindeballe
Hi, in the userdocs, I've read the description on how to include a repeater, here is what I mean http://cocoon.apache.org/2.1/userdocs/widgets/widget_repeater.html I have tried both approaches (the one supporting Ajax as well as the other), but neither time the repeater or any other part of the

Re: Cforms repeater

2006-06-01 Thread Simone Gianni
Hi Lionel, sorry but I don't understand your problem. You are typing in an htmlarea, then you click on a button to add a row in a repeater, and in that case you loose the focus? You mean that after the click the cursor is not blinking in the htmlarea anymore? In that case i suppose this is an obvio

Cforms repeater

2006-06-01 Thread Lionel Crine
Hi, I encounter a problem with a cform. I have a repeater that creating trouble with the rest of the form : When I "add a row" or "delete a row", I lost the focus on my "htmlarea" widget and "multivaluefield" widget. Why That ? I also saw that we need to do a workaround in the submit widget

Re: Cforms - repeater widget - extra whitespace

2006-05-18 Thread Patrick Refondini
Hi Peter, I have upgraded my project from Cocoon 2.1.8 to 2.1.9. It did not bring in any extra whitespace behaviour. The saveDocument() function from 2.1.9 samples could be responsible although I doubt. I use a modified version of it. Hereafter the code you may try to see if it makes any differ

Re: Cforms - repeater widget - extra whitespace

2006-05-16 Thread Peter Sparkes
Hi Patrick, I am using Cocoon 2.1.9. I am doing the following //All the ***URI variables are in putted via the sitemap //create new form var form = new Form(definitionURI); // bind form - builds the binding using xslt via the sitemap form.createBinding('cocoon:/'+bindingURI); // parse the xml

Re: Cforms - repeater widget - extra whitespace

2006-05-16 Thread Patrick Refondini
Peter Sparkes wrote: Hi, I am using CForms to amend an xml file on the server. Every time the file is amended it gets a lot of extra whitespace, when it is saved using the flowscript, wherever there is a repeater widget. Please how can I stop this happening Peter Sparkes Hi Peter, I thin

Cforms - repeater widget - extra whitespace

2006-05-16 Thread Peter Sparkes
Hi, I am using CForms to amend an xml file on the server. Every time the file is amended it gets a lot of extra whitespace, when it is saved using the flowscript, wherever there is a repeater widget. Please how can I stop this happening Peter Sparkes

[CForms] repeater-actions in union groups do not work

2005-09-29 Thread Thomas Lutz
Hi list ! I have repeaters nested in a union/group construct. Everything looks fine, the only problem is that the repeater-action buttons do not work. I think this is because the form engine does not notice I submitted the form with these particular buttons because of some namespace issues.

Cforms Repeater - Cancel delete action via javascript

2005-08-26 Thread Christoph Hermann
Hello, Is there a way to cancel a repeaters delete-row action in case a certain condition is met? I tried to put a javascript "return false;" in the on-action, but this throws an error. Maybe someone of you knows this? Christoph -

Re: [CForms] Repeater with links

2005-06-28 Thread Ugo Cei
Il giorno 28/giu/05, alle 09:15, Reinhard Poetz ha scritto: jx-macro is even more advanced than the FormsTransformer (Ajax, tree widget) but might have performance problems (I haven't tested it) caused by jx:set. This problem was eliminated in trunk (http://marc.theaimsgroup.com/?l=xml-coco

Re: [CForms] Repeater with links

2005-06-28 Thread Mark Lundquist
On 2005-06-27 07:09:24 -0700, Reinhard Poetz <[EMAIL PROTECTED]> said: Now the question is: what would be the easiest way to put the "id" property of the bean bound to the current row in place of the "[INSERT-ID-HERE]" string? You have to use the cforms macro library to get the id: ... ...

Re: [CForms] Repeater with links

2005-06-28 Thread Reinhard Poetz
Ugo Cei wrote: Il giorno 27/giu/05, alle 16:09, Reinhard Poetz ha scritto: You have to use the cforms macro library to get the id: ... uri="resource://org/apache/cocoon/forms/generation/jx-macros.xml"/> ... In this case, I should not be using the FormsTransformer, right? Are there any lim

Re: [CForms] Repeater with links

2005-06-27 Thread Ugo Cei
Il giorno 27/giu/05, alle 16:09, Reinhard Poetz ha scritto: You have to use the cforms macro library to get the id: ... uri="resource://org/apache/cocoon/forms/generation/jx-macros.xml"/> ... In this case, I should not be using the FormsTransformer, right? Are there any limitations/caveats

Re: [CForms] Repeater with links

2005-06-27 Thread Reinhard Poetz
Ugo Cei wrote: Here's a simple problem for which I cannot seem to find a simple solution (or any solution at all). I hope someone here can help me. I have a Collection of Java beans. Each bean has a couple of properties: "id" (Integer) and "name" (String). I also have a form with a repeater:

[CForms] Repeater with links

2005-06-27 Thread Ugo Cei
Here's a simple problem for which I cannot seem to find a simple solution (or any solution at all). I hope someone here can help me. I have a Collection of Java beans. Each bean has a couple of properties: "id" (Integer) and "name" (String). I also have a form with a repeater:

Re: CForms, repeater, binding and POJO's

2005-05-08 Thread Ben Pope
Sebastien Arbogast wrote: cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/Form.js"); \src\blocks\forms\java\org\apache\cocoon\forms\flow\javascript\Form.js First of all thank you for your answers Jens : you help me very much despite the fact that my questions don't seem to be very

Re: Re[2]: CForms, repeater, binding and POJO's

2005-05-07 Thread Sebastien Arbogast
> cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/Form.js"); > \src\blocks\forms\java\org\apache\cocoon\forms\flow\javascript\Form.js First of all thank you for your answers Jens : you help me very much despite the fact that my questions don't seem to be very popular. Anyway now I

Re[2]: CForms, repeater, binding and POJO's

2005-05-07 Thread Jens Maukisch
Hi Sebastien, > But first of all where does the handleForm function come from ? I > didn't find it in any flowscript file imported, and still it is called > in sitemap : cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/Form.js"); \src\blocks\forms\java\org\apache\cocoon\forms\flow

Re: CForms, repeater, binding and POJO's

2005-05-06 Thread Sebastien Arbogast
OK this sample is definitely not what I'm looking for. I don't understand how JXPath works and I can't figure out how I can edit a simple bean LIST. Not just one, but a list of them. I don't even need a repeater in fact because I don't want my beans to be editable directly in the list and I don't w

Re: CForms, repeater, binding and POJO's

2005-05-06 Thread Sebastien Arbogast
Ok thank you very much. It doesn't seem to be exactly what I'm looking for but it's a start anyway. At least it should help me understand the binfing framework a little better. But first of all where does the handleForm function come from ? I didn't find it in any flowscript file imported, and sti

Re: CForms, repeater, binding and POJO's

2005-05-06 Thread Jens Maukisch
Hi Sebastien, > Hi, > Does someone know where I can find a simple sample CForm with a > repeater to edit a list of POJO's using the binding framework ? > Because in samples the binding is made from a XML file and I can't > figure out how to adapt it. There are samples with beans too. > In fact

CForms, repeater, binding and POJO's

2005-05-06 Thread Sebastien Arbogast
Hi, Does someone know where I can find a simple sample CForm with a repeater to edit a list of POJO's using the binding framework ? Because in samples the binding is made from a XML file and I can't figure out how to adapt it. In fact what I would like to do is quite simple : - load the repeater-b

Re: CForms, repeater and continuation

2005-04-19 Thread Peter Sparkes
aries Edmonton, Alberta Canada T6G 2J8 Phone: (780) 492-3743 Fax: (780) 492-9243 e-mail: [EMAIL PROTECTED] -Original Message- From: Peter Sparkes [mailto:[EMAIL PROTECTED] Sent: Sunday, April 17, 2005 09:35 AM To: users@cocoon.apache.org Subject: CForms, repeater and continuation Hi, I h

RE: CForms, repeater and continuation

2005-04-18 Thread Binkley, Peter
Phone: (780) 492-3743 Fax: (780) 492-9243 e-mail: [EMAIL PROTECTED] > -Original Message- > From: Peter Sparkes [mailto:[EMAIL PROTECTED] > Sent: Sunday, April 17, 2005 09:35 AM > To: users@cocoon.apache.org > Subject: CForms, repeater and continuation > > Hi, &g

CForms, repeater and continuation

2005-04-17 Thread Peter Sparkes
Hi, I have a Cform which is called from any one of a number of web pages. The CForm contains a repeater widget. Both the main form and the repeater use beans to hold their data. One of the repeater fields is populated with data from the initiating web page, the others being populated by the use

RE: cforms repeater widget link styling

2004-12-18 Thread oceatoon
Philipp Rech wrote: >> > 1) how do I display a repeater widget as a "submit button"-type >> > hyperlink? >> > > hello, > i use hyperlinks to submit my cforms like this: > > name="form"> > ... > Submit also for repeaters maybe this can help delete row delete being the row action in your rep

RE: cforms repeater widget link styling

2004-12-17 Thread H . vanderLinden
Hi Jon, Don't hold me for an expert, I'm a mere Cforms user. ;-) > model: > > > > > > >

Re: cforms repeater widget link styling

2004-12-17 Thread Jon Evans
Hi Helma, On 17 Dec 2004, at 13:02, [EMAIL PROTECTED] wrote: Hi, I can go into more detail if necessary, but basically I just need to know: 1) how do I display a repeater widget as a "submit button"-type hyperlink? ? Look at the sample trio: datasource-chooser, dynamic repeater, task tree. At lea

RE: cforms repeater widget link styling

2004-12-17 Thread Philipp Rech
> > 1) how do I display a repeater widget as a "submit button"-type > > hyperlink? > hello, i use hyperlinks to submit my cforms like this: ... Submit but i am not shure if that was your question... ciao, philipp --

RE: cforms repeater widget link styling

2004-12-17 Thread H . vanderLinden
Hi, > I can go into more detail if necessary, but basically I just need to > know: > > 1) how do I display a repeater widget as a "submit button"-type > hyperlink? ? Look at the sample trio: datasource-chooser, dynamic repeater, task tree. At least one of them has a submit-button displayed as

cforms repeater widget link styling

2004-12-17 Thread Jon Evans
Hi, I've got a cforms search form in my app, which is bound to a java bean called SearchBean. The SearchBean has a String field for the search text, and a pair of Collections, one for search results and one for "activated" results (bear with me - it's quite a complex search). Both lists are pr

Re: [CForms] repeater rows selection

2004-11-03 Thread Joerg Heinicke
On 03.11.2004 13:47, pguillard wrote: I'd like to be able to select one row only of a repeater, let's say for instance in sample samples/blocks/forms/form1.flow i would have same contact list + selection list with radio styling choosing the most important contact Jules or Lucien or Chris. Have

[CForms] repeater rows selection

2004-11-03 Thread pguillard
I'd like to be able to select one row only of a repeater, let's say for instance in sample samples/blocks/forms/form1.flow i would have same contact list + selection list with radio styling choosing the most important contact Jules or Lucien or Chris. Have any idea. I don't ! Regards, Phil ---