Using TinyMCE in WebTOP environment (2)
This tutorial is a continuation to Using TinyMCE in WebTOP environment, but today I'm going to cover on Form object under Savvy.Core, by default Form.validate() can't validate TinyMCE editor since it's neither Input, Select nor Textarea. Not only that, more complication would occur if your TinyMCE have button using Select element such as:
- formatselect
- fontselect
- fontsizeselect
- styleselect
For this example I going continue from the previous example to fetch data from TinyMCE editor to the original textarea and avoid TinyMCE from messing up due to use of Form.Validate().
Using TinyMCE in WebTOP environment
One of my greatest challenge while developing the WebTOP application (using Savvy.PItO) for ChronoSight is integrating it with TinyMCE Text Editor. In fact the same applies in any WebTOP/AJAX application where module are pulled without the use of page refresh. TinyMCE have prepared tinyMCE.execCommand() JavaScript function call for this purpose.
For this example I going only going to show you how to do dynamic load and unloading of TinyMCE with JavaScript.
Savvy.js version 0.1.1.1 Release
The new Library have been available since today morning, other than the JavaScript Inline Calendar I was mentioning on my previous post, I also made a hotfix for ImageBOX which create a bug in Opera. The current Library sum up to 51KB+ at the moment and I'm looking into ways to strip it down using either compression or separating additional Library from the Core.
So far, I manage to compress it to 20KB+ (compressed file included in the zip) using a compressor tool for JavaScript at JavaScript Compressor.
EJSChart, A JavaScript Chart Library

Here's an alternative to charting library most web developer would apprieciate to have including myself. Jacob Miller and his team is currently develop a rich charting library called EJSChart, by the look of it they have manage to create a good solution for those who prefer not to go with Flash or Image based solution.
Savvy.js version 0.1.1.0 Released
As mention earlier in What Next?, there a lot of changes being made to the core of Savvy.js Library. For starter each Object no longer have the prefix savvy name to save space for more important requirement. The prefix removal along have reduce 5-10KB for ChronoSight.CMS usage alone, but since I also added more function the total size now is almost 46KB.
At the moment I'm still pretty much trying to understand Object Oriented for JavaScript and hopefully more function will be added later as we proceed, full release note after the jump.