incubator-isis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Meyer (JIRA)" <>
Subject [jira] [Commented] (ISIS-105) Implement support for value parameter choices, defaults, etc.
Date Thu, 14 Jul 2011 15:01:02 GMT


Kevin Meyer commented on ISIS-105:

By inserting a check into the scalar panel base class (ComponentFactoryScalarAbstract), that
creates a ValueChoicesPanel if the ScalarModel has choices present, all value types now present
the user with a drop-down list of value in edit mode. 
This works for both choicesXXXX for properties, and choicesNXXXX for parameters.
An outstanding problem is that the drop-down list is not initialised with the existing value
of the property / parameter.

> Implement support for value parameter choices, defaults, etc.
> -------------------------------------------------------------
>                 Key: ISIS-105
>                 URL:
>             Project: Isis
>          Issue Type: New Feature
>          Components: Viewer: Wicket
>            Reporter: Kevin Meyer
>            Priority: Minor
>              Labels: wicket
> Currently the Wicket viewer only supports Entity choice support (i.e. if a choicesXXXX()
method exists, it is only used if the item is an entity, not a value).
> This should be extended to include support for values.
> This also extends to defaultXXX(), etc, if it isn't already supported.
> I have added "ValueCollectionFactory" and a "ValueCollection" skeleton classes, and included
a "addComponentFactoriesForValueChoices" to "ComponentFactoryListDefault". I have also added
a "VALUE_COLLECTION" to the ComponentType enum.
> But I can't quite see where to go from here!

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message