嗨,我想知道如何使用特立尼达的皮肤。我用 JSF 1.2 ( apache myfaces )、JSTL、Apache Trinidad 1.2.14 创建了一个 Eclipse 项目。在我的项目中,我还创建了一个 trinidad-config.xml
<?xml version="1.0"?>
<trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
<skin-family>casablanca</skin-family>
</trinidad-config>
我认为 casablanca 是 trinidad 1.2 的默认皮肤,但我仍然确定它。(我使用 trinidad 1.2 的唯一原因是因为我不知道 trinidad 2.0 是否有任何内置的现代皮肤)。
无论如何,现在我创建了我的 index.jsp,并在 body 标记内跟随
<f:view>
<tr:form>
<tr:panelTabbed>
<tr:showDetailItem text="Apache Trinidad Components" >
</tr:showDetailItem>
<tr:showDetailItem text="Architecture">
</tr:showDetailItem>
<tr:showDetailItem text="Release">
</tr:showDetailItem>
</tr:panelTabbed>
</tr:form>
</f:view>
我期待的结果类似于http://example.irian.at/trinidad-components-showcase/component-demo/panelTabbed-Default
但我得到的只是一个丑陋的页面(http://imagebin.org/163630),其中包含链接而不是 3 个标签。任何帮助表示赞赏。
谢谢