how to call form object in form definition

2007-02-25 Thread 許議中
Hi! in flow: function content1(form){ form.xxx } how to use the object of form in flow to form definotion fd:javascript. the var form = event.source.form; seem not the same to it. Best Regards johnson

how to access event of form in flowscript

2007-02-25 Thread 許議中
Hi! Does any one know how to access event of form in flowscript for 2.1.10, ex. onClick... Best Regards johnson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Ajax form reloading problem

2007-02-25 Thread Andrew Madu
Hi, supplemental to my last 2 posts!, I have noticed that if I have noticed that if I have an onload="" in the body tag of an ajaxified page, when you submit the page with incorrectly filled out form elements the whole page will reload. So to recap: 1. If serialize type="xhtml" in sitemap defini

Re: Ajax form reloading problem

2007-02-25 Thread Andrew Madu
Hi, supplemental to my original post, I have noticed that when I first load the ajax form page which has a serialize type set to xhtml I get an ajax javascript error which states @ line 1 of the dojo_ajax.js file: cocoon is not defined Was this same error not dealt with last year if I remember c

Ajax form reloading problem

2007-02-25 Thread Andrew Madu
Hi, I have the latest SVN version of cocoon and have noticed from the following code: that if, and in the map:other section, I set the serialize type to

Re: How to get Avalon Component from Bean?

2007-02-25 Thread Grzegorz Kossakowski
Dev at weitling napisał(a): Maybe I was not firm enough, I'm sure it works this way, see doSave(): https://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/binding/ValueJXPathBinding.java?view=markup :-) Did you write that code

Re: How to get Avalon Component from Bean?

2007-02-25 Thread Dev at weitling
> I think the only way to obtain ServiceManager is implementing > Serviceable interface but it will only work if your POJO is component > and is managed as component, but it's not the case for binding. So I > think it's possible to do this way. So, implementing Serviceable and configuring my POJ

Cannot set property: /keywords[1]/keyword - no such property

2007-02-25 Thread Andre Juffer
Hi, I have a problem with a very simple repeater in cocoon-2.1.9/tomcat-5.5.16/java-1.6. This is the binding that I use: The class for which the binding is, contains, among other, public class Specification { ... public void addCategory(String category)

Re: How to get Avalon Component from Bean?

2007-02-25 Thread Grzegorz Kossakowski
Dev at weitling napisał(a): Hi Grzegorz, if I don't have to reinvent the wheel I stop chiseling quadratic stones :-) ;-) Yes, there is lazy loading of dependent SQL tables, handled in the form as nested repeaters. Any class loading my SQL data should use a preconfigured (Avalon) component f

Re: How to get Avalon Component from Bean?

2007-02-25 Thread Dev at weitling
Hi Grzegorz, if I don't have to reinvent the wheel I stop chiseling quadratic stones :-) Yes, there is lazy loading of dependent SQL tables, handled in the form as nested repeaters. Any class loading my SQL data should use a preconfigured (Avalon) component for the DB connection - but how to get