openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

ActionSelect buttons are associations.

Open themasch opened this issue 12 years ago • 6 comments

The Buttons of ActionSelect are defined as an association not as an aggregation. These seems a bit off since the buttons are a part of the rendered control. They are not independent from each other like Label and Input. Additionally there seems to be no way to create these associations in XMLViews. Because of that these Buttons must be created in the controller (like its done in the example) what breaks MVC.

I'd suggest to move the buttons from associations to aggregations like its in ActionSheets etc.

themasch avatar Aug 05 '14 11:08 themasch

I assume you actually mean the sap.m.ActionSelect control. The buttons for the ActionSheet are already defined as an aggregation.

Fixing this issue is already on the backlog. I can't say though whether it will make this sprint.

thomaskoetter avatar Aug 05 '14 11:08 thomaskoetter

Oh yeah, sorry, was discussing with my colleague while writing this. I fixed the text & title. Man that was bad.

themasch avatar Aug 05 '14 11:08 themasch

Hi, asked thomaskoetter if there is any news on this issue Best Regards, Martin

machwitt avatar Jul 23 '15 14:07 machwitt

Any updates on this?

themasch avatar Aug 12 '16 23:08 themasch

Hi @themasch ,

Sorry for the delay. Internally tracked as #1680301366.

Thanks and Kind Regards, Diana, SAPUI5 Dispatcher

DMihaylova avatar Dec 02 '16 07:12 DMihaylova

Hi @themasch firstly I'm sorry that we closed the issues without giving you any kind of status on the matter, and secondly we've done several discussions on the matter and the final decision was that we'll keep the current behavior for now. As a workaround you can put the buttons in a hidden layout control and pass them to the ActionSelect - that way you can instantiate with pure XML.

tdniksfsap1 avatar Feb 14 '18 11:02 tdniksfsap1