简体   繁体   中英

What is a basic setup of MyFaces Trinidad on a JSF 2.0 Project?

I have a JSF 2.0 project with MyFaces Trinidad 2.0.1 components, i have created some forms using trinidad components, but some components that use ajax don't render as expected or like in the showcase or are non-responsive, The Tree component doesn't expand and the Tabbed Panel shows the content but doesn't render the Tab Control.The date picker also. Firebug doesn't show any JavaScript errors. Thank You

Im using Eclipse Indingo 3.7.2, Java EE 6, and Glassfish 3.1.2

Screenshot

Have you tried starting a project with Trinidad's Maven archetype ?

Use the following maven command and then select myfaces-archetype-trinidad20 from the options.

mvn archetype:generate -DarchetypeCatalog=http://myfaces.apache.org

Are you using one of <tr:document> , <trh:head> or <h:head> ?

Here is a JSF2 tutorial that mentions that <f:ajax> support requires <h:head> . I would not be surprised if the ajax support for Trinidad components required something similar.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM