我们对自己的JSF 2.2项目中使用这样的(代码已被简化为清楚起见)的复合成分: <!-- the page with the composite component inside -->
<my:component methodListener="#{myBean.myMethod}" />
<!-- the composite component -->
<cc:interface>
在使用复合材料部件时,有条件地与<c:if> 我知道这个的编译/渲染时间的问题,我得到一个重复的ID例外,但我真的不知道为什么下面的例子不工作。 请看看以下三个简单的片段 会话范围的bean命名testBean就持有一个布尔值和两个AJAX听众此值更改为true或false: @Named
@SessionScoped
public class TestBean implements Seri