The Artima Developer Community
Sponsored Link

Java Buzz Forum
Tapestry Editor component

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Warner Onstine

Posts: 242
Nickname: warnero
Registered: Aug, 2003

Warner Onstine is Java programmer and writer of two tech books
Tapestry Editor component Posted: Feb 27, 2008 10:06 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Warner Onstine.
Original Post: Tapestry Editor component
Feed Title: Tapestry Live
Feed URL: http://www.jroller.com/WarnerOnstine/feed/entries/rss
Feed Description: Home of the Tapestry Live book by Warner Onstine.
Latest Java Buzz Posts
Latest Java Buzz Posts by Warner Onstine
Latest Posts From Tapestry Live

Advertisement

A co-worker of mine was stuck with a problem with using FCKEditor to edit Tapestry pages. The problem he ran into was when he switched back and forth from the Rich view to the source view the custom Tapestry attributes that were camel-cased (i.e. : clientValidationEnabled=“true“) became lower-cased automatically. Now, when using FCKEditor you can specify a DTD and even when you specify it as XHTML 1.0 Transitional it does this.

After some digging on my part it turns out that all attribute names have to be “lower-cased”http://www.wdvl.com/Authoring/Languages/XML/XHTML/dif.html . So, how to handle this? One option would be to use a lower-level DTD (like HTML 4) but then you lose some of the other validation. I also hunted through the configuration options of FCKEditor but couldn‘t find anything really good on validating XML using it (and several relatively fruitless searches).

Then I ran across TinyMCE which allows for customizing the XHTML output and formatting in a much more fine-grained manner.

I‘m curious if others had looked at these two Rich-text editors in more detail and had some experiences with either of these in this kind of capacity.

On another note I just talked with my boss and got permission to come up with a plan for Open-Sourcing some of our cooler items that are more generic (I‘m thinking this component and my Portal component I‘m working on for starters). I‘ll keep everyone up to date on the progress of this.

Read: Tapestry Editor component

Topic: Finally, it is time to be an adult Previous Topic   Next Topic Topic: Swing is drowning

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use