public void disabled_option() throws Exception
{
// Extra cast needed for Sun compiler, not Eclipse compiler.
List<OptionModel> options = CollectionFactory.newList(
(OptionModel) new OptionModelImpl("Fred", true, "fred", "class", "pixie"));
Select select = new Select();
select.setModel(new SelectModelImpl(null, options));
select.setValueEncoder(new StringValueEncoder());