Re: CForms tree-model using xml as source?

2006-05-31 Thread Fred Vos
On Tue, May 30, 2006 at 04:11:57PM +0200, Martijn C. Vos wrote: Is there an easy way to get the data for my tree widget from XML instead of a file structure? I'm reading http://cocoon.apache.org/2.1/userdocs/widgets/widget_tree.html and looking at the samples, and while I think basing a

Re: Accessing resources defined in the main sitemap in Sub sitemap

2006-05-31 Thread Jeroen Reijn
Hi Sanket, I'm afraid that is not possible. Regards, Reijn Sanket Pattekar wrote: Hi, I want to access the resources defined in the main sitemap in my mounted sub-sitemap. How do I do the same. Sanket - To

help please

2006-05-31 Thread johnson
Hi! I use 2.1.8 , and want to know the value in a repeater field. var ssaved = logList.getRow(i).getChild(saved).getValue(); bs.alert(ssaved); --false bs.alert(Boolean(ssaved)); --true the first one show false(it's correct), and second show true, why. the typeof ssave is object. Best Regards

RE: Restrict users to flow

2006-05-31 Thread Seth Foss
Tony, That looks like just what I need. Could you give me an example of how your are accessing that xml from your sitemap? Seth From: tedwards [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 7:06 PMTo: users@cocoon.apache.orgSubject: Re: Restrict users to flow Hi Seth,I restrict

RE: Accessing resources defined in the main sitemap in Sub sitemap

2006-05-31 Thread Ard Schrijvers
Hi, I want to access the resources defined in the main sitemap in my mounted sub-sitemap. a resource like a pipeline? Just use map:generate src=cocoon://foo / Ard How do I do the same. Sanket - To

RE: help please

2006-05-31 Thread Seth Foss
Johnson, This is a javascript detail, but if your ssaved=false, both alerts should return false. However, if ssaved=false, the boolean will return true. When you add the quotations, false si a string, without it is the boolean value. If you need it as a string, make the

Binding and fd:group

2006-05-31 Thread cocoon.erard
Hello, I've a problem with a small binding example I'm currently trying. in my model if have. fd:widgets fd:group id=page1 fd:field id=name fd:datatype base=string/ /fd:field fd:action id=next fd:labelNext/fd:label [...] /fd:group and in my Binding file: fb:context

Re: Binding and fd:group

2006-05-31 Thread Jason Johnston
cocoon.erard wrote: Hello, I've a problem with a small binding example I'm currently trying. in my model if have. fd:widgets fd:group id=page1 fd:field id=name fd:datatype base=string/ /fd:field fd:action id=next fd:labelNext/fd:label [...] /fd:group I believe you need to

Re: Binding and fd:group

2006-05-31 Thread cocoon.erard
oh yes... I've forgotten this. Thank you very much. -- Original Message -- From: Jason Johnston [EMAIL PROTECTED] Reply-To: users@cocoon.apache.org Date: Wed, 31 May 2006 07:47:03 -0600 cocoon.erard wrote: Hello, I've a problem with a small

Cocoon form/ajax problem

2006-05-31 Thread Duncan McLean
Hi Is it possible to put a submit widget within a group and then ajax enable a form? i've tried putting a widget into a group and i am getting a cannot convert null to an object when i try to load the form. form definition: fd:group id=submitBottomFunds fd:submit id=funds

Cocoon 2.1.8 performance - server configuration and cocoon configuration

2006-05-31 Thread Jonas Lundberg
I have some performance problems running Cocoon 2.1.8, with the default build, and eXist added to that. The system is quite fast in my development environment, but the server I try to deploy it on gets problems. That system runs debian sarge, Tomcat 4.1.31-3. Sun java 5, with Heap 555M. We also

CFORMS: Accept Multiple Date Formats

2006-05-31 Thread Daniel Curran
I have a date field in my form definition setup as: fd:field id=dscdate fd:datatype base=date fd:convertor type=formatting fd:patterns fd:patternMM-dd-/fd:pattern fd:patternMM/dd//fd:pattern /fd:patterns /fd:datatype /fd:field When a user enters a date

passing full file path

2006-05-31 Thread Seth Foss
I'm trying to pass the full path of a file from a form into the Sendmail transformer, but by the time the uploaded file is written into the xml to be transformed, the path has been cropped down to include only the filename. Is there any way to fix this without using _javascript_? If not,

Re: CFORMS: Accept Multiple Date Formats

2006-05-31 Thread Patrick Refondini
Daniel Curran wrote: I have a date field in my form definition setup as: fd:field id=dscdate fd:datatype base=date fd:convertor type=formatting fd:patterns fd:patternMM-dd-/fd:pattern fd:patternMM/dd//fd:pattern /fd:patterns /fd:datatype /fd:field When a

Re: Cocoon and Spring

2006-05-31 Thread Jason Johnston
Mike Casey wrote: Can anyone tell me the experiences they have had with running cocoon with spring? In particular, how did you get Spring to run Cocoon and how was this deployed under tomcat? Does the spring MVC framework get in the way of things? Or could they possibly complement each other?

Re: Cocoon form/ajax problem

2006-05-31 Thread Simone Gianni
Hi Duncan, I think you should use the fd:widgets element : fd:group fd:widgets fd:submit . If not, the definition builder simply ignores your submit button. Hope this helps! Simone Duncan McLean wrote: Hi Is it possible to put a submit widget within a group and then ajax enable a

Re: CForms tree-model using xml as source?

2006-05-31 Thread Simone Gianni
Hi Fred, this seems to be nice stuff, if you can, why don't you contribute it? You can do that opening a JIRA issue with [PATCH] in the title, a description of what your code does and how it works, and then attaching your source code to it. Simone Fred Vos wrote: On Tue, May 30, 2006 at