durusmail: quixote-users: Re: Change in SelectWidget (was Re: [Quixote-users] Quixote 0.6: when?)
Quixote 0.6: when?
2002-11-05
2002-11-05
2002-11-05
2002-11-05
Change in SelectWidget (was Re: [Quixote-users] Quixote 0.6: when?)
2002-11-11
Re: Change in SelectWidget (was Re: [Quixote-users] Quixote 0.6: when?)
2002-11-11
Re: Change in SelectWidget (was Re: [Quixote-users] Quixote 0.6: when?)
Neil Schemenauer
2002-11-11
On Mon, Nov 11, 2002 at 11:33:52AM -0500, Greg Ward wrote:
> On 05 November 2002, Jonathan Corbet said:
> > Uh-oh...I use a lot of SelectWidgets.  What have you done to me now? :)
>
> I didn't read the checkin message closely enough, that's what -- it
> looks like backwards compatibility *was* preserved.

Not entirely.  The new code uses the descriptions for the "value"
attribute of option tags.  The old code used the integer index of each
allowed value.  The purpose of this change is to make select widgets
more robust if the list of options changes.

As long as your descriptions are unique and you don't "look inside" the
widget then the change is backwards compatible.

  Neil

reply