【问题标题】:Disable past days in selectinputdate icefaces在 selectinputdate icefaces 中禁用过去的日子
【发布时间】:2016-01-28 19:47:21
【问题描述】:

如何在 icefaces 的 selectinputdate 弹出窗口中禁用过去的日子?

<ice:selectInputDate id="date" 
    value="#{bean.date}"
    renderAsPopup="true" required="true"
    partialSubmit = "true"   
</ice:selectInputDate>

【问题讨论】:

    标签: java icefaces-2


    【解决方案1】:

    您应该能够使用validatorvalueChangeListener,如2.0.2 TLD 中定义的那样

    在你的情况下,我假设你想要一个valueChangeListener。您必须绑定一个 void 类型的方法,该方法将 ValueChangeEvent 作为单个参数,如先前链接的文档中所述。

    【讨论】:

      猜你喜欢
      • 2012-02-14
      • 1970-01-01
      • 2015-08-09
      • 1970-01-01
      • 2017-05-17
      • 1970-01-01
      • 2016-04-14
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多