Re: AW: get

2006-12-19 Thread Dennis Dam
/forms/conf/forms-binding.xconf. Dennis Dam Mark Lundquist wrote: Hmm, I don't really know of a way to do it, but maybe someone else does. I don't understand the internals of the binding framework all that well, but I do know that the bindings are a totally separate abstraction

Re: Nested Repeaters in Cocoon Forms

2006-11-07 Thread Dennis Dam
You might also take a look at the "Tasktree" sample in the forms block of Cocoon 2.1.9. peter wrote: Hi, I am trying to setup some nested repeaters using Cocoon Forms (currently migrating from 2.1.7 to 2.1.9) and have not really found a lot of information searching. There was one good result

Re: How to add on-click event handler to fieldWidget

2006-10-30 Thread Dennis Dam
t the field widget's state. Don't know if this is the cleanest solution, but should work. Dennis Dam Robby Pelssers, AGP wrote: Hi all, I'm looking for a way to add an on-click event handler to a fieldWidget. I would like to achieve that when a user clicks on a fieldwidget

Re: Access to XML bean elements in flowscript/javaflow

2006-08-09 Thread Dennis Dam
Saskia Heesen wrote: "tmp.getNodeValue().getFirstChild().getNodeValue()" doesn't work since "tmp.getNodeValue()" is null. But "tmp.getFirstChild().getNodeValue()" returns the correct value. So, my problem is solved for flowscript. Thank you all for your good hints and kinds of information.

Re: Contacting input modules from jx

2006-08-08 Thread Dennis Dam
Why not pass the values from the sitemap? i.e.: I consider it best practice to state all the input values to processing components specifically in the sitemap. It provides a nice overview of all the values that could change the outcome of a JXTemplate. Or do you have a specific reason n

Re: Access to XML bean elements in flowscript/javaflow

2006-08-08 Thread Dennis Dam
bean.getElementsByTagName("beannumber") returns a DeepNodeList-Object. I get an object Node() via the method item() of the class DeepNodeListImpl. var number = bean.getElementsByTagName("beannumber"); var tmp = number.item(0); tmp is now an object of type Node(). When I say tmp.getNodeName()

Re: Access to XML bean elements in flowscript/javaflow

2006-08-07 Thread Dennis Dam
I don't get this line though: var number = bean["/root/beannumber"]; what kind of object is "bean" ? Doesn't seem to be a org.w3c.document ? Dennis Dam wrote: Probably a org.w3c.Document object ? Anyway, your binding is not correct: the path of fb:context shou

Re: AW: How does the captcha valid. in forms work?

2006-08-07 Thread Dennis Dam
that's how I thought it worked too (after some puzzling) .. some documentation would be nice and make things clearer! Christofer Dutz wrote: Hi Marco As far as I understand it, the widget generates a string with the expected value and gives this an id. This is stored in the session. When r

Re: Access to XML bean elements in flowscript/javaflow

2006-08-07 Thread Dennis Dam
Probably a org.w3c.Document object ? Anyway, your binding is not correct: the path of fb:context should be /root. The path of your fb:value is relative to /root, and thus correct. Mark Lundquist wrote: On Aug 6, 2006, at 12:23 PM, Ard Schrijvers wrote: Use bean.lookupWidget : http://cocoo

Re: Puzzle: Login method using the following criteria

2006-08-01 Thread Dennis Dam
Nils Kaiser wrote: Hey Dennis, in your flowscript, when the user is successfully logged in, don't redirect using the cocoon:// url, but instead call the pipeline using sendPage. The request headers should not be there as it is an internal request. they are there .. still getting internal s

Puzzle: Login method using the following criteria

2006-08-01 Thread Dennis Dam
meets the above criteria? regards, Dennis Dam -- Hippo Oosteinde 11 1017WT Amsterdam The Netherlands Tel +31 (0)20 5224466 - [EMAIL PROTECT

Re: Passing XML to webservice?

2006-06-15 Thread Dennis Dam
n cocoon 2.1.8 / 9 under samples/soap! hope this helps, regards, Dennis Dam Antony Grinyer wrote: Hi, In the sitemap, how do you pass the XML produced from a transformer onto an external web service: SEND TO WEBSERVICE HERE! Many thanks in advan

RE: choose don't work

2004-08-12 Thread Dennis Dam
Your test is not correct. it should be .. .. I reckon DD -Original Message- From: Noureddine BEKRAR [mailto:[EMAIL PROTECTED] Posted At: Wednesday, August 11, 2004 5:08 PM Posted To: Cocoon User List Conversation: choose don't work Subject: jx:choose don't work Hi all, I have in m