Asked questions about Trinidad

Does <af:objectIcon/> allow custom icons?

Yes it does! Here is a sample for doing this:

.myIconName:alias
{
  content:url(.../ico16.gif);
  width:16px;
  height:16px
}

<af:objectIcon name="myIconName"/>

Note the ":alias"

Does Facelets work with Trinidad?

Of course, it does! Please define the Facelets' ViewHandler only inside the web.xml

<context-param>
  <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
  <param-value>com.sun.facelets.FaceletViewHandler</param-value>
</context-param>

Where do I find a taglib file for using Trinidad with Facelets?

Trinidad supports Facelets out of the box. There is no extra taglib file, which a user must add. The Trinidad impl jar contains it.

Trinidad_FAQ (last edited 2009-09-20 23:00:38 by localhost)