我有这个 JSF commandButton,我用它来从表中删除行:
<h:commandButton id="deleterow" value="HiddenDelete" action="#{BatteryProfileTabGeneralController.saveData}" style="display:none" update="growl">
<f:ajax render="@form" execute="@form"></f:ajax>
</h:commandButton>
在 Netbeans 7.3 中,我收到此错误:
The attribute update is not defined in the component commandButton
update
当我成功删除行时,我使用属性来显示消息。我可以用类似的属性替换这个属性吗?