Data sharing between region and the ADF page which contains it

Here I've got an ADF page, on which there is a region. Suppose the region corresponds to the backing bean A and the ADF page corresponds to backing bean B. Now I need to make use of the variable (e.g., var_a) in the region the pass it to the backing bean of the ADF Page's backing bean B.
How do I achieve this? Any comments will be highly appreciated.
Regards.
Edited by: isaacniu on Apr 5, 2010 8:05 PM

Hi,
the propery way to communicate back fom a region into the calling page is to use contextual events, which is a publish/subscribe system implemented on teh ADF binding layer. If a bean is configured in a standrad servlet scope (for example request or session), thus not bound to a specific occurence of its instance (backingBeanScope) then you could pass the EL string as an input argument to the task flow and use a ValueExpression in the managed bean of the region to resolve it and call a setVariable method to pass a value to it.
For example, if the managed bean is MyManagedBean, then you could pass
#{'#{MyManagedBean}'}
as the task flow input value. This then e.g would be written to the pageFlowScope.externalBeanref attribute (you need to do this in the input parameter mapping) from where it can be accessed by the inner managed bean (the bean of the region).
Note that the above is a "little dirty" but works. The reason why I suggest to use an input parameter instead of directly coding the EL to the parent page managed bean into the bean of the region is encpsulation: you don't want to make the bounded task flow in the region dependent from the outer parent context.
Frank
Ps.: Note that the managed bean is created when it does not exist. If you want to avoid this, you could pass #{'#{requestScope.managedBean}'} into the task flow. In this case, if the managed bean is not instantiated by the parent, the EL Value Expression comes out "null" if the managed bean wasn't instantiated before, in which case you know that there is no sense in accessing a setter/getter on it.

