Jsf Richfaces 4中的HtmlDataTable
在将所有JAR升级到Richfaces 4之后,我收到以下消息Jsf Richfaces 4中的HtmlDataTable,jsf,richfaces,Jsf,Richfaces,在将所有JAR升级到Richfaces 4之后,我收到以下消息 The import org.richfaces.component.html.HtmlDataTable cannot be resolved 对于此导入: import org.richfaces.component.html.HtmlDataTable; 我现在说我需要使用以下内容是否正确 import org.richfaces.component.UIDataTable; 如果是,将替换以下代码: HTMLDat
The import org.richfaces.component.html.HtmlDataTable cannot be resolved
对于此导入:
import org.richfaces.component.html.HtmlDataTable;
我现在说我需要使用以下内容是否正确
import org.richfaces.component.UIDataTable;
如果是,将替换以下代码:
HTMLDataTable table = (HtmlDataTable) component;
与之前一样完成以下工作:
UIDataTable table = (UIDataTable) component;
感谢您的帮助,我在谷歌上找不到任何相关信息。我将代码改为使用:
UIDataTable table = (UIDataTable) component;
这起作用了:)