ADF Tree Target Data Source works badly(doesn't with certain circumstances)

Hi OTN,
On my ADF page I have an af:TreeTable. It exposes 3 levels of hierarchy.
The DataModel is:
ComponentVO
- ParameterVO
- - IndexVO
All 3 are based on ComponentEO entity.
There are also 3 dependant tables on the page, which shows those 3 VOs.
I want the selection in tree to change current row in all three tables.
I'm trying to use Target Data Source feature in a tree binding.
For each level of the tree I specified a target data source like "${bindings.ComponentView1Iterator}".
Also added a partialTrigger attributes to tables to be refreshed upon tree selection.
At runtime I see this feature work almost good.
I click the tree nodes and see all three tables updating current row but there is a situation when they don't.
Say, we have a following node structure:
c1
- p1
- - i11
- - i12
- p2
- - i21
When I select i21 and trying to switch to i11 directly (without clicking p1) nothing happens.
It seems Target Data Source feature doesn't work on parent nodes having only one child.
I've tried removing PartialTriggers, changing ChangeEventPolicy... no luck.
Could someone help coping with the problem?
Thanks.
ADF 11.1.1.4, Firefox 4
Here's tree binding:
<tree IterBinding="ComponentView1Iterator" id="TemplateTreeView1">
      <nodeDefinition DefName="model.view.ComponentView"
                      Name="TemplateTreeView10"
                      TargetIterator="${bindings.ComponentView1Iterator}">
        <AttrNames>
          <Item Value="Name"/>
        </AttrNames>
        <Accessors>
          <Item Value="ParameterView"/>
        </Accessors>
      </nodeDefinition>
      <nodeDefinition DefName="model.view.ParameterView"
                      Name="TemplateTreeView11"
                      TargetIterator="${bindings.ParameterView1Iterator}">
        <AttrNames>
          <Item Value="Name"/>
        </AttrNames>
        <Accessors>
          <Item Value="IndexView"/>
        </Accessors>
      </nodeDefinition>
      <nodeDefinition DefName="model.view.IndexView" Name="TemplateTreeView12"
                      TargetIterator="${bindings.IndexView1Iterator}">
        <AttrNames>
          <Item Value="Name"/>
        </AttrNames>
      </nodeDefinition>
    </tree>Edited by: ILya Cyclone on Apr 25, 2011 7:16 PM

Hi,
works fine for me. I created a tree and used the ChangeEvent policy on the referenced iterators.
Frank

Similar Messages

  • Multiple Target Data Sources

    JDeveloper v11.1.1.2
    Is it possible to set multiple Target Data Source iterators in the edit tree binding dialog?

    Hi Ananda
    Thank You very much for your reply!
    B) Yes same data is required in both the applications, but not completely same format or structure. E.g. Siebel is the Customer Hub for the client. All the customer data are required to be migrated to multiple applications (say Oracle EBS & Oracle BRM) after verification process, which happens end of the day. What I require is, the ODI interface should pull data from Siebel once & upload those to both Oracle EBS & Oracle BRM simultaneously as per the mapping rules defined for them. Basically I wanted to avoid hitting Seibel applications twice for pulling Customer data by creating two separate interfaces. Is it possible by using ODI???
    C) Please take same customer scenario in B. Customer is inserted to Oracle EBS & Oracle BRM using two different interfaces executed sequentially in a package. I want to maintain atomicity. i.e. Either Customer to be created in both or none of the applications. If that particular customer failed in 1st interface, it should try in 2nd interface. Also if it get failed 2nd interface, it should rollback in 1st interface. Can this be achieved in ODI?
    Hope, the above would clear my query.
    Thank You Again
    Priyadarshi

  • What are all the Standard Data targets&Data source for Warehouse management

    Hi,
    What are all the Standard Data targets & Data source for Warehouse management.
    Thanks,
    Ahmed.

    HI,
    the master data
    1.equipment data --IE01
    2.All functional locatiions -IL01
    3.Maintainnace work centers - IR01
    4.Task list data - IA05
    4.Schedule maintanence plan
    6.Strategies
    7.Measuring points
    8.Characters for calibration
    9.Equipemnt BOM
    10.Material BOM
    Regards,
    Anddra

  • What are all the Standard Data targets&Data source for Transportation Manag

    Hi,
    What are all the Standard Data targets & Data source for Transportation Management.
    Thanks,
    Ahmed.

    HI,
    the master data
    1.equipment data --IE01
    2.All functional locatiions -IL01
    3.Maintainnace work centers - IR01
    4.Task list data - IA05
    4.Schedule maintanence plan
    6.Strategies
    7.Measuring points
    8.Characters for calibration
    9.Equipemnt BOM
    10.Material BOM
    Regards,
    Anddra

  • Mapping constant values to the target data source columns

    Hi
    A Target data source has only two columns(RPT_NAME, RPT_LEVEL) and both of them are constants and mapped as follows
    WITH TEMP1 AS
    (select 'AS' as A from dual
    union
    select 'IS' as A from dual
    union
    select 'ED' as A from dual
    select t.A as RPT_NAME, 'INV' as RPT_LEVEL from TEMP1 t
    Here there is no source tabel involved for mapping and gnerating a from query.
    Kindly let me know hoto map this table.
    Thanks

    Hi Amit
    Is there a way we can create an intermediary staging table or model or view in ODI itself, the business requirements are such that the source and the target databases cannot change/include any other view or table .
    Thanks

  • Target data source does not support the AGO operation

    Hi,
    In BI Admin Tool, I join Essbase cube and relational source. Then I apply Ago function to Essbase measures. In BI Answer, I try to run query that includes Essbase Ago measures and relational columns(non measures), error message shows the following detail:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22001] Target data source does not support the AGO operation. (HY000)
    When I remove the relational columns or run Essbase current-date messures, the result is fine.
    So, what's exact meaning of this error message? and does the relational columns (non-measure) support Essbase measures' Ago function?

    to clarify:
    fail case:
    criteria
    YEAR | YTD,gen03 | MONTH_NAME | SALES(YEAR_AGO)
    cube dimension: year, ytd,gen03
    relational source: month_name
    cube measure using AGO(): sales(year_ago)
    result: error messageSuccess case:
    criteria
    YEAR | YTD,gen03 | SALES(YEAR_AGO)
    cube dimension: year, ytd,gen03
    cube measure using AGO(): sales(year_ago)
    result: success~! how can i solve it? thx

  • How can an ADF Tree be configured to work with varying levels of heirarchy?

    We have a need for a Locations tree that represents the Locations heirarchy for any one of our clients. Depending on the client the number of levels in a location heirarchy could range from 1 to 9.
    I have created 9 different tree bindings and I can change the tree binding in the jsp page - the example below is for a client with 4 location levels.
    <af:tree value="#{bindings.ScdLocs4View1.treeModel}" var="node"
    binding="#{backing_locations.tree2}" id="tree2">
    For a client with 5 location levels, I'd like to programatically change the value to
    #{bindings.ScdLocs5View1.treeModel.  How can I do this?
    I was thinking I could use the setValue method on the tree control in my page's backing bean.  But I have been unable to get a reference to the tree binding.
    I don't see an appropriate method for finding a Tree Binding.  There are methods for finding an Iterator Binding, an Executable Binding, or a Region Binding (whatever that is).  But how do I "find" a reference to a Tree Binding?
    I have also given consideration to using a single Tree Binding with 9 levels (or rules in the Tree Binding Editor) and finding a way to  programatically "start" the rendering at a particular level (or rule) - in effect telling the ADF Tree control to ignore some number of rules and begin with the specified rule.  But I haven't been able to figure out how to do this either.
    Help would be greatly appreciated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Bill,
    A tree binding is a particular kind of control binding, so you can find it as a control binding and then cast it to the more specific interface to work with it.

  • ADF-BC  multiple data sources

    Hi, we are having a requirement in which the model project has to be configured to more than one data source. The scenario is , the UI has to show the data from 8 different database instances. User can select the data source from UI, and accordingly the BC has to get the data from that datasource.
    Could some one point me how to configure more than one data source in adf-bc. Thanks.

    Hi,
    The scenario is , the UI has to show the data from 8 different database instances
    If you mean that the application should connect to one of the data sources at a time, then you can use dynamic JDBC credentials. If you want to connect to all of them at once then this can be achieved by creating separate root Application Modules, which then are all exposed as data controls in ADF. If you want one AM to access information from all DB then you should use database links (assuming all databases are Oracle)
    Frank

  • Setting Query Data Source Arguments Property for Block with TYPE Procedure

    Hi,
    I have a block whose type is 'Procedure', this returns a PL/SQL table.
    I pass an IN OUT variable declared in the Package header and all works well.
    What I need to know is how, if I have ANOTHER argument, how do I set it programatically prior to EXECUTE_QUERY.
    I can see how to set the Name and Value manually at the "Query Data Source Arguments" property but if I need to set it dynamically in the code how would I do it.

    Thanks,
    Worked it out.
    Set the VALUE to the name of a Global variable and populated the variable before executing the procedure.
    Thanks

  • SSIS XML Data Source - worked in BIDS, can't read XML in SSDT

    I have an SSIS 2008 package built in BIDS (2008) that uses a series of XML locations (similar to
    http://corpslocks.usace.army.mil/lpwb/xml.tonnage?in_river=AG&in_lock=42&in_mon_yr=092013) to get tonnage information and load it into a SQL Server 2008 R2 database. This has been running daily without error for over 60 days. I am now migrating
    this to SSIS 2012 using SQL Server Data Tools and I am having difficulty reading the XML into the database.
    The package does the following (it is pretty simple):
    1. read the URLs (there are 200) from a database view into a variable object
    2. a for each loop container that loops through the variable object, gets the data from each URL (the XML URL is stored as a variable) and loads it into the database
    The BIDS package still works great. I first used the converter to migrate to 2012. I then recreated a package with exactly the same settings as BIDS. No dice either way. I also tried using a local xsd file, then using one inline. SSDT will recognize all
    of the columns correctly when I use inline, but neither method is capable of reading the data into a table.
    I know the package is going to the addresses, all of the URLs show up in the error logs. The error messages are as follows: "[Load data from tonnage url [47]] Error: The file "http://corpslocks.usace.army.mil/lpwb/xml.tonnage?in_river=AG&in_lock=42&in_mon_yr=092013"
    was not found. Please verify the file path and try again."
    Has anyone run into this and solved it? I think I have tried every possible setting available, with no luck. Any ideas or suggestions are appreciated. Thanks!

    I have an update on this issue. I believe it is a connectivity issue or possibly a setting in SSDT. 
    I can access the remote XML file location through my browser. I have downloaded the XML from the remote location and my package runs using the local XML file perfectly. I have BIDS 2008 installed on the same machine and it works without a problem (using
    the remote XML location). This last piece makes me think there is a network setting or something in SSDT.
    Does anyone have any additional troubleshooting advice or other suggestions? My error output is included below. 
    Thanks!
    Information: 0x40043006 at Data Flow Task, SSIS.Pipeline: Prepare for Execute phase is beginning.
    Error: 0xC020F440 at Data Flow Task, XML Source [31]: The file "http://corpslocks.usace.army.mil/lpwb/xml.lockqueue?in_river=GI&in_lock=01" was not found. Please verify the file path and try again.
    Error: 0xC02090D0 at Data Flow Task, XML Source [31]: The XML Source was unable to read the XML data.
    Error: 0xC0047019 at Data Flow Task, SSIS.Pipeline: XML Source failed the prepare phase and returned error code 0xC02090D0.
    Information: 0x4004300B at Data Flow Task, SSIS.Pipeline: "ADO NET Destination" wrote 0 rows.
    Information: 0x40043009 at Data Flow Task, SSIS.Pipeline: Cleanup phase is beginning.
    Task failed: Data Flow Task

  • Mapping of target data source

    hi all,
    while mapping the target datasource column we just write the column name in the mapping area and the query will automatically be generated.
    but i want to write my own query in the mapping area.
    how can i do this?
    means i am not able to write the 'from table_name' statement in the mapping area.
    please give any solution.
    regards,
    prateek.

    hi,
    thanks for rplying.
    if i put the where condition at the source database using filter then all the data will be filtered.
    but in my case the where condition is required only when i am inserting the data to target.
    if i put the filter at the source then the whole answer will get filtered.
    and one more thing, while inserting the data to the target datastore we can execute the query only on one of the source data store.
    the value that i want to insert in the target column requires a query to get executed on two tables(source datastore).
    is there any way to execute that query on more than one or two datastore?
    can u please tell me that how to change the filter condition at the interface level?
    thanks and regards,
    prateek.

  • Need to update target data source in ODI

    Hi All,
    I have 2 tables 1. Tab_abc(col1,col2,col3,col4,col5) & 2. Tab_xyz(col1,col2,col3).
    Tab_abc has already some records with NULL values in col2& col3 and Tab_abc.col1 = Tab_xyz.col1
    I need to update col2 & col3 in Tab_abc.
    I have used IKM: oracle Incremental update
    and checked col2& col3 for update and made col1 as key.
    But it is giving some problem.
    COuld you please let me know, in deatail to solve this issue.
    Thanks.

    It seems you are on the right track. On the target table , you have made col1 as key.
    The only issue is that it will update all your target columns ( col2 , col3 ) based on the entries of source columns ( col2 , col3 ).
    One of the prospective solution can be make a join of target with the source or simply put a filter to find out the rows which have col2 , col3 in target as null.
    i.e.
    on Source table put the filter
    Tab_abc.col1 in( Select Tab_xyz.col1 from Tab_xyz where Tab_xyz.col2 is null or Tab_xyz.col3 is null ).
    BUT in this case , col2 and col3 both values will get updated if any of the value for col2 ,col3 is null for particular row.
    If you want to update only null valued columns then you will need to create interface based on the following query :
    update Tab_xyz set (col2,col3) = ( select NVL(a.col2,B.col2),NVL(a.col3,B.col3) from Tab_abc B,Tab_xyz a
    where Tab_xyz.EMPLOYEE_ID = B.EMPLOYEE_ID and A.EMPLOYEE_ID = B.EMPLOYEE_ID)
    where col3 is null or col2 is null;
    For this you need to make a join of target table with the source table.
    Hope it helps

  • Static IP works, DHCP doesn't with road runner

    The boss has a road runner cable modem in his office. He is directed connected from port 2. I ran a wire from port 1 to the downstairs and connected it to a WRT54G. I did this so people downstairs could get wireless access. No one is wire connected to the router.
    If I set up the router as DHCP, everyone can see the WRT54G but cannot get internet connectivity. Since we do have a static IP, I set that up in the WRT54G and everyone can connect. That is until the boss uses his machine.
    I spoke with Road Runner and they said the cable modem is set up for dynamic IP but we do have a static IP. The best I can decipher is that once the boss signs on the cable modem goes back to dynamic.
    But my question is why doesn't the DHCP work? If I unplug the wire from the WRT54G and plug straight into my laptop, it works fines.
    Of course Road Runner is blaming the Linksys as the problem.
    Thanks
    Keith

    Will you please let me know when you connect 2 computer from the 2 Ports on the Modem are you able to go online from both the Computer at a time.....if yes then you have to configure the Router....if No then You have to connect the Modem to the Internet Port of the Router and configure it accordingly...while configuring make sure you have your computer connected to any one of the 4 ports on the Router.
    follow the Steps as Follows:-
    Open the set up page of the router by launching an Internet Explorer Browser and type the address bar, 192.168.1.1 and press enter. When it prompts for the username and password, leave the username field empty and provide password as admin and click on ok.
    On the main setup page the ""Internet Connection Type"" should be
    on ""Obtain IP Automatically - DHCP “. Click on the Save Settings
    button.
    Now click on the sub tab ""MAC address clone"".
    - Click on enable
    Click Clone your PC's Mac & click save settings
    Check Internet  IP on Status page of router ....
    If getting Valid IP .... try going online
    If not ... power cycle for 4-5 minutes & then again check the Internet IP address by login into the Setup page of the Router....checked the Internet IP Address....

  • Suppress Missing Data not work in web form with formula column inside

    Dear All,
    I've a planning web form with formula column inside to calculate the variance and % variance. But missing cell can't be suppressed, although I've checked the 'Suppress Missing Blocks' and 'Suppress Missing Data' options.
    Anyone have face the same problem..?? and how to fixed it..??
    thanks.
    Regards,
    VieN

    There is a known issue that sounds like the problem you are experiencing
    10358200 - If a formula column exists in a data form, selecting the Suppress missing option does not hide rows that do not contain data.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Mail - MBP works, iMac doesn't with identical settings

    I recently purchased a new retina iMac, and I've spent about 5.5 hours trying to get ONE email account to work on it.  It's a workspace email, from GoDaddy.com that is connected to my website hosted by them.  The settings are identical to my Late 2011 Macbook Pro, iPad, and iPhone, which send and receive mail fine using this account.  I've deleted and added it as a new account 3 times, verified and re-verified the POP and SMTP server settings and usernames/passwords for the account.  POP is working (mostly), occasionally connecting and disconnecting randomly without any changes when looking at the Connection Doctor.  SMTP is always red and hasn't worked at all yet, so that's my main issue.  My Gmail, and iCloud accounts work fine on the iMac, so it's just this one account that's having issues.  I've done all I know to do, as it seems like it "should" be working, since I've set this same account up on 3 other apple devices with the same settings and they have no issues.  Is there anywhere else to check and see what's going on, or what the problem may be?  I did notice one weird thing, the "check again" button is greyed out on my iMac's Connection Doctor, but it's not on my MBP.  Both the iMac and MBP are running OS X 10.10.2 Yosemite and Mail 8.2 (2070.6).

    Okay, so I checked their support site and it seems Go Daddy is having server issues this morning, so maybe that has something to do with it.  It's still odd that 3 of my 4 devices work with the same settings, although they were set up prior to this morning. 
    Is there a way to copy a mail account's settings from one Mac to another?  If I could just copy what's working on my MBP to the iMac, maybe that would work.
    I don't want to copy the entire mail folder, if possible, b/c I've done that before and it causes other issues that I don't really want to deal with (you can't delete your email accounts from Mail and they're not listed under Internet Accounts in settings, for instance).

Maybe you are looking for