I'm developing one CMS project in Struts. onf of the forms i need to provide Rich text box type control.
for that how could i provide that control since there is no built control available in struts.
Please help me, this is very urgent for me..
Each rich text editor provides its own samples. Which ones have you tried and been unable to get to work?
i tried one of JQuery editors named "RTE". it's works well and be able to upload images, but i don't know how to get the url of the image that was uploaded just now.
using ajax? i a newbie of jquery and have no idea how to modify the xx.js...
do you have any suggestions?
If you're using struts2 you could use the struts2 dojo plugin and then you'll just have to declare it using <sx:textarea>. It's very simple and straight forward.
Joined: Jun 24, 2009
I used Struts2-dojo plugin once, but there occurs performance problem.
actually, the JQuery-lightweight RTE is good enough. I just wanna upload an image , then get the returned url, and insert it into the textarea..