You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2005/10/25 23:07:07 UTC

[Myfaces Wiki] Update of "FAQ" by SimonKitching

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by SimonKitching:
http://wiki.apache.org/myfaces/FAQ

The comment on the change is:
Added info about pretty-formatted HTML output.

------------------------------------------------------------------------------
  === Java Studio Creator and MyFaces ===
  Currently there is no way, to get MyFaces correctly running in the Visual Page Editor of Java Studio Creator. The reason is, that there is no common RAD tool API and nobody yet has done the work to add the needed artefacts and files, which would be needed to get the components properly into the Studio Creator. You can however use the components at codelevel, simply by the normal use of the taglib import mechanisms. Following page has infos on what to do to write components for the Studio Creator from Sun. [http://wiki.java.net/bin/view/People/WritingCustomComponents]
  
+ === How can I get pretty-formatted HTML output from Myfaces? ===
+ 
+ The [http://jtidy.sourceforge.net JTidy] project provides a [http://jtidy.sourceforge.net/multiproject/jtidyservlet/filter.html Servlet Filter] that 
+ reformats response messages before they are sent out. 
+ 
+ The Mozilla Firefox web browser has an optional extension "View Formatted Source" which allows developers to see source correctly formatted without any changes
+ at the server end.
+ 
+ In some versions of MyFaces there is a context param "org.apache.myfaces.PRETTY_HTML" that can be specified in the web.xml to enable
+ pretty output. However this option was never well supported as it requires support from every renderer in order to work. This feature
+ may be removed from future versions of MyFaces.
+