以下inputNumberSlider不叫我的二傳手:RichFaces的inputNumberSlider不叫二傳手
<rich:inputNumberSlider
value="#{skinningBean.currentSkin.button.backgroundColor_focussedAlpha}"
maxValue="1" step="0.1">
<a4j:ajax event="change" render="preview" oncomplete="initSlider()" />
</rich:inputNumberSlider>
public float getBackgroundColor_focussedAlpha() {
return backgroundColor_focussedAlpha;
}
public void setBackgroundColor_focussedAlpha(float backgroundColor_focussedAlpha) {
this.backgroundColor_focussedAlpha = backgroundColor_focussedAlpha;
}
我也試圖做一個二傳手,其採用字符串作爲參數,但它不是所謂的爲好。答:是的,它是在一個表格!我究竟做錯了什麼?
編輯:看來我不是唯一一個這樣的問題: http://osdir.com/ml/java-jsf-richfaces-issues/2010-10/msg00073.html
您運行的RF版本是什麼?你有沒有嘗試升級? – kolossus 2013-04-03 03:06:55