• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Rich text box type control in struts

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi All,

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..


Thanks in Advance
Srini
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are a ton of rich editor controls; AFAIK they all work with Struts.
 
srinivasB vas
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you gimme some examples
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

srinivasB vas wrote:Can you gimme some examples


Each rich text editor provides its own samples. Which ones have you tried and been unable to get to work?
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

David Newton wrote:

srinivasB vas wrote:Can you gimme some examples


Each rich text editor provides its own samples. Which ones have you tried and been unable to get to work?


hi, David.
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?
thanks.


Aran.
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
aran tam
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic