No. Apache MyFaces Trinidad runs on any implementation of the JSF 1.1 specification (or later). Apache Trinidad can be used with either the Sun Reference Implementation or MyFaces. Apache Trinidad offers a JSF 1.2-based branch that requires a JavaEE 5 engine.
Please see the platform section on the installation page for information on how to deploy to JDeveloper, standalone OC4J, and Tomcat. We'd appreciate any contributions of information on deployment to other servlet engines (as best as we know, all are supported).
Yes; standard Faces tags and Tomahawk tags can be used with MyFaces Trinidad. You can even use <h:form> instead of <tr:form> without losing any MyFaces Trinidad functionality.
Good question. Here's a list of some of the advantages
- Rich DHTML client-side renderers
- Provide more efficient implementations of client-side state saving (reduced per-component size)
- Rich set of components, validators, and converters
- MyFaces Trinidad tags often offer more features than the standard tags; for example, all input components offer built-in label and message display support ( For more information on the differences between the MyFaces Trinidad tags and the standard Faces tags, please see the following document ).
- MyFaces Trinidad tags can be used inside of the <tr:forEach> tag (it is, unfortunately, not possible to support standard tags inside <tr:forEach>). (This limitation does not apply in JSF 1.2.)
- Accessibility - support for Section 508
- Bidirectional language support - Apache Trinidad components automatically render themselves appropriately for bidirectional languages. Users can also use the "start" and "end" constants instead of "left" and "right"
- Skinning - support for adjusting the look-and-feel of components with an extended CSS format
Apache Trinidad is a significant evolution of the ADF UIX code. The
proprietary API (
of ADF UIX has been replaced with the standard JSF API, and we've added
many features to our components that take advantage of the JSF architecture.
In making this change, we've also overhauled nearly all our component
names and attribute names to fit in closely with JSF naming conventions.
ADF UIX and Apache Trinidad can be installed in a single web application
You cannot directly point to a JSF JSP file; you either need to add "/faces" after the servlet context path, or change the suffix (in the URL only) to ".faces".
JSF requires the <f:view> JSP tag around all JSF JSP tags; this obscure error is the result of failing to include <f:view>. (As of May 2007, a better error message is given.)
You may have trouble seeing dialogs if you have popup blockers installed.
You may have not have configured your Resources Servlet in your web.xml. Please refer to installation instructions to configure the ResourceServlet.
You may be missing the "setXyz()" function matching the "getXyz()" function that is controlling your field's value, or you might have mispelled its name. This makes that property read-only. When Apache Trinidad detects that an input field is using a read-only model property, it automatically switches the field to read-only mode, which is why it looks like plain text. For what it's worth, if you tried the same model property with <h:inputText>, it'd look fine when you first render the page, but JSF would throw an exception when you posted back to the server and it couldn't write the new value into the model.