Introduction to Apache Trinidad ------------------------------- - Trinidad is a JSF component library - supports 508 accessibility - provides additional components, many with Ajax support - provides client-side validation (JavaScript) - efficient client-side state saving - skinning, including for mobile devices - Trinidad works on top of any JSF implementation - Apache MyFaces - Mojarra - Installing Trinidad - Place Trinidad JARS in WEB-INF/lib - configure Trinidad servlet filter in web.xml - configure Trinidad RenderKit in faces-config.xml - configure Trinidad ResourceServlet (for serving images, JavaScript, etc.) - They also recommend setting JSF state-saving method to "client" to take advantage of the more efficient Trinidad client-side state saving - Optional: Configuring Trinidad - write WEB-INF/trinidad-config.xml - configure stuff like skin, accessibility, client-side validation, etc. - Trinidad components include: - Enhanced data table with paging - Tree component - Chart component - Panels - Trinidad Accessibility Features: - in trinidad-config.xml, you can configure: - possible values: default - accessibility provided inaccessible - turn of accessibility for performance screen-reader - also add to output to further support screen readers (but may make it less optimal for for non-impaired users). They don’t specify the non-optimal stuff in the docs. - possible values: high-contrast - use a high-contrast “skin” for visually impaired users that don’t use a screen reader large-fonts - same as above, but increases the “normal” font size Note that for the two above settings, you can use JSF EL like #{myBean.accessibiltyMode} to read the setting from a bean and thus support changing it dynamically. - trinidad components such as also let you specify longdesc URL (so does the standard ).