Hi, Andrey, Thanks for your response, so just think it as taking an image
url from another site or a database table and you need to insert the image
into the inline form of the blog post inline editor programmatically when
the inline form shows up, how would you do that? I checked the
XWikiwysiwyg.js file, it will be called before the inline form editor shows
up, so this could be a good place to add code, if you have any idea, please
let me know.
Thanks again
David
On Sat, Mar 17, 2012 at 6:15 PM, Andrey Mavrin <andrey.mavrin13(a)gmail.com>wrote;wrote:
2012/3/17 du du <dddu88(a)gmail.com>
Hi, all,
I am playing around with the blog post application, when users click 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
velocity 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, users then type in more text, 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 anybody point me to the right
direction about how to
approach this to put image into the inline form programmatically?
Thanks
David
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
I really like the idea, and I would like to undertake it, as I think about
what the user chose the location for pictures and text
well I'm wondering whether your application to take the results from
another site? For example, if two sites have the same polls, if they can
share information?
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs