[xwiki-devs] How to insert an image programmatically into inline form and the image will show up when the blog post inline form shows up
Hi, all, I am playing around with the blog post application, when users click on the create post button, it brings up the inline form for users to put text in, I have another requirement, we need to write some code somewhere to retrieve an image url from a database,, so when the inline form shows up after users click create post button, the image automatically shows up in the inline form, my question is where should I put the code in? also the BlogPostClass and BlogPostTemplate have TextArea objects, which create GWT inline form, this is where I need to put image in programmatically, so I am thinking about accessing the GWT code to insert image, could you all point me to the right direction about how to approach this to put image into the inline form programmatically? Thanks very much in advance David
See http://lists.xwiki.org/pipermail/users/2012-March/022312.html . On Sat, Mar 17, 2012 at 7:21 PM, du du <dddu88@gmail.com> wrote:
Hi, all,
I am playing around with the blog post application, when users click on the create post button, it brings up the inline form for users to put text in, I have another requirement, we need to write some code somewhere to retrieve an image url from a database,, so when the inline form shows up after users click create post button, the image automatically shows up in the inline form, my question is where should I put the code in? also the BlogPostClass and BlogPostTemplate have TextArea objects, which create GWT inline form, this is where I need to put image in programmatically, so I am thinking about accessing the GWT code to insert image, could you all point me to the right direction about how to approach this to put image into the inline form programmatically?
Thanks very much in advance
David _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
participants (2)
-
du du -
Marius Dumitru Florea