, 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
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
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
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.
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
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
__
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
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
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
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
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
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
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
>
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
>
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
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
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
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
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
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
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
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
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 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.
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
-
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
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:
...
...
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
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
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:
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:
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
> 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
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
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
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
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
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
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
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
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
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
Hi Jon,
Don't hold me for an expert, I'm a mere Cforms user. ;-)
> model:
>
>
>
>
>
>
>
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
> > 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
--
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
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
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
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
---
49 matches
Mail list logo