ADF:how to return a set of UI components dynamically at run time?

Hi all

Here's my requiremnt...
I need to display a set of interface components user (combination of text box, drop-down list, etc.) by default in a box. If the user clicks the check box at the top of the Panel, all of the below user interface components are replaced by an editable table. Can anyone suggest me please how best to do it in the ADF?


Thank you
Harish

Henin,

Have you read about af:switcher? It seems that if this component could meet your requirement.

John

Tags: Java

Similar Questions

  • Set the name of server report dynamically at run time

    Hi guru,.

    I called reports of the forms that I hardcode the name of report server in my code.
    Is there no alternative to set the server name of report dynamically at run time, is how to find the name of the report server and that in through my code as a parameter.


    can you give some examples of codes... Thank you

    One way that we usually followed before was to store the name of the report server in other tables in the database, then choose this name whenever we want to run a report.

    In this way, it is easy even if there is no change in the name of the server.

  • How would you make the superclass of an object at run time?

    How would you make the superclass of an object at run time? Is it possible

    This is probably:

    Description... @type

    However, you can also try getQualifiedClassName and getQualifiedSuperclassName

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • How can I find the width of my button at run time?

    In my application, button labels change at run time and they are changing width, I usually know what the new width of the button when his label was changed, how can I get it?

    This method works. It seems that until creationComplete width is not accessible.

    
    
      
        
      
      
      
    
    
  • How re - initialize an array with the new values at run time?

    Hello

    In this application of particluar I want to change the value of a particular index (Ex: 4th move in a 1 d table) and store the changed value (Inremented) in the same index position.

    I wrote a program, can someone tell what I am doing wrong?

    LabVIEW version: 8.6

    Screenshot kindly updated instead of .vi

    Two things.

    First of all:

    You must initialize the table (via the feedback loop).

    Click with the right button on the wire of the array and create constant.  Move the index of item 99.  Initialize element 0.  This thread up to the lower part of the feedback node.

    Second:

    You use an Insert in the table VI, but it's not describe what you try to do.  While he places an element in the position shown is also increases the size of the table.

    This change to a subset of table replace VI.

  • How to get the Subvi (the virtual path is in .exe) reference in Run Time System

    Hello world

    The problem is how to get the reference of the Sub - VI in run time system, when the Subvi is in .exe after construction.

    More details:

    Top of page vi called the Subvi dynamically, so that the Subvi is always included, and the source object is the application.exe.

    After the above configuration, the Sub - VI will be the application.exe. For example, the path of Subvi est...\application.exe\SubVI.vi

    So, how to get the reference of the Subvi in Run Time System?

    I can't do it when you use 'open reference VI' with le...\application.exe\SubVI.vi path in the run time system.

    In fact, I can create a file to include the Subvi, rather than build the Subvi in application.exe, then I can get the convenintly reference. But this isn't my favourate average.

    Thank you

    chenyin

    That is the problem. Call a Subvi dynamic means users could change, but it is also very attractive.

    The dynamic call should be used in a user control, but some parade can avoid problems.

    It depends on why you use dynamic calls...-online 2 main ways:

    -Dynamic call are used to maintain a scalable framework for the code without acting on the executable file-online a single VI distribution managed by the administrator/developer

    -Dynamic call are used to provide a collection of "external" characteristic that could be enriched by the administrator/developer. For example, you provide your customers a set of selectable custom signal filters in the executable.

    In 2 cases, you are only able to assess the skills of the users to know if there is a risk of damage, if there is a change.

    So to stay only master a parade might be to provide dynamic VI without a schema, but with the problem of maintenance, since no in-place editing and more attention to manage distribution.

    Another way is to hide the actual distribution to user-online call dynamic VI but it without name as *.vi but others (a repellent name as system of OS name ) or simply without extension in order to attract not user... but that's debatable...

    Another more difficult but more secure method is to create a consistency check before your routine (version, user, modified date,...)

  • Setting the value of selectOneChoice to run

    Hello
    I need set the value of selectOneChoice at run time. During the loading of the Page I am creating RichSelectOneChoice object and currencyCode.setValue ("USD");
    When I check on the length it does not show 'USD' as element selected in the drop-down list where as background it sends USD for application downstream.
    How to get the SelectOneChoice value show that is selected at run time in code?

    Thanks in advance.

    Have you abandoned the currencyCode in the data control palette (in which case the selectitems will be generated index as values), if so, to set objective test the index as a default and see if it shows the correct value.

    If you wan to have values rather than indexes, you can use forEach. See this [forum post | http://forums.oracle.com/forums/thread.jspa?threadID=938840] for the sample code.

    Jean Lou

  • Simulator deploy token not to see the place. How to return to the home screen of the setting screen?

    I tried to test the app on my bb10 Simulator,

    of webworks...\bin, I ggenerated dubugtoken, then use blackberry - deploy deploy IP 192.168.59.130 Simulator.

    but side Simulator, I do not see that this token of debugging has been deployed.

    What should I do?

    How to return to the home screen of the setting screen? There is no back button the page setting of the Simulator.

    Thank you.

    Hi neemliu,

    To return to the home screen, you must slide up from the bottom of the screen. You need to make the same gesture, using your mouse when you use the Simulator. Drag the mouse with the lower edge of the screen to the top.

    What do you see in the output for blackberry - deploy when you deploy the token? He succeeds?

    Have you tried to deploy applications? The process is the same, if you can deploy applications then you should be able to deploy the debugging token.

  • change changed to better visual performance, don't like, how I return default

    I changed the Visual effects for best performance do not like the installer how to return to the default configuration

    Just go back in the performance Options and select "let Windows choose what's best for my computer.

    To join the performance Options with right-click on desktop and select properties then click on the Advanced tab and then click the parameters of Performance.

    If you had custom settings and if you have done no other major changes since you have changed the setting you can use system restore to return the unit to its previous settings.

    John

  • How to return to the previous screen on Pre apps? THETE´s no back button... just close the application and start over?

    for example with text messages once im in a conversation can how to return to the screen with all my converdations? It's the same with any of the apps, West no way to go back? should I always close the app and start again to go to the previous screen?

    You must not yet be aware of the gesture «back» It goes like this, the straight shot, left on the gesture area (the area below the screen, left and right of the Center button). You enter only at half way, and you can start on the right edge, or just left of the Center button.

    Become very familiar with this gesture he used all the time.

    There is also an option that you can activate by allowing a complete sweep in any direction will take you to the adjacent open card. I think that this gesture is set to off by default.

    Good luck.

    PS - In the application of Navigation of Sprint, I can't seem to leave the navigation once it starts. In other words, you must close the application and open again to define a new topic. I know two ways to issue the command to stop the navigation, but none of them work effectively.

    Message edited by Mrolesen on 21/06/2009 20:17
  • iPad keyboard moved location. How to return it to the bottom of the screen?

    iPad keyboard jumped in the middle of the screen. How to return it to the bottom of the screen?

    Hold your finger on the tiny keyboard, and then drag it to the dock of Word. Finger release.

    As is.

  • How to return to a previous version of Firefox

    I hate the current version of Firefox and was much happier with the previous version. I fear I do not know what is the current version number and do not know what was the number of previous version, but as far as I know it was the last before this new version.

    How to return to the previous version, while keeping all of my addons and bookmarks? If I can get the previous version that I will definitely store them on my computer so I don't have to ask this question again.

    Best regards, Alex

    Hi, open the Manager (Ctrl + Shift + A) modules, select Extensions on the left side, and you should be able to disable or delete them from here.

  • How to return to the photo library in iPhoto w / black background?

    How to return to the photo library in iPhoto w / black background in 10.9.5?

    iPhoto-> Preferences-> appearance tab

    Note the cursor to the bottom

  • My most important module does not work with the update. How to return to the old version of firefox so I can get it back?

    How to return to the old firefox since it doesn't seem to have the capacity to run Add-ons I need? What is an update, if not LESS?

    You must install the add-on (restored) to get working ForecastFox extension bar.

    Note that you must install ForecastFox immediately after a new installation of the bar of the add-on (restored)

    You can download the last ForecasterFox below

  • How to return a dial removed

    How to return a dial removed

    Click on the button "+", you can add the face down.

Maybe you are looking for

  • How can I recover my software of audio output?

    I uninstalled my software of audio output by accident because a message came saying that a certain type of file couldn t run because of it so I uninstalled but I didn t know what it is that I uninstall and I put t know how to get back it or down load

  • Fehlermeldung bei round-Fkt im Formelblock

    Hallo, in einem Formelblock möchte ich die ankommenden auf drei Nachkommastellen Runde (DIAdem 11.1) values. Refer habe ich einen Formelblock eingefugt in dem ich following formal eingegeben habe: Round (D, 3) Dear erhalte ich following Fehlermeldung

  • Windows 2003 Server

    I have a particular scenario in which I would like to move files from a specific folder on one system to the other two Windows Server 2003 that are on different domains. I wrote a batch script to create a mapped drive and move the files on the destin

  • Strange impression formed

    How to print on a size is not not in the paper size menu? The shape I want to print on is 3 1/5 x 6 7/8.  No size paper or envelope don't seems to match it and so it won't let me print - only get a message that "printer sensor does not match the pape

  • Carry the account root Gateway 4.1.1

    Hi experts, Is the account 'root' for CHS TG removed in the 4.1.1 release eggs? It seems that the "tguser" account is no longer usable on this version, but it is not an authorization to change the ip address or reboot TG VM configuration. Can you ple