I search the web a response to my question but I don't find anything...
I want to create a dialog allowing users to choose file for a "gallery" folder (for inserting image or attachment to the page). I retrieve folder content using Ajax calls and JSON description.
This part works well, CKEditor.ajax retrieves the data
I retrieve an array containing filename, icons, etc...
For each file I want to create an new UI element (HTML) for displaying content...
I do the work in this order :
- - Create empty dialog
- onLoad : get ajax content
-onShow : add content to the dialog (for that moment, add json string returned by server in an HTML element)
But onShow doesn't display json string...
Maybe I need to refresh dialog content ?
Remark : This howto http://docs.cksource.com/CKEditor_3.x/Howto/Editing_Dialog_Windows explains how to change dialog content before displaying it.
Thanks for your help.