Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在单击组件本身并在其位置呈现其他内容(h:outputtext)时隐藏richfaces ajax组件。这可能吗?如果是,该怎么做?
您可以更新所有表格
<rich:commandButton action="#{myBean.myAction}" reRender="formId" rendered="#{myBean.show}" />
Java代码:
public void myAction() { show = !show; }