Ok ... I managed to find the typo ;) Unfortunately it still doesn't work. My TCP analyser tells my that an ajax submit is done correctly and cocoon responds with an bu:document without content (which is correct, since nothing has to be changed), unfortunately cocoon doesn't execute the on-value-changed code of my widget :( What could be the reason for this?
Chris -----Ursprüngliche Nachricht----- Von: Christofer Dutz [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 2. August 2006 11:06 An: [email protected] Betreff: AW: on-value-changed not working on fields with suggestion list? Hi Antonio, Thank you for that Tipp. I just patched my own version and now the ajax support is deactivated ... here the debug output: [snip] DEBUG: Loading URI/Disco2/_cocoon/resources/dojo/src/animation/AnimationSequence.js DEBUG: Loading URI/Disco2/_cocoon/resources/dojo/../forms/js/CFormsSuggest.js DEBUG: Loading URI/Disco2/_cocoon/resources/dojo/src/widget/html/ComboBox.js DEBUG: Loading URI/Disco2/_cocoon/resources/dojo/src/widget/ComboBox.js DEBUG: Loading URI/Disco2/_cocoon/resources/dojo/src/fx/__package__.js DEBUG: Loading URI/Disco2/_cocoon/resources/dojo/src/fx/html.js DEBUG: Loading URI/Disco2/_cocoon/resources/dojo/src/widget/html/stabile.js DEBUG: Loading URI/Disco2/_cocoon/resources/dojo/src/widget/InlineEditBox.js DEBUG: fragment creation error: [Error: Ungültiges Argument.] DEBUG: fragment creation error: [Error: Ungültiges Argument.] DEBUG: fragment creation error: [Error: Ungültiges Argument.] DEBUG: fragment creation error: [Error: Ungültiges Argument.] DEBUG: fragment creation error: [Error: Ungültiges Argument.] DEBUG: fragment creation error: [Error: Ungültiges Argument.] I added the styling to the advanced-field-styling.xsl, modified the template for the combo-box and patched the java-sript. Any ideas ... I am using Cocoon 2.1.9 Chris -----Ursprüngliche Nachricht----- Von: Antonio Gallardo [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 1. August 2006 17:02 An: [email protected] Betreff: Re: on-value-changed not working on fields with suggestion list? Christofer Dutz escribió: > > Hi, > > I am having some trouble with fields with suggestion-lists. If I add a > on-value-changed element to the widget containing a simple print() > statement this is only called if ajax is turned off. As soon as the > field transforms into one of the ultracool suggestion-list elements (I > really love them) no on-value-changed events are fired. I > desperately need them thou L > Hi Christofer, See http://issues.apache.org/jira/browse/COCOON-1858 Best Regards, Antonio Gallardo. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
