这是我的代码。当我单击链接Comment
时,会出现 ainputTextarea
和commandButton
假设
<h:outputLink id="link" value="javascript:void(0)">
<h:outputText value="Comment"/>
<p:effect type="fade" event="click" for="reply">
<f:param name="mode" value="'show'"/>
</p:effect>
</h:outputLink>
<h:panelGrid id="reply" style="display:none;">
<h:inputTextarea id="keyword" rows="2" />
</h:panelGrid>
</h:outputLink>
当我单击链接时,似乎什么都没有发生,什么也没有出现。任何的想法。我在 Glassfish 上运行它。primeface.org 的展示在 Tomcat 下运行。