Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • 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

Create a Print Preview using the data set in the rich text editor

 
Ranch Hand
Posts: 37
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,
I need to create a print preview button in the jsp page. i am using a rich text editor in the jsp page and it has all the word editing functionalities. if the user clicks preview it should show a print preview of the text he has created.
 
Ranch Hand
Posts: 58
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Show the innerHTML of the rich text editor in desired location.
 
K West
Ranch Hand
Posts: 58
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have used this editor [http://ckeditor.com/demo] and it has preview button with other features.
 
Pramod Krishna Murthy
Ranch Hand
Posts: 37
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot for the reply and the time you have taken to help me out. It really helped me.
 
Pramod Krishna Murthy
Ranch Hand
Posts: 37
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need one more help from you.
i developed the rich text editor. now i need to save the text in the same format as it was in the editor. for this normally some text or some html tags will be appended to the text and will be saved. i saw the same thing in your application also. i even downloaded the source code and went through it. but when i tried to analyse it , my editor rendered it in one packed format. so i was not able to fully understand it. can you please give me the code that is appended with the text to recognize whether it is bold italic and so on. i need to insert it in this format for further processing.
 
Pramod Krishna Murthy
Ranch Hand
Posts: 37
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got it...
its working now...
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic