Just as with the tree viewer, if you don't explicitly set the label provider on the table viewer, it USES the default label provider.
和树查看器一样,如果不显式地给表查看器设置标签提供程序,它就会使用缺省的标签提供程序。
Recall from last time that the field composition component uses the field name as its default label if the label is not passed, as shown here
回想一下,在上一篇文章中,若未传递标签,字段复合组件将使用字段名作为默认标签,如下所示
Instead of loading the fieldName as its default label, you want the field composition component to look up the fieldName in the resource bundle associated with Faces.
不再将fieldName作为默认标签载入,而是想让字段复合组件在与Faces相关的资源包中查找fieldName。
Jumping into a statement expression with goto or using a switch statement outside the statement expression with a case or default label inside the statement expression is not permitted.
不允许使用switch语句或是goto跳入到声明表达式中。
Jumping into a statement expression with goto or using a switch statement outside the statement expression with a case or default label inside the statement expression is not permitted.
不允许使用switch语句或是goto跳入到声明表达式中。
应用推荐