943,767 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 2888
  • JSP RSS
Dec 27th, 2008
0

TinyMCE editor in JSF

Expand Post »
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:

JSP Syntax (Toggle Plain Text)
  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
Attached Thumbnails
Click image for larger version

Name:	problems.JPG
Views:	101
Size:	180.2 KB
ID:	8664  
Last edited by tanha; Dec 27th, 2008 at 4:01 pm.
Reputation Points: 8
Solved Threads: 1
Posting Whiz in Training
tanha is offline Offline
217 posts
since Aug 2007
Dec 28th, 2008
0

Re: TinyMCE editor in JSF

any idea please ???
Reputation Points: 8
Solved Threads: 1
Posting Whiz in Training
tanha is offline Offline
217 posts
since Aug 2007
Dec 28th, 2008
0

Re: TinyMCE editor in JSF

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.
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 719
Failure as a human
~s.o.s~ is offline Offline
8,871 posts
since Jun 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: looking for jsp hosting
Next Thread in JSP Forum Timeline: xmldoc.load function not working





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC