今日のひとこと Challange IT For Future

Teeda bug?

Seasar 読了 2分

この記事は最終更新から 20 年以上たっています。内容が現在の状況と異なる可能性があります。現在の情報は最新の記事、Fess の記事をご覧ください。

Teeda のポートレットサポートをがんばっているが、以下の問題に遭遇する。ポートレットサポートによる問題かと思ったら、teeda-example の helloDI.jsp に以下のコードを追加すると、

<h:panelGrid columns="2">
<h:outputText value="#{helloDto.hello}"/>
<h:outputText value="#{helloDto.hello}"/>
<f:facet name="footer">
<h:outputText value="#{helloDto.hello}"/>
</f:facet>
</h:panelGrid>

以下のように言われる。

java.lang.NullPointerException: value
javax.faces.internal.AssertionUtil.assertNotNull(AssertionUtil.java:32)
javax.faces.internal.ComponentAttributesMap.put(ComponentAttributesMap.java:135)
javax.faces.internal.WebAppUtils.setCreatedFacetNames(WebAppUtils.java:92)
javax.faces.webapp.UIComponentTag.saveFacesComponentAttribute(UIComponentTag.java:469)

どうも、Facet で何かが起きているような。