[jboss-user] [JBoss Tools (users)] - How to configure visual editor

tynor do-not-reply at jboss.com
Wed Jan 2 17:30:07 EST 2008


I am having trouble understanding the documentation with respect to how to configure the Visual Facelet editor to properly display CSS and taglibs. (chapter 8, figure 8.50 " Page Design Options").

My project is generated from seam-gen which I imported as a normal Java project. I've added the Seam nature to the project.

I've set the CSS file path as Project scoped and to the absolute path of my CSS file -- that seems to work (background color and some text attributes are rendered according to the CSS).

However, even so "visual" editor shows lots of tag markup that is anything but "WYSIWYG" -- e.g., each s:decorate is displayed as 


  | s:decorate    /path/to/some/template.xhtml
  | ui:define label 
  | some text which is the label
  | 


Do I need to do something to get the Seam and Facelet tags to be rendered "visually"? 

Also, I have some project specific taglibs. It's not clear to me what I am to set in the "URI" section for my project taglib to be properly rendered.  
etc.   If a facelet page defines my taglib via: 


  |     <ui:composition xmlns:mytags="http://domain.com/jsf/mytags"
  | 

I've tried setting the "prefix" to "mytags" and the URI to "http://domain.com/jsf/mytags" but I see no change in the visual rendering. 

Thanks!



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116551#4116551

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116551



More information about the jboss-user mailing list