Re: Where are the JavaScript functions?

2006-03-22 Thread Nicolás Lichtmaier
In your sitemap.xmap, you need to include a matcher for the client-side javascript files. You should write something like this: I already have that in the sitemap. But there's no inclussion, no

Where are the JavaScript functions?

2006-03-21 Thread Nicolás Lichtmaier
I'm trying to create an automatic form system (from some data we have) and thought cocoon was ideal (since it's all about automatically creating things). But it's sooo complex... The form I've created has references to JavaScript functions, but I can't see anywhere in the docs where there's so

Re: Passing parameter to the XSLTProcessor... is this posible?

2006-03-20 Thread Nicolás Lichtmaier
Yes, this is possible. Here an example. Very easy... I should have tried that before asking here =). Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Passing parameter to the XSLTProcessor... is this posible?

2006-03-20 Thread Nicolás Lichtmaier
That's it. I'm matching in a pipeline with wildcards: ... and now I would like to pass {1} and {2} as normal XSLT parameters. Is this posible? I can't find anything in the docs. Thanks! - To unsubscribe, e-mail: [EMAIL PRO

Re: Accessing form data from a JX template

2006-03-17 Thread Nicolás Lichtmaier
you should pass everything you need inside the JX as a bizdata, since you are already placing the name as a biz data you can use it from JX with the bizdata name you used in flow, for example : // Placing the value of the field "name" as bizdata "username" var viewData = { "username" : fo

Accessing form data from a JX template

2006-03-17 Thread Nicolás Lichtmaier
Quick question from a Cocoon newbie: How can I access a form object from a jx template (cforms). I have this flowscript: function altaDeCliente() { var nombre = "altaDeCliente"; var formulario = new Form("cocoon:/" + nombre + "FD.xml"); formulario.showForm("alta-de-cliente-pipeline");