normal class names

A very nice parameter to put in the web.xml of your ADF (trinidad) application when using custom style sheets:

  <context-param>
    <description>Compression for CSS Class Names</description>
    <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
    <param-value>true</param-value>
  </context-param>

If you don’t put this parameter at ‘true’ ADf will turn your clear style sheet elements into classes like ‘xy1′ and ‘xxb’.
Terrible to work with if you’re developing a custom style sheet and have to figure out which class you see in firebug represents your style sheet element.

Now that we’re talking about nice parameters to turn on during development of your ADF application en style sheets anyway: this is another good one

  <context-param>
    <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
    <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
    <param-value>true</param-value>
  </context-param>

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>