Re: Restricting access by IP address

2009-09-15 Thread Peter Flynn
Thomas Markus wrote: try a generic RegexMatcher (all untested :) ) I solved it temporarily by simply passing the IP address into the XSLT stylesheet and doing the substringing there: that also let me output a suitably-formatted eror message for off-siters. Thanks for your help. ///Peter i

Re: Cocoon 2.2 / Cocoon forms repeater problem

2009-09-15 Thread Jeroen Reijn
Robby, thanks for sharing this knowledge! It's much appreciated! Regards, Jeroen Robby Pelssers wrote: Solved ;-) should become Cheers, Robby *From:* Robby Pelssers [mailto:robby.pelss...@ciber.com] *Sent:* Tuesday, September 15, 2009 1:04 PM *To:* users@cocoon.apache.org

RE: Cocoon 2.2 / Cocoon forms repeater problem

2009-09-15 Thread Robby Pelssers
Not sure what knowledge you're talking about ;-) It was my own silly mistake in the snippet below. BUT once this searcher is working I'll might write some hands on Cocoon forms material on my blog... I used cocoonforms intensively in the past so I could blog a more advanced showcase.

Re: Cocoon 2.2 / Cocoon forms repeater problem

2009-09-15 Thread Jeroen Reijn
Showing what you did wrong in this case could help others finding out that they made the same mistake. As a side note: I've been reading your blog, so if you have more interesting stuff do write about it ;-) Cheers, Jeroen Robby Pelssers wrote: Not sure what knowledge you're talking about

Re: using Cocoon for on-the-fly minification?

2009-09-15 Thread Jeroen Reijn
I wrote a small reader, which uses JSMin for minification of javascript files. I've written a blogpost[1] about this reader or you can get the source directly from [2]. Since I did not find a proper place for this reader just yet, I've put it online so you can download it. Cheers, Jeroen [

cocoon.forms is undefined when using submit-on-change=true for Field Widget

2009-09-15 Thread Robby Pelssers
Hi all, I'm back again with a problem ;-) When adding the attribute submit-on-change to a field widget (in a repeater) I see that the final html gets added the following onchange attribute : onchange="cocoon.forms.submitForm(this)". Somehow cocoon.forms is undefined. Can anybody give m

RE: cocoon.forms is undefined when using submit-on-change=true for Field Widget

2009-09-15 Thread Robby Pelssers
Diving a bit deeper into this issue I took a look at the scripts included in the rendered html. var djConfig = {}; djConfig.locale = "en"; var cocoon; if (!cocoon) cocoon = {}; cocoon.formsResourcesUri = "/cocoon-forms-impl/resource/external/forms";

Error in documentation of Cocoon forms Union widget

2009-09-15 Thread Robby Pelssers
http://cocoon.apache.org/2.2/blocks/forms/1.0/741_1_1.html has a mistake... Inside the the tags are missing in this example. Case 1 Case 2

RE: cocoon.forms is undefined when using submit-on-change=true for Field Widget

2009-09-15 Thread Robby Pelssers
I somehow got it working... not sure if changing the serializer from xhtml to html fixed it though. From: Robby Pelssers [mailto:robby.pelss...@ciber.com] Sent: Tuesday, September 15