If a tag handler is reused, it should not have leftover settings from a previous tag so you must define a release method:
public class SpinnerTag extends UIComponentELTag {
...
public void release() {
// always call the superclass method
super.release();
minimum = null;
maximum = null;
size = null;
value = null;
}
...
}
Here is the complete code for
SpinnerTag.java.