java.lang.ClassCastException: org.richfaces.component.html.HtmlTree

java.lang.ClassCastException: org.richfaces.component.html.HtmlTree2010-03-14 09:39
public void processSelection(NodeSelectedEvent event) {
HtmlTree tree =null;

UIComponent ut=event.getComponent();
tree = (HtmlTree) event.getComponent();

//nodeTitle = (String) tree.getRowData();
nodeTitle = tree.getRowKey().toString();

//System.out.println("lurim_NO_Title"+nodeTitle+"lurim");

selectedNodeChildren.clear();
TreeNode currentNode = tree.getModelTreeNode(tree.getRowKey());

if (currentNode.isLeaf()){
selectedNodeChildren.add((String)currentNode.getData());
}else
{
Iterator<Map.Entry<Object, TreeNode>> it = currentNode.getChildren();
while (it!=null &&it.hasNext()) {
Map.Entry<Object, TreeNode> entry = it.next();
selectedNodeChildren.add(entry.getValue().getData().toString());
}
}
}

ClassCastException org.richfaces.component.html.HtmlTree


server/default/deploy/jboss-web.deployer/META-INF/jboss-service.xml 4.2.3
jboss-5.0.1.GA/server/default/deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml 5.0.1(bug)
<!-- A flag indicating if the JBoss Loader should be used. This loader
uses a unified class loader as the class loader rather than the tomcat
specific class loader.
The default is false to ensure that wars have isolated class loading
for duplicate jars and jsp files.
-->
<attribute name="UseJBossWebLoader">true</attribute>

类加载

richface 标配jboss看来,其下包装的tomcat的核搞不定
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值