【发布时间】:2013-06-24 14:25:54
【问题描述】:
我正在使用 Richfaces 3.3.3 开发简单的应用程序,我想从扩展表中“删除”一个项目
这是我的 bean 代码
public void remove(){
System.out.println("suppression effectué" + this.selected);
}
这是我的面板代码
<rich:modalPanel domElementAttachment="form" id="confirmation" autosized="true">
Are you sure you want to delete the row?
<h:form>
<h:commandButton value="Cancel" onclick="#{rich:component('confirmation')}.hide(); return false;" />
<h:commandButton value="Delete" action="#{backGesDS.remove}" />
</h:form>
</rich:modalPanel>
但不幸的是我遇到了这个错误
javax.faces.FacesException: javax.el.ELException: /gesDS.xhtml @53,172 onclick="#{rich:component('confirmation')}.show();return false": Function 'rich:component' not found
你能帮我吗???
【问题讨论】:
-
糟糕的英语顺便说一句:P
-
谢谢,有什么答案吗?
-
不,抱歉不是我的编程语言:p