Exception assembling root component of page Login: Could not convert 'userName' into a component parameter binding: Exception generating conduit for expression 'userName': Class changhongit.logins.pages.Login does not contain a property (or public field) named 'userName'.
下面是我的页面Login.tml
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd" >
<t:form t:id="loginForm">
<div>
用户名:
<t:textfield value="userName" />
</div>
<div>
密**码:
<t:passwordfield value="password" />
</div>
<t:submit value="登录" />
</t:form>
</html>
------解决思路----------------------
看看有没有 public 的 userName
------解决思路----------------------
改 public 看看
------解决思路----------------------
参考这个。。