cancel
Showing results for 
Search instead for 
Did you mean: 

Is it currently Possible? Dynamic UI Element Types

Former Member
0 Kudos

It is currently possible to change a UI Element based on a Data Field in the BO,

For example If I have a BO with an element defined as "type" (which is an enumeration of my own where 1= Check box, 2 = Select)

based on this "type" I either want the UI element to be a TextBox or a Select ... Can you dynamically change the UI in this way

(note: not looking to use a custom pane with my own Silverlight component currently)

Edited by: William Gast on May 4, 2011 6:05 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Changing the display type of a UI element dynamically is not possible.

You need to create two UI elements which you dynamically disable or enable depending on your BO field for the type. So for the UI user, the UI either should display a check box or a dropdown list box. To move the result from two different UI elements into one BO element or vice versa, you probaly need to define a third data element in the data model which gets defined by ( or sets) one of the two UI elements. To move one data element to the other you can use a event handler operation of type DataOperation or, alternatively, frontend scripting.

Former Member
0 Kudos

Is there a way to Hide the Elements completely.. or is disableing them the only option?

Former Member
0 Kudos

Sure. There is a UI property Visible which you should control dynamically in order to display either the check box or the dropdown list box on the UI.