M Litherland schrieb:
Nice work, Werner. I guess this makes the tags I was working on for the
Dojo Editor kind of useless. I will warn you that the Editor widget has
some flaws with rendering which are particularly evident on a page with
TabbedPanes. On Firefox you cannot edit the document and on IE the
button bar doesn't show up, though the controls work. For this reason
I've switched to TinyMCE in my own projects (though I was still working
on Dojo for the Tomahawk tags). The Dojo folks are aware of the issues
with the Editor widget, but I'm not sure their timeline for addressing
it. I will say that even with these limitations the Dojo editor beats
the Kupu implementation, and personally I think the documentation should
be updated to encourage folks to use this trick instead of the inputHtml
tag.
Yes, the editor is awesome, as for the bugs, one of the reasons why I am
doing this is that we do not have to take care about the javascript
bugfixing ourselves anymore (which is a huge pain given the state of
javascript on cross browser implementations itself).
As for TinyMCE I would love to integrate it but the license prohibits it.
Anyway feel free to use the Dojo stuff, the base only will change
slightly anymore (some minor adjustments and enhancements, and fixes, I
probably did some stuff wrong given my non experience with it)
the next step then will be the integration of it in actual jsf
components, not over the styleClass way.
Thanks for the warning though ;-)
Another word of warning for the Dojo code - their tab implementation has
issues when nesting multiple tab panels. That being said, it is spiffy
looking and works well with simple pages.
Well there for sure are many issues in that lib, but overall it beats
anything else out there so far, and has lots of momentum (the huge
developer base is one of the most important criterion for me, also that
there seems to be industry support gathering behind it, and the last
aspect was that it tries to be non intrusive and very extensive).