Dynamic Picklist in a switcher

Hi
I have a requirement as follows:
Populate picklist in a Switcher:
<oa:table id="CompTable" shortDesc="Competencies" width="100%">
<ui:contents>
<oa:switcher id="GlobalYesNoSwitch" prompt="Proficiency Rating" viewName="CompetenceElementsVO" viewAttr="GlobalYesNo1">
<ui:case name="N">
<oa:messageChoice id="ProficiencyLevel1" use="/oracle/apps/per/attributesets/PerRatingLevels/Name_ProfRating" viewName="CompetenceElementsVO" viewAttr="ProficiencyLevelId" pickListDispAttr="LevelAndName"
pickListViewDef="oracle.apps.per.picklist.server.CompRatingLevelsVO" pickListValAttr="RatingLevelId" rendered="true"/>
</ui:case>
<ui:case name="Y">
<oa:messageCheckBox id="ProficiencyLevelChkBox" serverUnvalidated="true" selectiveSearchCriteria="false" checkedValue="1" unCheckedValue="2" viewAttr="ProficiencyLevelId" viewName="CompetenceElementsVO" tipType="none"/>
</ui:case>
</oa:switcher>
</ui:contents>
</oa:table>
Here I want to make the Picklist VO to be dynamic. The Picklist VO has a parameter of CompetenceId. I know how to initialize this in an Advanced table without switcher. My requirement is to make the picklist VO in a switcher to be dynamic. out of switcher, I can populate the VO using the following code:
OATableBean compTable =
(OATableBean)webBean.findIndexedChildRecursive("CompTable");
OAMessageChoiceBean m1 =
(OAMessageChoiceBean)compTable.findChildRecursive("ProficiencyLevel");
m1.setListVOBoundTableColumn(0, compTable, "CompetenceId");
But in case of switcher, I am not able to proceed. There could be a way to initialize the VO similar to the above method. Any help would be greatly appriciated.
Thanks
Ahmed

I have found the solution myself. There was an Oracle Bug 3438062 associated with this problem. The solution is as follows:
Summary
- Description
when switcher is inside AT, getIndexedChildRecursive wouldn't return
the bean.
- Resolution
We need to use findChildRecursive instead.
Happy learning...
Thanks
Ahmed

