更新时间:2023-10-11 22:52:46
我觉得panelGroup中会被吞噬,因为只有一个组件中。也许JSF优化它。
I think the panelGroup will be swallowed since there is only one component inside. Maybe jsf optimizes it.
再有就是只有 H:的outputText
离开这的 未实现部分的这是需要的,获取阿贾克斯附加的组件javax.faces.component.behavior.ClientBehaviorHolder 接口。
Then there is only the h:outputText
left and this component doesn't implement the javax.faces.component.behavior.ClientBehaviorHolder interface which is required for a component that gets ajax attached.
您可以使用 H:outputLink的
或者 H:。outputLabel
而不是