Defining Tag Attributes for Method Expressions
Suppose the spinner tag specified an value change listener:
<corejsf:spinner value="#{cardExpirationDate.month}"
id="monthSpinner" minimum="1" maximum="12" size="3"
valueChangeListener="#{cardExpirationDate.changeListener}"/>
Here is how the valueChangeListener attribute is defined in the TLD file:
<attribute>
<name>valueChangeListener</name>
<deferred-method>
<method-signature>
void valueChange(javax.faces.event.ValueChangeEvent)
</method-signature>
</deferred-method>
</attribute>