Hi, The Ajax response processing looks like: - execute prependJavaScripts - replace components - execute ondomready scripts - execute appendJavascripts
I.e. the component DOM element must be there. Show us your new code. On Mon, Feb 25, 2013 at 3:56 PM, Martin Dietze <d...@fh-wedel.de> wrote: > On Mon, February 25, 2013, Martin Dietze wrote: > > > Thank you, in this case I get a Wicket Ajax error: > > > > | Wicket.Ajax: Wicket.Head.Contributor.processScript: > [CKEDITOR.editor.replace] The element with id or name "valueb54" was not > found.: eval -> if (CKEDITOR.instances['valueb54']) > > | CKEDITOR.remove(CKEDITOR.instances['valueb54']); var editor_valueb54 = > CKEDITOR.replace('valueb54'); > > Sorry, I forgot to mention that of course the element with the > id 'valueb54' does exist, it is the edit component which is just > made visible through the Ajax call. Obviously the JS code is > excecuted before the component has been placed in the DOM? > > Cheers, > > M'bert > > -- > ----------- / http://herbert.the-little-red-haired-girl.org / > ------------- > =+= > Ich trink kein Wasser. Da ficken Fische drin... > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>