answered
2014-09-11 16:39:04 +0800
chillworld 5367 ● 4 ● 9
https://github.com/chillw...
Oke here is your problem :
<intbox constraint="no negative" id="azxc32"
sclass="@load(empty vmsgs 'seatEmpty'] ? '' : 'invalid')"
value="@bind(ttFlightvm.ttCommonFlightBean.seat)"
readonly="@load(ttFlightvm.viewOperation)" />
You ask from viewmodel getTtCommonFlightBean.getSeat();
If I check getTtCommonFlightBean() I see this method :
public FlightScheduleBean getTtCommonFlightBean() {
return ttCommonFlightBean;
}
If you check the FlightScheduleBean.java
it has no getSeat()
method in the class.
Where do you have the getSeat();
method? => In TtFlightBean.
So I think you entered a wrong value(getter).
Possible getters are one of these 2 :
public TtFlightBean getTtArrivalFlightBean() {
return ttArrivalFlightBean;
}
public TtFlightBean getTtDepartureFlightBean() {
return ttDepartureFlightBean;
}
Greetz chill.
Can you post the zul, the viewmodel and the pojo (partially but with getter and setter from seat) where seat is in?
chillworld ( 2014-09-10 12:33:52 +0800 )edit