Similar Messages

  • Dynamic picklist in a table in oaf

    Hi,
    In my custom page, i need to populate columns based on picklist selected column.
    How to achive this. Picklist contains 2 values. 1.yes 2.no
    if (yes)
    populate the next 2 columns with default values. else it should be blank. Every row should be populated dynamically with picklist selected value.
    Help regard this,
    Thank you

    Hi,
    Please use the following code as mentioned in the DEV guide to enable the poplist column in the table to have different values for each row.
    For example, the first column shows department number and the second column shows a poplist of employees belonging to that department, in this case ,
    for the poplist I will have to pass a bind variable (:deptNo),
    so in the controller ,
    OATableBean table = ...
    OAMessageChoiceBean empPoplist =
    (OAMessageChoiceBean)table.findChildRecursive("EmpName");empPoplist.setListVOBoundContainerColumn(0, /* bind index */
    table,"Deptno");
    '0' indicates that the first index of the poplist query , Deptno indicates the column ID of the Department column.
    Regards,
    Guru Krishnan V.

  • Dynamic Picklist content.

    Hi all, I would like to have the content of a pick list controlled by the active Page Layout for an object. E.g.
    When Role 1 opens the object the field 1 pick list should have values A and B.
    When Role 2 opens the object the field 1 pick list should have values C and D.
    Is this possible and how?
    I was thinking of cascading pick lists but I don't want the user to have to select the parent value. This should be pre selected by the role accessing the object and I guess this could be done in the object page layout connected to the role accessing the object.

    Well we have implemented the below requirement as follows in our project:
    We have a read-only custom picklist field 'Role' . The values of the picklist are Role 1 and Role 2. The validation on this field = Jobtitle(). While creating the User, we mention the Job Title same as Ondemand Role.
    Now we have created Cascading picklist between Read-only field 'Role' and Action picklist (having values A,B,C,D).
    Hope this helps.
    Sandy

  • Radius assign dynamic Vlan and linksys switch

    Hi ,
    I ressently attented to deploid a Radius Authentification with a vlan assigment , i tought it was possible because my switch was 802.1x capable.
    After test , and double check of my configuration i've came to the conclusion that the SRW switch series aren't not influenced by 802.1x vlan options.
    I just wanted to have a feed-back about this ?
    And also , is there a other linksys switch that's capable of allowing vlan this way ?
    Thanks for your reply's 
    Message Edited by tin-tin on 03-26-2009 07:51 AM

    You should post which switch you have exactly. Firmwares within the SRW series varies a lot.
    As far as I know support for RADIUS asssigned VLANs is not compulsory in 802.1x.
    I can tell you that the SRW2008 does not support RADIUS assigned VLANs. So far I have never read of any Linksys switch supporting it but I cannot tell you from first hand experience except for the SRW2008.
    If I need RADIUS assigned VLANs I usually get a Cisco or other brand switch.

  • Any way to upload mapping for dynamic picklists.

    Hi,
    We have a requirement where parent picklist (p1) is having 1000+ values and we have to define cascading picklist between p1 and another picklist p2. To define the mapping between these two there will be so much manual work as we have to define the mapping 1000+ time. So is there any way to upload that mapping?
    Thanks
    Saurabh

    Hi, There is no import facility available. But you can write a webservices program if it has to periodically updated and maintained
    -- Venky CRMIT

  • Input Date does not work correctly In dynamic region

    Hello everyone.
    I created a view with a dynamic region. When switch to a region with Input Date components, if I click the "Choose Date" button, this region will exit to default region without any error message.
    The component works well in default region but not in regions switched by Link.
    I tried it in a completely new application and i am sure there is no any problem except the component and the region themselves.
    SO, if someone tied doing this and know what cause it and how to fix it?
    Edited by: 1007000 on 2013-5-20 下午8:49

    Well, i find out the problem. I set the managed bean of the region backing scope, and Input Date is a server-side component. So the taskflow id will lost when i click the Choose Date button.
    change the scope to pageflow, and it works.

  • Dynamic User Tracking with WS-C4506-E

    Hello,
    I've the following problem, configured dynamic user tracking on a
    WS-C4506-E with a WS-X45-SUP6L-E, System image file is a Version 12.2(53)SG2
    Interface configuration:
    snmp trap mac-notification change added
    snmp trap mac-notification change removed
    Global configuration:
    snmp-server enable traps mac-notification change
    snmp-server host xx.xxx.xx.xxx version 2c COMMUNITY udp-port 1431 mac-notification
    mac address-table notification change interval 60
    mac address-table notification change history-size 50
    mac address-table notification change
    #sh mac address-table notification change
    MAC Notification Feature is Enabled on the switch
    Interval between Notification Traps : 60 secs
    Number of MAC Addresses Added : 21509
    Number of MAC Addresses Removed : 21484
    Number of Notifications sent to NMS : 11632
    Maximum Number of entries configured in History Table : 50
    Current History Table Length : 50
    MAC Notification Traps are Enabled
    UTU2 does not found any records for the device name or if I search for a directly connected PC to this switch.

    Where is this Collector Status screen? What dashboard is it on ?
    >> Device Center > Troubleshooting Workflow
    The  fact that you have success for usertracking does not mean you server  receives mac address notification traps. It only means the passive  usertracking has run. The UT results from the other switch may come from  this process.
    >> Yes you're right.
    Only via snoop or packetcapture you can be sure you receive the traps you want.
    >> I set up a packetcapture on the server, the server receives the mac address notification traps on UDP port 1431.
    >>Dynamic user tracking of switches from the same site works...for example I have three WS-C3750V2-48PS-S over >>there.
    Also  if you look at the Collection Sumary in the Inventory -> Device  Status dashboard you may find that some devics fail on usertracking.
    >> Both switches are not under the failed devices.
    >>I'm a little bit confused now.... I can't even start a acquisition manually, LMS says device is not reacheable... but in Device Center (1st picture) "ping", "snmp" etc... is OK...

  • IPad ios6 update Chinese keyboard option missing dynamic selection in zhuyin

    After update my iPad to ios6, the zhyin has different keyboard layout. I was told to switch the option to dynamic so I can switch back to the old way.  But I don't see such selection when I am in general -> keyboard -> Chinese traditional zhuyin-> zhuyin (only selection I have)
    Help?

    You may want to search/ask in the Chinese Mac group, I doubt there is any fix other than asking Apple to change it.
    https://groups.google.com/forum/?fromgroups#!forum/chinesemac
    http://www.apple.com/feedback/ipad.html

  • SG200-26 Switch Power Loss

    We have 2 of the SG200-26 switchs. When ever we loss power all the settings are reset to default. Even if we loss power for 1 min. This includes the IP, user, password, etc. How can I change this so the settings are saved?
    Thank you

    Hi Bill,
    I want to be sure you are taking advantage of the newer switch firmware version 1.1.0.73 for your new switch.
    http://www.cisco.com/cisco/pub/software/portal/select.html?&i=!m&mdfid=283452721
    But,  to answer your question,  you need to save your running  configuration to the switches non volitile memory.  The Admin guide on page 6 warns;
    CAUTION Unless the Running Configuration is copied to the Startup Configuration, all changes made since the last time the file was saved are lost if the switch is rebooted. Save the Running Configuration to the Startup Configuration before logging off to preserve any changes you made during this session.
    A flashing red X icon displayed to the left of the 'Save' application link indicates that Running Configuration changes have been made that have not yet been saved to the Startup Configuration file. The flashing can be disabled by clicking on the Disable Save Icon Blinking button on the Copy/Save Configuration page
    reference Admin guide 
    reference Quick Start Guide
    Alternatively,  go to the File management section of the GUI and copy the running configuration to the startup configuration.  This will save any changes you dynamically made to the switch to a file in the switch.  (This startup file is read as the switch boots up.)
    Even though the screen capture below was taken from the 200 series  bigger brother the 300 series, the save function should be pretty much identical to your switch. Note the save icon I have highlighted in red. 
    Also note,  I have the GUI section displayed  that shows copying the running configuration in the switch to a startup configuration location within the switch.  This GUI is not identical to the 200 series switch as the 300 series switch family has more functions compared to the 200 series switch.
    regards Dave

  • Data provider problem in custom item renderer

    I have a complex, custom item renderer for a list. I add
    items that I extracted from an xml to the data provider using the
    IList interface. But when displaying the list, the items are all
    screwed up. Each rendered item has some parts which are initialized
    as different components depending on the values from the xml. This
    initialization is called in the item renderer for the
    creationComplete event.
    The weird thing is that when I output the dataProvider to
    check its values, some of the items have internal uids sometimes
    and sometimes they don't. If I output the dataProvider right after
    I add the items to it, none of them get internal uids. But from the
    initialize method, some of them do and some don't.
    To make things weirder, sometimes, as I scroll up and down
    the list, the dynamic components get all switched up. I'm either
    having a problem with internal uids or with the creation policies
    for lists. Or it's probably some simpler mistake I have yet to see.
    Anyone have any idea where the problem could lie? Any help is
    greatly appreciated.

    Any successful render must:
    1) override the set data property of the component
    Further, best practice is to store any data you need in the
    override set data(), and call invalidateProperties(). Then do the
    actual work in an override commitProperties() function.
    The framework is smart about when to call commitProperties
    efficiently. set data() gets called much more often.
    Tracy

  • Queries related to ADF Train Component, Region disable if 'No data Found' from URL service

    I have below few queries. I am using JDeveloper version : 11.1.1.6.0
    1. Train Component : I need to remove link which is on 'Train Stop' icon so user can't directly go to next stop.
    2. Hide region in case of Empty Result from URL Service Call :
         I have created a region  and in region put the task flow which have readOnly table calling URL Service data control.
         In case of empty result from service call, table is rendered and displays 'No data to display.' I don't want to show empty table in this case. and I also want to make region invisible (rendered=false).
    3. alternative of <optgroup> tag in adf: Do we have any alternative option to display <optgroup> tag in adf ?
    Regards,
    Niraj

    1. Train Component : I need to remove link which is on 'Train Stop' icon so user can't directly go to next stop.
    You can reference a managed bean from the view activity train definition to enable/disable stops dynamically:
    http://www.oracle.com/technetwork/issue-archive/2011/11-sep/o51adf-452576.html
    ADF Code corner has more train examples, just search for "train" : http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html
    2. Hide region in case of Empty Result from URL Service Call :
         I have created a region  and in region put the task flow which have readOnly table calling URL Service data control.
         In case of empty result from service call, table is rendered and displays 'No data to display.' I don't want to show empty table in this case. and I also want to make region invisible (rendered=false).
    The af:region is out of scope for the table. Instead use a dynamic regions that you switch to from a managed bean (see the product documentation about dynamic regions) and then you switch to an empty region when there is no values to display. Another option would be to hide the table instead of the region using its display property. Let me know which approach you go with and if you need additional information
    3. alternative of <optgroup> tag in adf: Do we have any alternative option to display <optgroup> tag in adf ?
    an af:switcher would do the same
    Frank

  • HP Servers NIC Teaming with Cisco Nexus 2000/5000

    I have number of HP switches that will be connected to Cisco Nexus 2000/5000 switches.
    In  HP Servers, there are multiple options for NIC teaming.  I like to  connect each port in a NIC card to two different Nexus 2000 switches  extension to Nexus 5000 switches.  Nexus 5000 switches will be  configured as VPC for clustering.
    Wanted to know what whould be the best NIC teaming option from the followng HP Server's NIC Teaming options:
    Automatic
    802.3ad Dynamic with Fault Tolerence
    Switch-assisted load balancing with Fault Tolerance (SLB)
    Transmit load balancing with Fault Tolerance (TLB)
    Transmit Load Balancing with Fault tolerance and preference order
    Network Fault Tolerance Only (NFT)
    Network Fault Tolerance with Preference Order

    Nexus switches only support LACP (802.3ad) or ON mode.  So, to match your server config with your switch, the first option is the best one to use.  I think, SLB is a Microsoft propriety protocol.
    HTH

  • Configure Pick Applet in Query Mode

    Hi,
    I am trying to configure pickapplet on virtual BC in query mode, but Static picklist is coming instead of Pickapplet.
    Created one Dynamic picklist and a Pickapplet.
    Specified the Picklist at BC level and Pickapplet at Applet level in control.
    Please share if anyone having any Idea.

    Hi,
    There is a property called "Auto Query Mode" in the applet. Check whether this has been set to "New Query" in 7.5. If so the applet will be opening in Query Mode automatically. If this property is blank, in 7.8, the applet will not be opening in Query mode. Check and let me know.
    Regards,
    Joseph

  • Disable PlatformSearch service - Incomprehensible data queries

    Hello,
    our BO 4.0 SP02 Patch 6 causes heavy load on one connected data source (MS SQL 2005 Server) by executing multiple queries on given universes from time to time. At the time the queries are executed there is no active BO user and no scheduled report is being processed. Therefore there must be some kind of background process that executes queries on all the given universes from time to time. I suppose that this might be caused by the PlatformSearch Service.
    The PlatformSearchData directory in our SAP BO installation (SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\Data\PlatformSearchData) already has a size of 10 GB (which is one third of the entire installation) and seems to grow continuously.
    I don't know if this is the way that the PlatformSearch service is supposed to work, but at the moment this causes serious performance problems on the MS SQL server.
    Is there any way to disable the PlatformSearch service? Or is there any other process that might be the initiator of the data queries?
    The data connections and universes have been migrated from a BO 3.1 installation.
    Any help would be greatly appreciated!
    Thanks in advance!
    Matthias

    1. Train Component : I need to remove link which is on 'Train Stop' icon so user can't directly go to next stop.
    You can reference a managed bean from the view activity train definition to enable/disable stops dynamically:
    http://www.oracle.com/technetwork/issue-archive/2011/11-sep/o51adf-452576.html
    ADF Code corner has more train examples, just search for "train" : http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html
    2. Hide region in case of Empty Result from URL Service Call :
         I have created a region  and in region put the task flow which have readOnly table calling URL Service data control.
         In case of empty result from service call, table is rendered and displays 'No data to display.' I don't want to show empty table in this case. and I also want to make region invisible (rendered=false).
    The af:region is out of scope for the table. Instead use a dynamic regions that you switch to from a managed bean (see the product documentation about dynamic regions) and then you switch to an empty region when there is no values to display. Another option would be to hide the table instead of the region using its display property. Let me know which approach you go with and if you need additional information
    3. alternative of <optgroup> tag in adf: Do we have any alternative option to display <optgroup> tag in adf ?
    an af:switcher would do the same
    Frank

  • Building child-parentr dependency in menu selectors

    I ahve arather lengthy list of 59 sub-categories (datasets) for my data, which all fall under 8 main categories.
    Example:
    Portfolio [category C1]
             Total Responsible SF  [dataset B1]
             Total Building Count    [dataset B2]
    This continues with a limited set of sub-categories for each main category (5-7 datasets each).  I am trying to create a dependency between a table seltion for the Main Category, and have that filter the choices that are only relevent to that Category.  I have tried using a dynamic function of  a Switching Logic and Swtich, but that seems to only work if you want to tie specific charts to a selection.  I am trying to reuse the same chart for each dataset, and simply want to reduce the choices avaialable for the user, for ease and space reasons.
    Has anyone actually done something like this?  I can share excel file and source information if need be.  THANKS.....

    At this time Xcelsius selector components do not support dynamic selection. However, I believe what you want to achieve can be done by creating a sort of cascading selector prompts. One main category selector followed by a sub-category selector from which a selection will dictate the data displayed in a chart. 
    1) build a "main" selector that will provide the selections for the 8 main categories
    2) create a "sub" selector with the sub-categories for the first main category
    3) repeat step 2, creating identical selectors for each main category; using dynamic visibility configuration, set each "sub" selector to show only with the appropriate selection on the "main" selector (be sure to layer them on top of each other to create a seamless transition for the user)
    4) you should have created 9 selectors at this point
    5) to have only one chart displaying the data for your datasets (sub-categories), the key is to build the logic into your Excel spreadsheet. This can be done with VLOOKUP formulas to create a table the changes dynamically according to the value in a reference cell. For example, when the value "Total Responsible SF" is inserted from the "sub" selector into the spreadsheet, the dynamic table in Excel will display the data for dataset B1. Your Xcelsius chart will be configured to display data from the dynamic table.
    The above should help you build cascading prompts. I hope this helps point you in the right direction! If you need help with the dynamic visibility please refer to the learning section on Xcelsius.com.

Maybe you are looking for

  • MBAM bitlocker-protected removable drives recovery keys saved on sql database not active directory

    Hi Guys I need help in saving bitlocker protected removable drives on the sql database instead of active directory . I have tried to play around with the policy and I am not winning , currently my GPO : Choose how bitlocker-protected removable drives

  • What lens should I get for my 5dmk2?

    I shoot a lot of everything mostly scenery and creepy stuff? Looking for a l lens have about 900 to spend!

  • Invalid IP Address During Uploads

    Hello, I have a new Airport Extreme Base Station with the latest firmware. 95% of the time everything works great, I have a few phones and my iMac connected to the wifi network. I seem to be running into problems whenever I upload files. It doesn't s

  • Adding stroke to text in Flash CS4?

    But I can't figure this out or find it anywhere. How do you add/edit stoke on text in Flash CS4?? Thanks.

  • Apple account identity confirmation email

    Dear Customer, Some information on your account appears to be missing or incorrect. Please update your information promptly so that you can continue to enjoy all the benefits of your Apple account. If you don't update your information within 72 hours