Dynamic UI control "type"

Hello,
I am attempting to find the best way to handle the following situation:
I have a form with two elements: a drop down list and an input field. The drop down has multiple values.  Based on the value selected, the input field will need to be bound to a specific context attribute.
A simple application of this would be a drop down with two values:
Carr ID
Conn ID
If Carr ID is selected, I'd like the input field to be bound to an attribute of type s_carr_id so that I get the appropriate search help.  Just the same, if the user selects Conn ID, the input field would be bound to an attribute of type s_conn_id.
I don't know if dynamically assigning attribute types is the right way (or even possible).  I know work arounds (such as multiple input fields bound to individual attributes of the correct type that I would manipulate the visibility of per the drop down selection) but I'd like to see what the general input on this is.
thanks in advance.

I contemplated that however considering the user can select as many values as the like from the drop down (that is, they can change a selected value many times before submitting) I would be creating multiple dynamic fields and having to juggle the visibility etc the same as I am doing now with static fields.  I am not sure what this gains for me at all.
I was hoping for 1 static field element who's bound attribute type could be changed.  I think I'll probably just be going with x forms where x is the number of drop down choices with only 1 visible at any time.
Thanks for your input.

Similar Messages

  • Dynamic rtp payload type 123

    Hello,
    We have a problem about dynamic rtp payload type 123. Wireshark is shown rtp packets which dynamic rtp payload type is 123 malformed.
    why do cisco gateways send dynamic rtp payload type 123 packets to non-cisco gateways? Can we disable dynamic rtp payload type 123 nagotiation?
    please help,
    Thanks
    Omer

    Hello again,
    Signaling Protocol is H323. I can not take debug h323 etc  logs because of the device has too many calls. But you can find below rtp debug that i took before.
    I can not share AS full config because privacy stuff.
    voice service voip
    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711ulaw
    h323
      emptycapability
      h225 timeout setup 10
    modem passthrough nse codec g711ulaw
    sip
      bind control source-interface Loopback3
      bind media source-interface Loopback3
    no voice-fastpath enable
    dial-peer voice 1 voip
    description INCOMING Traffic
    service incomingcallcontrol
    voice-class aaa 3
    voice-class codec 101
    incoming called-number B00290..........$
    dtmf-relay rtp-nte h245-signal h245-alphanumeric
    fax-relay ecm disable
    fax rate 14400
    ip qos dscp cs3 signaling
    no vad
    RTP(54397): fs rx s=10.10.11.1(20928), d=10.10.10.1(23946), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs tx s=10.10.10.1(23690), d=172.20.60.2(12994), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs rx s=10.10.11.1(20928), d=10.10.10.1(23946), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs tx s=10.10.10.1(23690), d=172.20.60.2(12994), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs rx s=10.10.11.1(20928), d=10.10.10.1(23946), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs tx s=10.10.10.1(23690), d=172.20.60.2(12994), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs rx s=10.10.11.1(20928), d=10.10.10.1(23946), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs tx s=10.10.10.1(23690), d=172.20.60.2(12994), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs rx s=10.10.11.1(20928), d=10.10.10.1(23946), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs tx s=10.10.10.1(23690), d=172.20.60.2(12994), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs rx s=10.10.11.1(20928), d=10.10.10.1(23946), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs tx s=10.10.10.1(23690), d=172.20.60.2(12994), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs rx s=10.10.11.1(20928), d=10.10.10.1(23946), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs tx s=10.10.10.1(23690), d=172.20.60.2(12994), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs rx s=10.10.11.1(20928), d=10.10.10.1(23946), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs tx s=10.10.10.1(23690), d=172.20.60.2(12994), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs rx s=10.10.11.1(20928), d=10.10.10.1(23946), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs tx s=10.10.10.1(23690), d=172.20.60.2(12994), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs rx s=10.10.11.1(20928), d=10.10.10.1(23946), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs tx s=10.10.10.1(23690), d=172.20.60.2(12994), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs rx s=10.10.11.1(20928), d=10.10.10.1(23946), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs tx s=10.10.10.1(23690), d=172.20.60.2(12994), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs rx s=10.10.11.1(20928), d=10.10.10.1(23946), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs tx s=10.10.10.1(23690), d=172.20.60.2(12994), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs rx s=10.10.11.1(20928), d=10.10.10.1(23946), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs tx s=10.10.10.1(23690), d=172.20.60.2(12994), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs rx s=10.10.11.1(20928), d=10.10.10.1(23946), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs tx s=10.10.10.1(23690), d=172.20.60.2(12994), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs tx s=10.10.10.1(23690), d=172.20.60.2(12994), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    RTP(54397): fs rx s=10.10.11.1(20928), d=10.10.10.1(23946), pt=123, ts=1303D47D, ssrc=20351C0, marker=0
    Regards

  • Programmatically changing the Control Type of ViewCriteriaItem

    Our requirement is dynamically changing the Control Type (Date, LOV, Combo box, etc) of ViewCriteriaItem.
    We are trying in the following way,
    ViewCriteriaManager vm = view.getViewCriteriaManager();
    oracle.jbo.ViewCriteria vca[] = vm.getAllViewCriterias();
    oracle.jbo.ViewCriteria vc = vca[0];
    vc.removeAllElements();
    ViewCriteriaRow vcr = vc.createViewCriteriaRow();
    vcr.setAttribute((String)viewItemRow.getAttribute("WvciColumnName"),"");
    ViewCriteriaItem vc_item1 = vcr.ensureCriteriaItem((String)viewItemRow.getAttribute("WvciColumnName"));
    // Based on some condition
    vc_item1.setProperty(ViewCriteriaItem.CONTROL_TYPE, ViewCriteriaItem.ControlType.DATE);
    But the control type is not changed in UI?
    Kindly help us
    Regards,
    Vijay

    Hi Sonny:
    Finally I've solved the problem in Java mapping program, changing the content-type parameter like this:
         public void setParameter(Map mParametro)
              this.mParametro=mParametro;
              if (mParametro==null)
                   this.mParametro=new HashMap();
              mParametro.put(StreamTransformationConstants.CONTENT_TYPE, "text/xml");
    I hope it helps you. Regards,
    Alejandro.

  • Dynamic Access Control : Suggested Value Claim

    Currently studying for my 70-417 Exam, there's one thing i don't fully understand and can't find any resources that explain it.
    A claim type can be created, from what I understand the "suggested values" are optional, these can remain empty like for example the department resource property. 
    But why is there an suggested value option for the department? 

    Hi,
    When we create a new claim type, in the Suggested Values section, click No values are suggested.
    But search for the department attribute in the Filter box and make sure that the
    department string is highlighted in the results. Add Finance and
    HR as suggested values.
    You could refer to:
    http://www.petri.com/dynamic-access-control-dac-kerberos-claim-types-resource-properties.htm
    Step-by-Step: Protecting your information with Dynamic Access Controlhttp://blogs.technet.com/b/canitpro/archive/2013/05/07/step-by-step-protecting-your-information-with-dynamic-access-control.aspx
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Fpga: dynamic mode vs type def for FPGA ref

    What are the differences for dynamic mode and type def for FPGA referenece?  When should I use which?  Is there a scenerio when I should use neither?
    Kudos and Accepted as Solution are welcome!

    So, you can still create a Type Def of a Dynamic Interface Refnum... That sounds confusing I know. Basically, my design flow is generally as follows:
    Develop initial FPGA code.
    Create a Control or Type Def with the FPGA Interface control configured for my FPGA VI.
    Develop my host, and use the Type Def in all of my subVIs.
    If I need to edit my FPGA code, now I only have to update the control in the typedef to propagate my interface changes to all of my subVIs
    Basically, every project I do has a FPGA Reference typedef for use in my host VI.
    Attached, you can find a (incomplete) sample project of mine that does this.
    Cheers!
    TJ G
    Attachments:
    Sample Project.zip ‏233 KB

  • Using 'Calendar' control type in prompt - not available

    Hi All,
    I am trying to setup a simple from and to date prompt that can be used in my reports to set the to and from date range for filtering the fact data that is returned. Following a number of blogs and articles on this it seems pretty straightforward. I have setup two static presentation variables on the rpd (startdate and enddate respectively) and I have started to create the prompt in answers that will be used by a number of different reports.
    My issue is that, all the articles I have seen indicate the use of the 'Calendar' control type when setting up the prompt. I however only have the following control type options for the prompt *(Edit Box, Drop Down List, Multi-Select)*. I do not see Calendar. Does this need to be initialized in any way to make it available .. ie move the calendar.js file somewhere so I can use the calendar control?
    example instructions: http://obiee101.blogspot.com/2009/03/obiee-between-dates-prompt.html
    Thanks,
    K

    Figured it out. The fields I was using in the prompts were character fields representing dates 'YYYY-MM-DD'. In order for the Calendar control option to become visible the fields selected as part of the prompts need to be of date or timestamp data type.
    Thanks,
    K
    Edited by: user_K on Apr 20, 2010 12:47 PM

  • How do i drag indicator control type on WPF instead of using Drag and Drop points

    In my WPF application, i have a window which is docked with the screen. i want to automate to expand the window using an Indicator control type, by sliding it. As of now i use StartDrag and StopDrag using specific points, which is not correct when it runs
    in many other screens.
    Could you please let me know, is there way to slide the control (to set window display size to viewable) without using  drag and drop action using points.

    Hi Pavithra,
    >> As of now i use StartDrag and StopDrag using specific points, which is not correct when it runs in many other screens.
    To really understanding this issue, could you share us what you mean by ”which is not correct”? It would be much helpful if you could share us a screen shoot about your UI and your issue.
    >> Could you please let me know, is there way to slide the control (to set window display size to viewable) without using  drag and drop action using points
    Do you mean that the control of the WPF is invisible and you want to set the window display size to make it visible? If so, I think you could use the Mouse.MoveScrollWheel Method to change the windows view until the control is visible. The link below might
    be useful to you:
    # CodedUI cann't find the controls outside the screen view, Mouse.MoveScrollWheel doesn't work too
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/e1dba9ee-dc51-4160-9a1a-a2220c903db0/codedui-cannt-find-the-controls-outside-the-screen-view-mousemovescrollwheel-doesnt-work-too?forum=vstest
    If I misunderstood you, please feel free to let me know.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Hyperlinks not working in adobe acrobat 7.0 browser control type library 1.0

    Hi,
    We have used the adobe acrobat 7.0 browser control type library 1.0  in our VB 6.0 project to show the pdf files.
    We generate pdf files using oracle reports. We have generated some pdf files which contains hyperlink to UNC path.
    If we open that pdf file using acrobat reader it works fine and we can access the file kept on the path specified at hyperlink,
    problems arise when we open that file from front end ie. from VB 6.0 which uses the browser control, we are not able open the files through the links.
    Could you please help us on this. Are we missing any properties or methods of the browser control? Or we need to use higher version of the control.
    Thank you.

    Thanks for your reply. I'll check at Adobe forums as you suggested. If you're right that no Firefox plugin is available for my version of Adobe Acrobat, I'll have to give up using Firefox just after installing it! And I do like it!

  • How to know the Control type using event param???

    Hi,
    I wrote a function on MOUSE OVER EVENT. I called this
    function from a LIST and DATAGRID using addEventListener.
    Now i got a requirement like on event fire.. i wanna alert
    the control type i.e., whether the action fire from LIST or
    DATAGRID. I can create two different function for both LIST and
    DATAGRID. But requirement is like cannot reapeat the code.. code
    minimization.
    Is there any property to know the type of control(Like its
    LIST or DATAGRID) using event parameter??
    Thanks & Regards
    PRatap

    You can try using flash.utils.describeType or
    flash.utils.getQualifiedClassName on event.target property and
    figure out the control type.

  • The control type xyz is not allowed on this page. The type is not registered as safe.

    Hi all,
    I have a solution, say My.Solution, I have a project My.Project in that.In that project I have a few features.I added a visual webpart.In the properties of that, I can see that it has a safe control entry for that.I did not rename any namespace or class name.
    I just added this webpart to a new feature(which has List Definition and instance) and deployed it.The class name of the visual webpart is Foo and this is in the namespace My.Solution.Foo.
    I opened the sharepoint designer and edited the masterpage.I referenced this in masterpage as
    <%@ Register TagPrefix="cus" Namespace="My.Solution.Foo" Assembly="My.Solution, Version=1.0.0.0, Culture=neutral, PublicKeyToken=87a45275f2ea36e3" %>
    and I added this to the masterpage as
    <cus:Foo runat="server" id="customvisualwebpart"/>
    After I save in the designer and refresh the browser, I get the error,
    The control type 'My.Solution.Foo.Foo' is not allowed on this page. The type is not registered as safe.
    I checked the .webpart file and it has the namespace, My.Solution.Foo.Foo. The .spdata has a safecontrol entry too as
    <SafeControl Name="SafeControlEntry1" Assembly="$SharePoint.Project.AssemblyFullName$" Namespace="My.Solution.Foo" TypeName="*" IsSafe="true" IsSafeAgainstScript="false" />
    The assembly that contains the webpart is alread deployed to the GAC there.
    The web.config for that in C:\inetpub\wwwroot\wss\VirtualDirectories\12345 does not have a safe control entry. I don't want to add it there manualy as I don't have access to web.config in prod
    Can somebody tell me what is wrong and what I need to do to fix it?

    check you package  file 
    http://sharepoint.stackexchange.com/questions/11524/the-type-is-not-registered-as-safe-when-trying-to-add-a-web-part-installed-by
    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

  • Bringing dynamically created controls into scope

    Normally I can bring controls into scope in a function with
    the line
    var myControl = myControl;
    where myControl is the name of the control.
    If I dynamically create controls (called say cbx1, cbx7 etc.
    where the
    numbers are all different, but not necessarily contiguous)
    and save
    their names in myArray, then myArray[0] will contain the name
    of one of
    my new controls.
    How can I bring this control into scope in my function?
    And is there a way to create, read and change variable
    variables in
    ActionScript?
    Doug

    create an array within your function that's local to your
    function, if that's what you want. what's the purpose,
    though?

  • Unsupported control type: Volume

    Hi,
    I have a problem. I want to set the volume for my Audio player, but it won't work. I'm getting the exception: Unsupported control type: Volumein this Line:
    gain = (FloatControl)line.getControl(FloatControl.Type.VOLUME);
    import javax.sound.sampled.AudioFormat;
    import javax.sound.sampled.AudioInputStream;
    import javax.sound.sampled.AudioSystem;
    import javax.sound.sampled.DataLine;
    import javax.sound.sampled.FloatControl;
    import javax.sound.sampled.SourceDataLine;
    public class Player extends Thread{
         static boolean weiter;
         private AudioInputStream in = null;
         private SourceDataLine line = null;
         static Thread player = new Thread();
         static FloatControl gainControl;
         FloatControl gain;
         public Player(AudioInputStream aui){      
              weiter = true;
         try{     
              in = aui;
         }catch (Exception d){
         AudioFormat format = in.getFormat();
         DataLine.Info info = new DataLine.Info(SourceDataLine.class,format);
         try {
              line = (SourceDataLine)AudioSystem.getLine(info);
              line.open(format);
              System.out.println("Lautst�rke : "+ gainControl);
              }catch (Exception e) {
              System.exit(-2);
         public void stopPlaying(){
              if(player!= null){
                   player.interrupt();
              weiter = false;
              line.close();
         public void pause(){
              line.stop();
         public void resumeSound(){
              line.start();
         public void run(){
              startPlaying();
         public void startPlaying(){
              System.out.println("Thread start");
              while(weiter){
              int readBytes =0;
              byte[] data = new byte[20000];
              line.start();
              line.getControls();
              gain = (FloatControl)line.getControl(FloatControl.Type.VOLUME);
              gain.setValue(3f);
              do{
                   try {
                   readBytes = in.read(data,0,data.length);
              }catch (Exception e){
                   //MainClass.logger.error(e.getMessage());
                   System.exit(-3);
              if (readBytes!=-1) line.write(data, 0, readBytes);
              } while (readBytes != -1);
    }I hope you can help!
    Thanks a lot!

    Hi,
    I got the same trouble and used MASTER_GAIN control.
    I can't understand why the VOLUME control does NOT work in this case. Does someone knows?
    Moreover I have several line of this type and can't synchronize them (Exception tells that my mixer does NOT support synchronization).
    I think that this is related to the same trouble.
    Thanks for your help,
    Regards,
    Syl

  • HCM Form Dynamic UI Control change

    Hi,
    I need a solution on the dynamic UI control change in Adobe form, I am populating the backbend values in the dropdown, but the requirement is if i get only one value in the dropdown i need to show that in textfield It means that i need to change the dropdown control to textfield control based on the single value condition dynamic
    Let me know if any one have solution on this.
    Thanks
    Nag

    Hi
    Var count =  list of items in the DDL
    Var DDl = xfa.form.data.DDL (position of DDL in the form)
    Var textfield = xfa.form.data.textfield (position of textfield in teh form)
    if (count<1){
    ddl.presence = visible;
    textfield.presence = hidden;
    }else{
    ddl.presence = hidden;
    textfield.presence = visible;

  • AutoScrolling of PanelLayout and setting Location of dynamically created controls

    Hi, I have a question related to setting Location of dynamically created controls when my PanelLayout is scrolled down or up.
    So basically I have wrote a code that lets me drag on control over other other and replace their's locations.
    So I wanted to add possibility for user to dynamically add new controls (every new control is suppose to be 200px below previous) - everything is fine as long as I add them from upper section of my LayoutPanel (without scrolling) but when I try to add
    them while I'm half dawn scrolled they are placed based on CURRENT left upper corner which is NOT a upper left corner of LayoutPanel therfore they are placed with wrong padding based on current scrolled position.
    So my question is how can I avoid it and always add new controls based on LayoutPanel upper left corner? (I have already tried disabling AutoScroll while adding new control and enabling it back after adding - it works but I want to find PROPER way because
    I'm sure there must be some kind of solution to it)
    Thanks in advance.

    Hi darekg11,
    >> I have a question related to setting Location of dynamically created controls when my PanelLayout is scrolled down or up
    I am wondering what the PanelLayout was, was it a “flowLayoutPanel” or “tableLayoutPanel”?
    >> basically I have wrote a code that lets me drag on control over other other and replace their's locations
    Did you mean you drag the control at runtime or at design time?
    >> how can I avoid it and always add new controls based on LayoutPanel upper left corner
    I could not reproduce your issue, and could you share us some key code or a simple demo to reproduce your issue?
    I made a research about “scrolling panel”, and I think the link below might be useful to you:
    # Scrolling Panel
    http://www.codeproject.com/Articles/226381/Scrolling-Panel
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • How to create Dynamic Table Control

    Hi
    How to create Dynamic Table control , The field names and values to be displayed in table control are to be fetched from Add-on Tables.
    Regards
    Prasath

    Hi Jonathan,
    Actually the columns to be displayed are not constant . It will be increased based on the database values, Anyhow it will not exceed 100.
    Please confirm my understanding.
    1. In this case I have to create 100 custom columns and make it visible / invisible based on my requirement and I can set the title at runtime.
    2. How can i assosicate / reassociate the datadictionary reference for the columns that i use. Because I need to show the search help values for the
    dynamic columns.
    Your opinion on this will be helpful.
    Regards
    Prasath

Maybe you are looking for

  • No wifi on iphone 4s ios 8.02 or 8.0

    my iphone 4s is on 8.0.2 and when i go to settings/wifi   no wifi signals show up and when i try to connect to my wifi manually it says 'cannot scan for wirelss networks' i have tried restoring multiple times to and from 8.0 - 8.02 i have tried restt

  • LOV's auto refresh and having unique values.

    Hi, I'm having LOVs connected with few attributes of a table, and those fields are used in view criteria of the table. This view criteria is used in the af:query component as search fields. To avoid the duplicates in the LOV, i created a separate vie

  • Iphone to charge the battery but would not start

    Iphone sudah saya mengisi baterainya selama berjam-jam,tapi tetap tidak mau hidup. Please help.

  • Quicktime Movie is blank when I create it from the sequence HELP!

    I was unable to capture unto the external hard drive so I captured onto another on my computer. I have had to do this before. I imported the captures onto my project. I worked on the project in Final Cut Express 2, saving it carefully and all. Now I

  • Need help getting off beta channel

    I....Like so many other people I've been reading about, somehow ended up on the beta channel with an update I do not want. I was running version 16 (my choice) and ended up with version 20. I want to get off the beta channel and stay off so that I ca