TinyMCE editor in JSF

Reply

Join Date: Aug 2007
Posts: 199
Reputation: tanha is an unknown quantity at this point 
Solved Threads: 0
tanha tanha is offline Offline
Junior Poster

TinyMCE editor in JSF

 
0
  #1
Dec 27th, 2008
Hi.
I want ot use the TinyMCE editor in my jsf code, but unfortunately there is error in using the init function, and also in eclipse when I copy the folder of the tinyMCE, there is warning sign on the folder.

can any one help me through this issue ???

NOTE:
I downloaded the "Main package" and then I copy the folder of the "tinyMCE" into my project directory and then I used the following code:

  1.  
  2. <!-- TinyMCE -->
  3. <script src="tiny_mce/tiny_mce.js" type="text/javascript"></script>
  4. <script type="text/javascript">
  5. tinyMCE.init({
  6. mode : "textareas",
  7. theme : "simple",
  8. width : "800",
  9. height : "480"
  10. });
  11. </script>
  12.  
  13. <!-- /TinyMCE -->

nothing happen to my text area ? and also I get the warning error in the problems tab of the eclipse editor: (attached)

Thanks
Last edited by tanha; Dec 27th, 2008 at 4:01 pm.
Attached Thumbnails
problems.JPG  
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 199
Reputation: tanha is an unknown quantity at this point 
Solved Threads: 0
tanha tanha is offline Offline
Junior Poster

Re: TinyMCE editor in JSF

 
0
  #2
Dec 28th, 2008
any idea please ???
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,609
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 464
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: TinyMCE editor in JSF

 
0
  #3
Dec 28th, 2008
The warnings are because the specification uses all lowercase convention when specifying intrinsic event handlers; i.e. onchange in favor of onChange.

Since this is some library specific issue, your best bet is to run this application in Firefox and use the Firefox Error console or the addon Firebug to trace Javascript errors.
I don't accept change; I don't deserve to live.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the JSP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC