on 05-04-2011 4:48 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.