richfaces
工厂程序员 2009-05-12 10:26:30 <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<html>
<head>
<title>repeater</title>
</head>
<body>
<f:view>
<h:form>
<rich:panel header="Simple">
<rich:tree style="width:300px"
nodeSelectListener="#{simpleTreeBean.processSelection}"
reRender="selectedNode" ajaxSubmitSelection="true"
switchType="client" value="#{simpleTreeBean.treeNode}" var="item">
<rich:treeNode>
<h:outputText value="#{item.name}" />
</rich:treeNode>
</rich:tree>
<h:outputText escape="false"
value="Selected Node: #{simpleTreeBean.nodeTitle}"
id="selectedNode" />
</rich:panel>
</h:form>
</f:view>
</body>
</html>
在上面的value="#{simpleTreeBean.treeNode}"中
simpleTreeBean已经配置到faces-config.xml中
但是在执行Welcome.jsf
他不调用simpleTreeBean的方法呢
就连simpleTreeBean的够着函数都没调用
请问这是什么问题
请不吝赐教