开发者

HtmlDataTable in Richfaces 4

开发者 https://www.devze.com 2023-03-23 20:17 出处:网络
I\'m getting the following message after upgrading all my jars to Richfaces 4. The import org.richfaces.component.html.HtmlDataTable cannot be resolved

I'm getting the following message after upgrading all my jars to Richfaces 4.

The import org.richfaces.component.html.HtmlDataTable cannot be resolved

For this import:

import org.richfaces.component.html.HtmlDataTable;

Would I be c开发者_如何学Correct in saying I need to use the following instead now?

import org.richfaces.component.UIDataTable;

And if so, will replacing the following code:

HTMLDataTable table = (HtmlDataTable) component;

with the following work exactly as before?:

UIDataTable table = (UIDataTable) component;

Appreciate any help, I can't find anything on this using Google.


I changed the code to use:

UIDataTable table = (UIDataTable) component;

This worked :)

0

精彩评论

暂无评论...
验证码 换一张
取 消