Similar Messages

  • Display same data on 2 regions of the SAME Page

    Hi
    I have 2 regions.Top is an interactive editable report.Bottom region is a read only report of the same(top region)
    But when i click search button(based on paramters 1&2, i am not able to see the same number of rows.
    Top region shows 5 like emp id 1,2,3,4,5..But bottom region shows not the same.Bottom showa lke 1,2 ,33,34,35
    How to show at the bottom only the common rows from the TOP like 1,2,3,4,5 in TOP and 1,2 only at the Bottom
    Is there any custom process i need to add ?
    Please advice
    thank
    kp

    KP,
    I don't think this query is particularly tricky, but it would be good if you could upload your application to apex.oracle.com and share some developer credentials with us? It will be much easier to understand your problem visually.
    Kind Regards, Pete

  • Data sharing between OSX and WinXP/Vista partition in boot camp

    Due to software and external hardware issues, i need to revert back to an XP/Vista setup but would like to keep 1 computer to minimise having multiple copies/versions of data e.g. music, video, photos and office related docs.
    If i perform a boot camp install, will the following scenarios work?
    1) Have 1 large OSX partition which will store all my data. Will WinXP be able to read/write/delete data on the OSX partition
    2) Have 1 large WinXP partition which will store all my data. Will OSX be able to read/write/delete data on the WinXP partition (Assuming i have the NTFS-3g software installed)
    3) Have 1 (for arguments sake) 30GB OSX, 1 30GB WinXP and a third partition formatted as NTFS to hold my data.
    Scenario 3 would appear to be the most sensible option as it keeps data away from the OSess so if i loose one, the data will be intact regardless.
    Which brings me to my final question:
    If i have to reinstall OSX, would i loose the WinXP partition in the process?
    Many thanks!

    Along with MacFUSE, take a look at MacDrive7 for Windows to read/write to HFS Extended volumes.
    WinClone to backup Windows XP/Vista
    Reinstall or restore? either way, and you really should never need to reinstall if you take an hour to backup (clone) or use TimeMachine (or combination of both).
    I think Boot Camp Assistant is far too much of one-way only in not allowing or supporting more than one partition for OS X and one for Windows.
    You can shrink OS X volume and create a partition out of free space. Or you can shrink Windows Vista (probably XP also) and partition that (but that can confuse OS X startup disk or boot manager "Option key.").
    MacFUSE has had the side effect of making "Windows" volume not show up in OS X Startup Disk also.
    I'd say MacDrive7 is your best bet without requiring an external drive (but do have one or two for your backups).

  • How do I get the top lines i my toolbar back? The top line starting with 'file' on the right and the second line which contained the refersh button as well as the search bar have disappeared. How do I get them back?

    The first two lines of my toolbar have gone. I'm left with most visited but the lines above, containing the refresh button, bookmarks and search bar and above that containing the links to files etc have gone, how do I get em back?
    == I was fiddling with the different bars and must have clicked sth I shouldn't have.

    Alt V
    T
    M
    Be sure to do this in a new blank tab.

  • ADF UIX Struts and the BajaContext, Page, and PageEvent

    Hi,
    I'm hoping someone can point me to the right piece of documentation, but I can't seem to figure out how to build the link between 1) the new ADF bindings and the UIX controller event handler objects such as the BajaContext and 2) a UIX event handler and the ADF bindings.
    We used the ServletBindingUtils object to gain a handle on BC4J objects within UIX event handlers. To get the application module, we'd use getApplicationModule and pass in the BajaContext object. Or, the BindingContext, but this context is the oracle.cabo.data.jbo.bind.BindingContext, not oracle.adf.model.BindingContext.
    Also, the opposite question remains on how does one obtain a handle the Page, PageEvent, and BajaContext from the struts side, from say the DataActionContext?
    If there is no link (or not one easily obtained) are there plans to provide one, or are these two controller mechanisms to remain separate?
    Thanks much,

    I don't know if this will help:
    http://helponline.oracle.com/jdeveloper/help/state/content/navSetId.jdeveloper/navId.4/vtAnchor.handlingEvents/vtTopicFile.jdeveloper%7Cuixhelp%7Cuixdevguide%7Cintroducingbaja%7Ehtml/
    There is a snippet to finding the BajaContext off of the rendering context:
    BajaContext bajaContext = BajaRenderingContext.getBajaContext(context);
    I'm not sure if something similar can be done with the ActionContext or not.
    Brad

  • SVG chart and region on the same page

    Hello,
    I would like to know if it's possible to create an svg chart and and only refresh a region in the same page.
    If it's possible, where I can find how to do this.
    If I call an other page my data is ok. But When I refresh the same page my data is not good.
    Thanks
    Eric

    Go to Dropdown web item properties and choose your report and use Before Command and use OPEN_CHART_DIALOG. You may try with After Command also.

  • Protocal between ADF Business Service (ADF -AM) and the ADF Faces Model.

    Hi,
    Anyone knows how the communication is happening between ADF-AM and the ADF Faces model ? I mean the protocol? Is it handling by the application server container with the help of ADF libraries?
    I knew in ADF Faces and EJB the communication is hap[ping via RMI/IIOP (standard EJB call). But in the ADF BC and application module i am bit confused about the access. I knew we can expose the AM as state full session bean. But by default how that is happening. Experts please help me to understand the architectural concept of this.
    -t                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    the question is not basic and valid too. Just wanted to understand the motivation behind it
    For bc4j i am not sure. can we full fill the above deployment scenario?
    Yes, you can. ADF BC allows you to deploy the business service as an EJB 2.1 model and then have the Data Control hooking up to it (JNDI).
    Apart from this i would like to know the communication protocol (by default) between ADF BC application module and the view model which is the data control. In ejb when we create the data control we can specify that is Local or remote ( Some people said the EJB binding is not full supported in some cases but for ADF-bc it is). But how this is happening in the ADF-BC.
    It would work like a normal EJB client. The ADF BC client interface would reside on the web tier and access the remote business service. So there is nothing different here than when using EJB. However, not that it uses EJB 2.1 still and that we don't see customers using this approach in a web deployment. It made lots of sense (performance) in desktop application development with ADF BC, but in web application development a remote business service access doesn't seem to be state of the art (and even using straight EJB you would use the local interface and have the business service model reside on the same machine as the web module)
    Frank

  • Secure the file/data transfer between XI and any third-party system

    Hi All,,
    I would like to use to "secure" SSH on OS Level the file/data transfer between XI and any third-party system Run OS Command before processing and OS command After processing. right now my XI server installed on iSeries OS.
    with ISeries we can't call the Unix commands hope we need to go for AS400 (CL) Programming. If we created the AS400 programm how i can call that in XI.
    If any one have idea pls let me know weather it will work or not.
    Thanks in adavance.
    Venkat

    Hi,
    Thanks for your reply.
    I have red some blogs like /people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi to call the Unix Shell script in XI.
    But as i know in iSeries OS we can write the shell script we need to go for AS400 programe. If we go with AS400 how we need to call that programe and it will work or not i am not sure there i need some help please.
    Thanks,
    Venkat

  • Internet sharing between cellphone and computer us...

    I have watched some videos in youtube about internet sharing between cellphones and computer using "BLUETOOTH"... How do they do that? How can we do this? Anybody here can share to us how to do this??

    24-Aug-2008 12:28 PM
    monkeyboy85 wrote:
    I personally would not of thaught this is possible as bluetooth is essentially just a radio signal, obviously it can transmit data but i dont think it has the ability to stream a broadband connection. Could be completely wrong but thats what i think.
    You are wrong
    Most Nokia phones with a bluetooth interface can let you connect your computer to the Internet using your phone as a modem connected by bluetooth. So, BT definitely can support the data stream.
    Enabling a computer to use the phone's Internet connection over BT or via USB cable is possible with no additional software on the phone. Doing the opposite, allowing the phone to use the computer's Internet connection via BT, requires additional software. GNUBox does just that.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Any issues with file sharing between Windows and latest Mac client?

    We're running Lync 2013. My Windows client is 15.0.4551.1005. Mac client is version 14.0.8.
    I open a conversation with a coworker on his Mac. I then try to share a png file. He clicks accept but then my client says the attempt timed out, and his client says that I canceled the file transfer. The coworker then boots the Mac into Windows and we try
    again, and the file share works fine. When I jump on my Mac, I can send files to his Mac without issue. When he tries to send from his Mac to my PC it fails, but when he tries to send from Windows on his Mac to my PC, it works.
    I can't find anything specific in the logs that would indicate a firewall issue. Is there a bug with file sharing between the Mac and PC clients?
    Thanks,
    Matt

    No, There isn't a bug with file sharing between Mac and Pc client.
    2941640 Desktop sharing session stops in Lync 2013 when all screen data is updated
    Also you can check below links
    http://support.microsoft.com/kb/2952672/en-us
    http://support.microsoft.com/kb/2880474/en-gb
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • How to make a link in a report open a Form in a different region of the same page ?

    Hi,
    I developped a report and a form for the same table. I also created a link and used it in my report so that when I click on the link of one record, the form is opened and display this record.
    My problem is that when I include my report as a portlet and I click on a link, the form is opened in full screen mode by replacing the page containing my report.
    What should I do in order to open this form in another region of the same page ?
    Thanks a lot

    I presume that the two regions are working fine with their individual buttons and your issue is how to make them both save with one button.
    Here is how
    a. You will have 2 ApplyMRU and 1 ApplyMRD processes for each of the regions. Right? Lets say you have 2 "Save" (i.e. label=Save) buttons, one has name SUBMIT and the other SAVE ( SUBMIT and SAVE being the requests that will be sent when they are clicked , respectively)
    b. Make the Display condition on one of the buttons 'Never'. Now it won't show when you run the page. Lets say you made SAVE's conditional Display 'Never'
    c. Go and change the condition on all ApplyMRU and ApplyMRD processes from "When Button Pressed" to "Request is contains in Expression1". In Expression1 enter SUBMIT,SAVERegards

  • Horizontal scroll bar for each page of the ADF page???

    Hi Everyone,
    I have developed one ADF page which is working very fine.
    The width and height of the page is more by which it is showing vertical scroll bar and horzontal scroll bar at the end(bottom) of the page.
    But the requirement is that the horzontal scroll bar should be displayed for every page when we scroll down but it is displaying at only bottom of the page.
    How can i include horizontal scroll bar?
    Any suggestions wil be really useful.
    Thanks.

    See if this works:
    <af:form id="f1">
    <af:panelStretchLayout id="psl1">
    <f:facet name="center">
    <af:panelGroupLayout id="pgl2" layout="scroll">
    <af:panelGroupLayout id="pfl1"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelStretchLayout>
    </af:form>
    Drop your content inside the second panelGroupLayout

  • How can I jump to certain region on the same page?

    Hi,
    I want to jump to certain region on the same page.
    1) Let say I have 5 regions on page 15 and I have to able to redirect from region 1 to region 5 with out scrolling.
    2) I have to able to branch from page 2 to page 15 ==> region 4.
    How can I do it?
    I thank you for any help in advance.

    I can get this to work but the page is submitted, either when I use a button with URL link or from a link on a display only text field.
    Is this how it is supposed to work? I thought it was supposed to work just on the browser so it is fast.
    IGNORE THIS!
    =============================
    I resolved it easily by modifying the URL from f?p=blah blah to #LINK_NAME
    Message was edited by:
    user530800

  • Data Replication Between Sqlserver and Oracle11g using materialized view.

    I have Sqlserver 2005 as my source and oracle11g as my target.I need to populate the target daily with change data from source.
    for that we have created a dblink between sqlserver and oracle and replicated that table as a Materialized view in Oracle.
    problem we are getting here is Fast refresh option is not available.each day it will pick full data from the source.
    is there any way to use Fast refresh in this scenario??
    Thanks in advance.
    Regards,
    Balaram.

    Pl do not post duplicates - Data Replication Between Sqlserver and Oracle11g using materialized view.

  • Data streaming between server and client does not complete

    Using an ad-hoc app, data streaming between server
    and client does not complete as it supposed to be.
    The process runs well in solaris 5.8, however under 5.9
    we have found the characters stream buffer length limitation
    is around 900 to 950 characters (by default we are using 3072
    characters).
    Example:
    - We are transfering HTML file, which will be displayed
    in the App client, with buffer=3072, the HTML only displayed / transfered
    as xxxxxxxx characters, but with buffer=900 the HTML is displayed properly,
    in this case, the only problem that we have is the file transfer will
    eventually longer than usual.
    - There is another case, where we have to transfer information (data) as stream
    to the client. A long data stream will not appear at all in the client.
    Any ideas why the change between 5.8 and 5.9 woudl cause problems?
    The current app-driver that we are using is compiled using Solaris 5.6,
    if possible we would like to have use of a later version, which is compiled using Solaris 5.9, do you think this will probably solve our problem?
    Thanks
    Paul

    Does this have anything to do with Java RMI? or with Java come to think of it?

Maybe you are looking for

  • My phone has been disabled, how can I enable it back?

    my phone has been disabled, how can I enable it back?

  • Color .jpg/.gif images in the .CHM and true (4BPP/8BPP) grayscale in Printed Output?

    I do all my document creation in RH first, then output WinHelp and to Word 2003. I want to keep color images in the CHM and have a majority of the images become true monochrome grayscale in the Word doc. Yes, Word does have a nifty "grayscale" optopn

  • MainStage 3 Wham pedal off key?

    Hi - so I just upgraded to MainStage 3, and I'm very excited to see "Wham" as a pedal option. It seems to be based on the DigiTech Whammy pedal, which is the ONLY physical pedal I use with MS. However, I'm thinking it might be one half-step off. I us

  • Peoplesoft tables

    Hi all, when I want to know an oracle database table and its purpose I go here : Oracle Database Online Documentation 11g Release 2 (11.2) and look for the name of the table. And I find for exemple : V$SESSION displays session information for each cu

  • How to resize pixels in Vision.

    I use the Vision Tools for Ultrasound-Imaging. I have the data in a 2D-Array (220x2502). In x-direction one pixel equals 128 us and in y-direction 1 pixel equals 6.15 us. If I display this picture, I get a very long one, because I don't know, how to