Skip to Content
0

UI5 Example dropdown in Dialog fragment

Mar 27, 2017 at 03:58 PM

104

avatar image

Does anyone know of an example where a dropdown, either <Select> or <DropDownBox> is being used in Dialog (Fragmented) XML, and where the values are NOT hard-coded in the XML itself.

All the examples I can see in Explored, and elsewhere, seem to have hard coded the values in the XML itself, and what I'm looking for is how they prepare the data in the controller and bind it.

So, I have XML/controller which then opens a Dialog to display further information. I have lots of dropdown values in standard Views, but the Dialog seems to be more challenging, and trying to find a good example is proving very difficult.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jun Wu Mar 27, 2017 at 05:09 PM
0

there is no difference for your case(xmlview or fragment),

what's your problem now?

create the the dialog and add it as dependent to the view, that should be all you have to do.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

If that is the case Jun, then why are there NO, and I mean NO examples, anywhere on the internet?. Even the Explored Dialog examples hard code the drop down values within the XML.

I'll test it further in that case, but, I am pretty sure there are subtle differences between using a dropdown on a Dialog compared to a standard XML view. Will get back to this posting when I am 100% sure of my facts. ;)

0

WHY EVERYTHING NEEDS AN EXAMPLE?

0