Two Data Controls, One UI

JDev 11.1.1.6.0 BPM
andrejusb.blogspot.com/2012_08_01_archive.html
In the above link, andrejus has explained how to use a single UI for two human tasks.
I have a similar use case with slightly different. I have to use the same UI with either of the two different data controls available based on some condition.
That is, the UI components will remains same, but the data will be populated from one of the two data controls.
Hope I have presented the use case clearly

Adaptive Bindings (https://blogs.oracle.com/groundside/entry/towards_ultra_reusability_for_adf) should work for your use case.
Timo

Similar Messages

  • How to caluclate tat between two dates of one timestamp field

    Hi,
    could some one help how to caluclate days between two dates of single timestamp filed and with this
    query
    Select * from m_activity_transaction where actn_opp_id in (
    Select actn_opp_id from m_activity_transaction where ACTN_ACTV_ID = 218
    Group by actn_opp_id
    having count(*) > 1 ) and ACTN_ACTV_ID = 218
    order by actn_performed_on
    iam getting output is
    ACTN_ID ACTN_OPP_ID ACTN_PERFORMED_ON
    319415 95831 27-JAN-12 11.06.20.000000 AM
    315249 95831 08-FEB-12 05.32.54.000000 PM
    301927 103509 20-DEC-11 04.01.43.000000 PM
    301458 103509 19-DEC-11 04.51.03.000000 PM
    294841 115840 10-JAN-12 03.20.12.000000 PM
    312062 115840 11-JAN-12 05.17.06.000000 PM
    and i nedd to caluclate no.of days between two dates like 27-JAN-12 11.06.20.000000 AM and 08-FEB-12 05.32.54.000000 PM where actn_id is unique AND ACTN_OPP_ID IS NOT UNIQUE.
    Thanks in Advance,
    vvr.

    This way?
    with data as
    select 315249 a, 95831 b, to_timestamp('27-JAN-12 11.06.20.000000 AM', 'DD-MON-RR HH.MI.SS.FF6 AM') dt from dual union all
    select 319415, 95831, to_timestamp('08-FEB-12 05.32.54.000000 PM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual union all
    select 301927, 103509 , to_timestamp('20-DEC-11 04.51.03.000000 PM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual union all
    select 301458 , 103509 , to_timestamp('19-DEC-11 04.01.43.000000 PM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual union all
    select 363810 , 144656 , to_timestamp('27-JUN-12 12.43.28.000000 PM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual union all
    select 363500 , 144656 , to_timestamp('26-JUN-12 11.41.50.000000 AM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual union all
    select 363354 , 144656 , to_timestamp('25-JUN-12 12.41.13.000000 PM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual
    select a, b, diff
      from (
            select a, b, extract( day from (dt - lag(dt) over (partition by b order by dt, a)) ) diff
              from data
           ) tab
    where tab.diff is not null;
    A                      B                      DIFF                  
    319415                 95831                  12                    
    301927                 103509                 1                     
    363500                 144656                 0                     
    363810                 144656                 1

  • Fading between two pages & controlling one MC from another.

    Let me see if I can explain this properly. I usually use a motion tween and the alpha channel to fade movie clips in or out. What I am currently trying to do is fade one page out and another in, but it could be one of several MCs. I basically have four "pages" for a website including services, portfolio, about, and contact. I have icons on my navigation bar (which is going to be imported into my XHTML seperately so it can float them according to the users window size). The icons need to navigate between the pages and the pages need to fade in and out (eg. fade in the Services MC when the user clicks on the services icon, and fade out of it and into the Portfolio MC when the user clicks on the portfolio icon). Please keep in mind that the icons and pages are in completely different .fla/.swf files because I couldn't figure out how to float them in Flash after several hours of looking around online, but know I can easily do it using div tags + CSS in XHTML.
    If someone could quickly explain how to "gotoandplay" a label in a different .swf file (communicate between the .swf NavBar and my main .swf) as well as fade out of the current MC (whichever page the user is currently on) before fading into new page (according to the icon the user clicks on), I'm sure I could 'fill in the blanks' from the rest of the AS3 and Flash I already know. The page also needs to fade out of whatever page it's currently on when the user clicks on the hide button (located on the page in the main .swf file). There is also several subpages on each page (which shouldn't be a big deal if I can figure the rest of this out).
    I'm going to be using this same concept for nearly all of the websites I design & develop in the future and really need to know how to do this for the current site I'm working on. I would greatly appreciate any suggestions on how to accomplish these two things.
    P.S. Please keep in mind I'm not an advanced user in AS3, but am very computer savy, and have done my share of programming in the past. I looked around for hours online to try and complete this without using the forum, but have come up with links to dead tutorials and short answers left and right. I'm hoping I won't come across the same here.
    From what I've read so far I believe I can use tweening in ActionScript instead of a motion tween on the timeline to fade in and out of clips and believe that's the method to use to accomplish what I'm trying to do. Correct me if I'm wrong though.

    I'm not looking for a "tutorial created especially for me".... Just perhaps someone that can copy and paste some code from a similar project that they have done so I understand how to do it.
    You could have simply put here's a tutorial for how to use TweenLite to crossfade between four pages, and here's one that will let you pass information between two .swf files. If you recently watched the tutorials then it wouldn't take long to find them (maybe you have them bookmarked) and post a couple links.
    Anyways, I just found an excellent tutorial on how to crossfade using TweenLite (found here) and an article that explains how to pass information from one .swf to another (here). It took some searching and knowing exactly what I was looking for to find them, but that's a much better answer for someone looking to do those two things than I've found here (or elsewhere for that matter).

  • Two Dates Prompt error

    Hi
    Obiee experts
    i have faceing problem in obiee. i have two colums
    1. Etl_start_date 2. Etl_end date
    when i try to create two date prompts one is etl_start date and etl_end_date. Here those columns data type is (DateTime).
    what is the my problem is i have selected to two dates ex:- Etl_start_date= 01-25-2011 and Etl_end_date= 01-26-2011 then i click go button it's showing below error
    date value was expected (received "2011-01-19 00:00:00").
    Error Details
    Error Codes: QABPH2PO
    2. i am try to using this function in the dashboard Prompt but control (calendar option its not showing dashboard prompt) - substring(EVALUATE('TO_DATE(%1,%2)' AS CHARACTER ( 30 ), C_SESS_STATUS.ETL_START_DATE_TIME, 'DD/MM/YYYY HH24:MM:SS') from 1 for 9)
    How to reslove this problem velp me please it's very urgent
    If you have any solution in this issues please send me my mail id
    [email protected]
    Adnvace thanks
    satya

    Follow this link
    Date Prompt using Calendar view

  • Why there is two Date Class

    There are two Date Class
    One in Pacakge java.util.Date
    another in Package java.sql.Date
    What the difference between these two class and when to use whom.

    The documentation explains the difference:
    http://java.sun.com/j2se/1.4.2/docs/api/index.html
    /Kaj

  • Merging of  two rows into one

    HI,
    Would you help me to write aquery such that merges two data into one,
    for example,
    Take a table Student
    Its content are
    Roll no Name
    1 Rahul
    2 Shyam
    We reqiure a query such that we get out put as
    Rahul;Shyam

    http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php

  • Two date column in a table

    I have a Sales Data warehouse of Retail shops which operate 24x 7 with 2 shifts of 12 hours each. Time for each shift is 7 to 7.
    I have a Calendar Dimension which has all the dates listed.
    TABLE_CALENDAR
    -DAY_KEY NUMBER
    -DAY_DATE NUMBER
    I have a Sales table which has two dates columns: one is the Sales Date whereas another one is the shift date. So there are two joins (Foreign keys) from Sales Table to the Calendar Table.
    TABLE_SALES
    -SALES_KEY
    -SALES_DAY_KEY
    -SALES_TIME_KEY
    -PRODUCT_KEY
    -SHIFT_KEY
    -SHIFT_SUPERVISOR_KEY
    -SHIFT_CASHIER_KEY
    -SHIFT_DAY_KEY
    -SALES_QTY
    -SALES_AMOUNT
    -COST_AMOUNT
    I need to develop an analysis on these tables where the Area managers look at the sales by day, month and year and Shift Supervisor and Shift Managers want to look at sales by shifts. (Shift Date).
    When I define two joins in OBIEE Administrator, it say that I can have a single join from one dimension. (From Calendar Dimenstion to Sales). this way I can report only by Sales Date.
    How can I report by Shift Date?

    Create 2 date dimensions: one for calendar date, one for shift date.
    Paul

  • Combine two date ranges in calender display

    Using Apex 3.2, Oracle 10g, IE7
    I have a calender that displays two date ranges: one that does a total count of assets over a one year period and the other is a breakdown of what assets are scheduled to be in use. I would like to combine them into one display (total - in use). Any suggestions or ideas on combining the date ranges?
    code below * thank you Denes Kubicek *
    select 'a href="f?p=&APP_ID.:27:&SESSION.::NO::'||'P27_TYPE:'||category_name||'">'||('Count Avail: '||to_char(asset))||' /a asset , SYSDATE -1 + LEVEL
    FROM (SELECT (sysdate +365) - sysdate conn_level, count(a.id) asset, b.category_name FROM hd_asset_assets a, hd_asset_categories b WHERE a.category_id = :P23_SEARCH and a.category_id = b.id GROUP BY category_name)
    CONNECT BY LEVEL <= conn_level
    UNION ALL
    SELECT ('In Use: '||b.asset_name) asset , session_date FROM TABLE (SELECT return_table_fn () AS session_table_type FROM DUAL) left join (select asset_name, category_id from hd_asset_assets) b on UPPER(title) = UPPER(b.asset_name) where b.category_id = :P23_SEARCH
    Edited by: tread on Aug 4, 2009 1:29 PM
    Edited by: tread on Aug 4, 2009 1:29 PM

    Hi,
    You would probably have to simplify the existing statement and then wrap it within another select statement that does a GROUP BY over the date column:
    SELECT Datecolumn, AssetName, SUM(Total)-SUM(InUse) Available
    FROM (
    ...your existing select statements ensuring that both statements return the same number/names of columns...
    GROUP BY DateColumn, AssetNameAndy

  • Can I have two Data Files in One control file of sql*loader tool

    hi,
    Can someone help me out. is it possible to have two Data Files in one control file of Sql*loader.
    And isit possible to run 10,000 records before lunch and 10,000 records before tea and 10,000 records before evening session by giving breaks after every 10,000 records.
    Thanks
    Ram

    Yes. You can specify two datafiles in one control file and can load using sql loader.
    I give you the sample control file.
    Load DATA
    INFILE 'TEST1.CSV'
    INFILE 'TEST2.CSV'
    TRUNCATE
    INTO TABLE TEST_P
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    (COL_1,
    COL_2,
    COL_n)
    Hope It will help you.
    -Karthik

  • Adf faces, data control and more than one session context ?

    I already put the question in the forum but nobody answered may be my question may not be so clear so i would put it again with other words.
    Each xml page definition are instantiated in a binding container for a http session, you are able to get the data with bindings or data that represent the current binding container (bindings) or a given container corresponding to an another page that the current (data).
    It is perfect when you don't allow multiple instances of the same page in the same application session. Browser are now offering tab management that allow user to navigate through multiple applications just by changing the current tab. It's very useful. I imagine that user's will be using it also in my application and will use it to compare or more simply just watch about two different entities of the same type (the same xml page definition, the same object instantiated in the binding container).
    Because the binding container is associated with the http session all tabs will share the same one, isn't ? So i understand the problem and that it is forbidden to have many identical page for a single instance in the binding container because of synchronization issues.
    Is all that i said true ?
    Is it a way to solve this type of problem ?
    Will this problem be addressed by adf faces and data controls ?
    Hope somebody will answer !
    Message was edited by:
    micwic

    I already put the question in the forum but nobody answered may be my question may not be so clear so i would put it again with other words.
    Each xml page definition are instantiated in a binding container for a http session, you are able to get the data with bindings or data that represent the current binding container (bindings) or a given container corresponding to an another page that the current (data).
    It is perfect when you don't allow multiple instances of the same page in the same application session. Browser are now offering tab management that allow user to navigate through multiple applications just by changing the current tab. It's very useful. I imagine that user's will be using it also in my application and will use it to compare or more simply just watch about two different entities of the same type (the same xml page definition, the same object instantiated in the binding container).
    Because the binding container is associated with the http session all tabs will share the same one, isn't ? So i understand the problem and that it is forbidden to have many identical page for a single instance in the binding container because of synchronization issues.
    Is all that i said true ?
    Is it a way to solve this type of problem ?
    Will this problem be addressed by adf faces and data controls ?
    Hope somebody will answer !
    Message was edited by:
    micwic

  • Questions on handling two table controls on one screen.

    Can some people  please share some technology  tips on handling two table controls on one screen . 
    Thanks
    Moderator message - You'll find some cool tips if you search the forum or use Google first - post locked
    Edited by: Rob Burbank on Dec 7, 2009 11:20 AM

    hi
    other Table is in Disable mode.
    check that u have unticked the READ ONLY property of ur UI
    also check if u have binded the ENABLE property of ur table UI to WDY_BOOLEAN in some method
    and u r setting it to 'X'
    in the OnToggle event of ur Checkbox , set this attribute to 'X to make the checkbox ticked
    in the OnToggle event of ur Checkbox , set this attribute to ' ' to make the checkbox un ticked
    DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
        DATA ls_cn_node TYPE wd_this->element_cn_node .
        DATA lv_attr  LIKE ls_city-ca_attr.
    *   navigate from <CONTEXT> to <CN_VISIBLE> via lead selection
        lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_ca_attr).
    *   get element via lead selection
        lo_el_cn_node = lo_nd_cn_node->get_element(  ).
    *   set single attribute
        lo_el_cn_node->set_attribute(
          EXPORTING
            name =  `CA_ATTR`
            value = ' ' ).
    // set attribute CA_ATTR under CN_NODE to ' '
    // this will make the table UI control disabled
    // this is a code generated thru code wizard ( control +f7) , read context node/attribute
    // use SET_ATTRIBUTE method
    regards,
    amit

  • Paging WIth Two Disassociated Data Controls

    Is it possible to have two completely disassociated (not parent-child) data controls on a page, each having their own paging buttons?
    I have a requirement for a detail view of one data control with a read-only view of another data control underneath. I would like to have separate paging for both. I can’t seem to find any examples of doing this. The standard paging seems to be bound to the first data control.
    Thanks in advance.

    Hi,
    if you are on the web, you build a navigable from based on the VO (in BC4J parlance). When you drop this to a page it becomes navigable. Do teh same for another, not dependent VO and the two operate independently.
    Now lets talk about what I think you don't tell us: If you are building JClient applications, then you delete the default toolbar in the layout editor, select one VO after the other and create a new toolbar from the data control. This way the two are independent.
    Frank

  • ADF UIX Passing values from one Data Control to another

    How to transfer value of any column in the selected row of the table (one data control) to the messageTextInput, based on another Data Control?
    It may be on a single UIX-page or on different pages.
    Thank you.

    HI Prithviraj,
    The problem screen shot is as follows:
    The First Applicant is coming from one sub report and the second applicant is coming from another sub report. It is working fine from Crystal reports. But in the Crystal report viewer i am unable to get the out come as 1,2,3.
    If you need any additional information please let me know.
    Thanks
    Penchal

  • Can I use two different devices with different apple ID for backing up data on one machine without losing any data that was backed up with one device earlier?

    Can I use two different devices with different apple ID for backing up data on one machine without losing any data that was backed up with one device earlier?

    The link is to a discussion started on 12/18 in the FiOS Internet forum.  Here's the link I get now, however it is different than the link I pulled a few hours ago.  If this system changes the link again, it may not work.
    http://forums.verizon.com/t5/FiOS-Internet/Frustration-and-just-confused-with-internet-help-please/t...
    You can also look for the topic, "frustration and just confused" in the FiOS Internet forum.
    Here's a link that is in the thread that gives more detail.
    https://secure.dslreports.com/faq/15984
    Good Luck!
    P.S.  "Copper Contributor" is my "rank."  gs0b is my user name.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

  • Can I control two Macs with one keyboard & mouse simultaneously?

    I'm presently the operator and head audio tech for a major Off-Broadway show. I'm running the show on Ableton Live 6 through a Mac Mini, using a MOTU 828mkIII as the Firewire audio interface to the console. "Show control" is basically straight music playback, plus arming and disarming loops, triggering sound FX cues, and stopping and starting playback. The show has been exceedingly stable, no real reason to worry - but the fact that I don't have a redundant backup system concerns me. Theoretically, I can use our Denon CD players to run the show off of discs I've burned, but it's only viable for me because I know the show; a sub running the show would be up the creek - and if we hit a snag and run out of loops, forget it. Furthermore, those of you who've worked with Live know that in a performance based/show control situation, you can remain in an audio loop indefinitely, without any worry of a CD running out of prerecorded loops. (This is a specific reason why we're using Ableton for this show - the music can keep "vamping" until automation and rigging give me the clear to proceed.)
    Considering that I'll be taking some time off this summer, I don't want this to be a concern for my sub(s), so I've charged myself with the task of building a redundant backup. Problem is, I'm not sure how to do it.
    What I've been looking at is a dual Ableton Live/Mac Mini/Firewire interface system. Basically, to duplicate what's running the show presently, and have it running in tandem while the main playback system goes to the house - but for both to be controlled by only one mouse, keyboard and screen, so there's no delay in the event of a crash. If one fails, I send the audio from the backup into the theatre. There would be no disruption of playback, except for the operator`s response time in switching to the backup`s audio output.
    Software like Synergy and Teleport let me share a single keyboard, mouse, and screen over two or more computers - +but only control one computer at a time+. And I've looked for KVM switches and USB "splitters" but they also seem to be toggle devices between one or another computer - which leads me to think I may have to network the two...
    Any ideas are appreciated, even the obvious ones, as I may have overlooked some or assumed some to be out of the question.
    That`s basically it - *simultaneous realtime* control of two computers from one keyboard and mouse. Both Minis performing the same task at the same time.
    Is there software/hardware that can do it, or can I network the backup as a "slave" that mimics the master?
    Thanks.

    Perhaps you could setup a parallel processing network:
    http://daugerresearch.com/pooch/
    The website was last updated 5 days ago according to Google. Hopefully their server will be back up soon. I noticed it wasn't connecting when I tried.

Maybe you are looking for

  • Position of 'Next' button in Report

    Is there a way of adding a 'Next and 'Previous' button in a 'Report from a wizard' to the top of the resulting data records in addition to the ones below? Cheers, Arnt

  • MDT 2012 - Restarting after DISM.exe applies Unattended.xmlfile

    Hi All, I ran into an interesting issue last week, I have a custom .WIM file that I created for my acct dept, has some software on it that other departments don't need. Its fully patched (or was as of last week) I captured the image without incident,

  • Importing MPEG-4 audio files into itunes

    Hi, I am a new user of iTunes. I am unable to import MPEG-4 audio files from an audio CD into my iTunes library. This audio CD was created by a friend on his MAC. Interestingly, I am able to play the same MPEG-4 files through my Windows Media Player.

  • Changing Caller ID

    Hello, Yesterday I opened a profile on Skype with my wife her phone number. I used the "show caller ID" wich has to be confirmed with textmessage by Skype. I have done this. But, my wife actually doen not want me to use her phone number as Caller ID,

  • I can open e-mails with a picture attachement on my MAC, but not on my iPAD

    I Can open my AOL e-mails with picture attachments on my MAC, But they will on open on my iPad2. I get a message that says, mixed media and cannot open. Is there some setting I need to change on the iPad2?