I was wondering if there was a way to create a dynamic PropertySelection Model.

The normal way I create a PropertySelectionModel is like this:

public static IPropertySelectionModel SELECTIONS = new
StringPropertySelectionModel(SelectionModelBuilder.buildSelections());

This works great for static selection lists.

However I wanted to create a dynamic on like:

public IPropertySelectionModel SELECTIONS = new
StringPropertySelectionModel(SelectionModelBuilder.buildSelections(getListOfActiveStates()));

I obviosly get an exception because IPropertySelectionModel must be
static.  Is there anyother way to do this?  Thanks.

-- 
~chris

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to