Hi, all;

I have an itemRenderer based (sort of) on the checkBox Header 
Renderer described here:

http://www.returnundefined.com/2006/11/creating-truly-reusable-
renderers-with-classfactory

I'm using BindingUtils to bind to a property of an object I am 
passing in.  This property is the month number of the month that is 
currently being displayed in a calendar page so that days prior to 
the first of the month and after the last of the month can have a 
different styleName.

However, I could probably add that to the code in commitProperties() 
that sets the styleName based on checking the month of the date 
property of the data variable against the month property that is set 
automagically through BindingUtils.bindProperty().  Alternatively, I 
could add more binding expressions to handle the other settings I'm 
doing in commitProperties.  I'd like to develop a more uniform 
approach instead of the hodgepodge I have now.

The question is, which will perform better, binding or setting in 
commitProperties()?

Thanks;

Amy

Reply via email to