Skip to Content
author's profile photo Former Member
Former Member

Is it currently Possible? Dynamic UI Element Types

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2011 at 04:06 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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.