Suko
Suko

Reputation: 13

Disable past days in selectinputdate icefaces

How I can disable past days in a selectinputdate popup in icefaces?

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

Upvotes: 1

Views: 90

Answers (1)

Vogel612
Vogel612

Reputation: 5647

You should be able to use either a validator or a valueChangeListener, as defined in the 2.0.2 TLD

In your case I assume you want a valueChangeListener. You'll have to bind a method of type void that takes a ValueChangeEvent as single argument, as mentioned in the previously linked docs.

Upvotes: 0

Related Questions