| Summary: | List property editor doesn't disable add action button when the list property is disabled | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Danny Ju <danny.ju> |
| Component: | Sapphire | Assignee: | Konstantin Komissarchik <konstantin> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | konstantin, ram.venkataswamy |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
This issue should be resolved now. Please verify. I have added a boolean property to the list sections of the gallery sample to make it easy to toggle enablement on/off and see the effect on the list property editors. verified with build 0.3.0.201105261624 Closing. |
I have a list property in a model, which will be disabled by certain expression: // *** Module publishing options*** @Label( standard = "module publishing options" ) @Type( base = IModuleDeploymentOptionsModel.class ) @FixedOrderList @Validator(impl=DeploymentOptionsValidator.class) @Enablement( expr = "${ ServerType == 'REMOTE_SERVER' }" ) ListProperty PROP_MODULE_DEPLOYMENT_OPTIONS = new ListProperty( TYPE, "ModuleDeploymentOptions" ); ModelElementList<IModuleDeploymentOptionsModel> getModuleDeploymentOptions(); When UI is rendered, I can see the table control greyed out, but the Add (+) button is still enabled and user can click it to add an empty row.