A bridge between the page and the EO using the action listener

hi
i have a requirement that when pressing a button i want some action to be performed and this action is related to some field in the database.
i have the problem that i don't know how to reach the EO from the action on the screen
answer by John Stegeman:
Put an actionlistener on the button, and in the backing bean call a method (that you will write) to do the same thing and set the attribute in the VO, not the EO.
please can u give me more details
thanks

User,
In the ADF Developer's Guide for Forms/4GL developers - section 8 shows how to put some code in your Application Module to do model manipulation.
Section 21.6 shows how to call that method from an ADF Faces web page via the binding layer.
Best,
John

Similar Messages

  • How can i keep the music pushed to all of families devices but the calendar and notes just between my phone and my mac using icloud?

    Ok, so my whole family has the same apple ID so that we can all get the same music, and we want to be able to use icloud so that when one person buys a song it will push to all of our devices. But the problem is when I want my calendar on my mac to also be pushed to my phone it pushes to all of my familys devices. How can i keep the music pushed to everyones but the calendar and notes just between my phone and my mac using icloud?

    Oops my bad...I see that during my troubleshooting I inadvertently left Ringtones unchecked in iTunes.

  • Find the key for join between table "crhd" and "equi" for use field "answt"

    I make program for read data from table "crhd" for print  about machine report
    but I can not find the key for link join to table "equi" for print field "answt" (acquistion value)
    please help me  find the key field for join between table "crhd" and "equi" for use field "answt"
    thank you very much...

    This is how the Work Center is linked to a particular Equipment -
    Functional - In IE03 ( view Equipments) You see the Work Center of a particular Equipment.
    Technical - Go to view V_EQUI ( view of EQUI and EQUZ). Pass the Equipment number alongwith V_EQUI-PM_OBJTY = 'A' ( i,.e searching for the Object Type Work Center).  In this way u ll get the V_EQUI-GEWRK - this is the Work Center ID.
    You can pass this Work Center ID to CRHD. And you will get the Work Center text.
    CRHD-OBJTY = 'A'
    CRHD-OBJID = V_EQUI-GEWRK.
    and u ll get the CRHD-ARBPL - this is the Work Center.
    So u need to come backwards, alongwith ur CRHD-OBJTY and CRHD-OBJID , you pass the same to V_EQUI and u get the list of equipment numbers alongwith ur ANSWT(Acquisition value).
    I guess it solves ur problem.

  • TS3367 Hi, the FaceTime just did not work between my mom and I. It used to work weeks ago, but now it does not work after showing"connecting". I feel frustrated and try all the method I can think of. Still do not work. Hope u can help me. Thanks!

    Hi, the FaceTime just did not work between my mom and I. It used to work weeks ago, but now it does not work after showing"connecting". I feel frustrated and try all the method I can think of. Still do not work. Hope u can help me. Thanks!

    Was it just this one time?  Could be that you, or your mom, were experiencing network problems.  Try again at a later time.

  • Backup SQL Agent Jobs - whats the difference between "create to" and "drop to" using "script job as"?

    Hi,
    This should be straightforward, but being new to SQL Server 2008, can someone advise the difference between "create to" and "drop to" using "script job as"?
    Thanks
    IT Support/Everything

    hello,
    "CREATE TO" create a CREATE statement for the job, e.g. to execute this script on a other server to create the same job there.
    "DROP TO" means you get a script to delete an existing job.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Differentiate between oa page and iStore page(jsp)

    Hi,
    How to Differentiate between OA page and iStore pages?

    If the URL contains the JSP tag as OA.jsp or RF.jsp, then its an OAF application else if you see some custom jsp, eg, jftchrome.jsp etc, then the application is JTT/JTF based application:
    eg:
    OAF application:
    http://sampledomain.oracle.com:5000/OA_HTML/*OA.jsp*?.......
    http://sampledomain.oracle.com:5000/OA_HTML/*OA.jsp*?.......
    JTT Application
    http://sampledomain.oracle.com:5000/OA_HTML/*jtfchorme.jsp*?.......

  • Distinguishing between bookmark page and ordinary jsp

    If I bookmark a page in my project and close the browser , and again on restarting the browser
    viewing the same bookmark page without logging in,
    All the links should work.
    It is working , but problem arises here
    how to
    distinguish between bookmark page and ordinary jsp
    which is viewed with login

    The problem is not the bookmark.
    Review your JSP, you may find it does not check the session id.
    In this case, everyone can access the page without login.

  • Distinguish between 'Edit Page' and 'Customize'

    I have a portlet/provider that needs to be able to distinguish between 'Edit Page' and 'Customize (Page)' (top level). In both cases you can add portlets, but I want to implement different logic for both instances.
    Thanks,
    Jan
    null

    Okay, so here goes!
    Oracle Portal stores the way a portlet instance is shown/put on a page in the db-column 'wwpob_portlet_instance$.include'.
    In the portlet 'register' call you can find out what the originating action was for this portlet to be placed on the specific page. At this stage only two possible values are interesting:
    3: WWPOB_API_PAGE.PORTLET_CUSTOM; The originating action was [Customize Page - Add Portlet]
    1: WWPOB_API_PAGE.PORTLET_BASE_SHOWN; The originating action was [Edit Page - Add Portlet]
    For now this gives me a hook to process the two originating actions differently.
    Please let me know if you know of any other (less hacked) way to do this.
    Thx,
    Jan.

  • How to Set Up SSO Between IBM WebSphere and SAP EP Using JAAS

    Hi
    I have read the article on SDN called "How to Set Up SSO Between IBM WebSphere and SAP EP Using JAAS", which is also the name of my posting.
    The reason why I post this is that I've tried to follow the links in the PDF to get the file WebsphereEpSsoLib.zip but I get an error 403, which tells me that the file is not there.
    Does anybody know where this file went or can somebody tell me an alternative place to get this file?
    Jacob

    Please open the associated whitepaper, and you can find the download link to the .ZIP file on page 4.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ibm/how to set up single sign-on between an ibm websphere portal and the sap enterprise portal using jaas.pdf
    Hope that works!
    Elise

  • Can you move files back and forth between an iPad and a PC using iTunes?

    If I read this article correctly, http://support.apple.com/kb/ht4094 I should be able to connect my iPad to my PC, fire up iTunes and then on the Apps tab in iTunes I should be able to click on an app, Pages for example and then just drag files onto the Pages Documents column from a Windows Explorer window.
    This is great.  I was hoping to use DropBox but it is such a hassle I don't know why people are so thrilled with DropBox on iPad.  If I can just move files back and forth using iTunes that should be fairly easy.  I wish there was a way to just upload my files to iCloud from my PC but the iCloud control panel app for Windows only seems to connect Outlook, Photostream and Bookmarks. I want to be able to just carry my iPad and not have to deal with a computer. 
    I thought that they said that you didn't need to have a computer to have an iPad.  I guess if you have a computer and then GET an iPad its a different story, unless you have a Mac of course.
    Anyway my question is: can you move files back and forth between a PC and an iPad using just iTunes?

    I still need to do some trial and error testing with DropBox and my iPad.  But can I link my iPad to my DropBox account so that I can always see the files on DropBox when I open Pages on my iPad?  I just want one place to store my documents, and iCloud doesn't seem to be up to the task when it comes to opening a fil;e, editing it and then saving it back to iCloud.  I just want a networked storage location that works like a networked drive on my LAN.
    I realize that hollywood and the music industry are up in arms about file sharing on the Cloud which is why so many things are made more difficult than they need to be. 

  • How can i stream(air mirroring) *.mkv files between Mac Pro and AppleTV2 by using quicktimeX?

    How can i stream(air mirroring) *.mkv files between Mac Pro and AppleTV2 by using quicktimeX?
    Need support!

    How can i stream(air mirroring) *.mkv files between Mac Pro and AppleTV2 by using quicktimeX?
    As stated you can't. Even if the compressed data is TV compatible, the container is not. If the file is playback compatible with the QT X Player, you can, of course, play the file on your main system and "mirror" its display to the TV. Unfortunately, this normally means only the video is played back via the TV device. On the other hand, if you convert the MKV content to an TV compatible file (or move the compressed data to an TV compatible container if the data is already TV compatible), then you can mirror the QT X player (with audio) to the TV device in the full screen mode, air play/mirror it from iTunes (or any mobile device), or stream it directly from itunes.
    Basically, what you can do here depends on the compressed data in the MKV file container and how you define "mirroring."

  • Difference between Data-centric and Document-centric use

    Hi,
    Can someone suggest what exactly is the difference between Data-centric and Document-centric use and examples if any.
    Thanks in advance.
    Chaitanya

    Maybe it helps if you look at it this way...
    Document centric: document centric use of xml data is data that you always use in its complete form. If you want to use the data, then you always will retrieve it as one entity or you save it as one entity. You are not interested in the xml data / information inside this "package" / document, you are only interested in its total form. Lets say, you have an invoice which can be printed on one sheet of paper. This paper that contains you data, will always be treated in a document driven way, that is, in its total representation: information containted on a sheet of paper (document).
    Data centric. data centric use of xml, is usage of data were the main interest point is focused on only pieces of the total set of xml data within a document. So instead of being interested in the whole invoice, you only are interested in information like "amount of money to be payed" or "invoicenumber".
    Handling of XML data comes with (hidden) costs. Knowing how your data will be used, has to be used, is one of the first steps in designing you environment (and will have an big impact if you choose poorly). For instance, if you know that your data will always be handled (and must be stored) in a document driven way, then it will make sense to store it based on CLOB based XMLType storage. This will garantee best performance retrieval for your xml document. If you now that your xml data has to be stored so that it can be handled in a data centric way, then Object Relational XMLType storage. If conditions are setup properly data retrieval, inserts and updates will be more cost efficient then when based on CLOB XMLType storage.
    There are more differences and "cost markers" when or when not to use CLOB, OR or for instance Binary XML. The first two chapters of the XMLDB Developers Guide for Oracle 11g will give you a good head start making some of those decisions. Be also aware that you probably will have to make compromises. The current state of XML, for example, doesn't have the final solution yet for a uniform storage method.
    Message was edited by:
    Marco Gralike

  • Add the action listener to a JLabel

    Hi,
    I created a custom JLabel. This should work like a JButton.
    So how i can add a method like
    MyLabel.addActionListener(ActionListener aListener);The action listener can simulated through the mouseClicked method to get a simillar effect but
    the action listener method is more oop.
    So any ideas?
    regards,
    Olek

    Olek wrote:
    I created a custom JLabel. This should work like a JButton.You may be better off creating a JButton that looks like a JLabel. That's my recommendation for implementing this.
    Edit: I remember seeing this at JavaRanch a while back. Perhaps it will be useful to you:
    [actionListener for JLabel|http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=2&t=017064]
    Edited by: Encephalopathic on Jul 12, 2008 6:13 PM

  • How the hell does a person share session data between JSP page and a Servle

    1. How the hell does one share session data between a servlet and a JSP page without using a bean but rather using a normal string variable.
    2. When using session scope to access a bean the application complains about not finding the bean on the specified scope, however when I use an application scope the save the same bean, the application does find it.
    Please help!!!!!!!
    SERVLET:
    HttpSession session = request.getSession(true);
    ServletContext servletContext = session.getServletContext();
    customerID = result.getString("CustomerID");
    userName = result.getString("UserName");
    session.setAttribute("UserName",userName);
    session.setAttribute("CustomerID",customerID);
    System.out.println("Customer UserName = " + session.getAttribute("UserName"));
    response.sendRedirect("/economics/subscriptions/default.jsp");
    JSP PAGE:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root xmlns:jsp=http://java.sun.com/JSP/Page mlns:c="http://java.sun.com/jsp/jstl/core" xmlns:sql="http://java.sun.com/jsp/jstl/sql" version="2.0">
    <jsp:directive.page isThreadSafe="true" session="true" contentType="text/xml"/><jsp:output omit-xml-declaration="false"/><jsp:scriptlet>response.addHeader("x-xslt-nocache", "true");</jsp:scriptlet><pml>
    <page type="web" search="y">
         <pageName>Commercial Banking</pageName>
         <jsp:directive.include file="/economics/header.inc"/>
         <jsp:directive.include file="/login.inc"/>
         <jsp:directive.include file="/economics/leftMenu.inc"/>
         <!--<jsp:useBean id="UserName" type="java.lang.String" scope="session" />-->
         <content>
         <searchSum>Commercial - Main Content</searchSum>
         Value = <c:out value="${request.session.getAttribute("UserName")}"/>
         </content>
         <jsp:directive.include file="/economics/rightNav.inc"/>
         <jsp:directive.include file="/footer.inc"/>
    </page></pml></jsp:root>

    For a start, just "session" instead of "request.session" would work better. But why did you post this here and not in the JSP forum? Doesn't seem to have anything to do with Java programming.

  • How to create a bridge between the two given GB Ethernet ports.

    Hi,
    I have a MAC Pro in my test set up. is there any way to create a bridge in between the two given Gigabyte ports and control the bandwidth for the device connected to Ethernet-2 while getting the internet connection from Ethernet-1.

    I believe you can manually set the bit rate for the second Ethernet port when it is operating as Ethernet Sharing (essentially turning that port into a limited Router).
    There are no standard tools in Mac OS X for inspecting the packets there, but there may be tools available for networking developers/troubleshooters to do that.
    When that feature is enabled, the port appears from your Mac to have a "self-assigned" IP Address -- a semi random Address in the 169.254.xxx.yyy range. From the connected devices, it will appear to have a legitimate private Router Address, often 192.168.1.1

Maybe you are looking for

  • When Updating to IOS4 Do Not Say Yes to Udpate Changes to Settings

    I updated my iPhone 3g to IOS4 on release date. OK You can stop laughing at me know, I got screwed over but I was lucky. I couldn't get the OS to install using the update so I did the work around and downloaded the OS into iTunes and did a backup and

  • ITunes will not start on my windows 7 computer

    iTunes will not open on windows 7, help! I have an HP laptop running Windows 7 Home Premium, the iTunes version is 11.1.5.5. About a year ago my screen broke on my HP laptop so I moved the hard drive into an older computer. I recently moved my hard d

  • 2 facts and 1 dimension design in RPD

    Hi All, Approach 1: I have a Fact which I am creating as a dimension and there is another fact which is joined to the same dimension. The same process I am following in BMM layer and trying to work by setting content level. But when I am dragging col

  • Missing red color in adobe RGB

    I shoot raw with Nikon Camera. I am having a problem with getting red color in photoshop. . For nef files, I open them in Capture NX2 and then save as jpg in Photoshop.  The jpg image was opened in Photoshop CS5 with a color setting of sRGB, beatiful

  • Premiere Pro CC v7.0 - MP3s corrupted during import with "Write XMP ID to Files on Import"

    Premiere Pro CC v7.0 - original MP3s corrupted during import with default "Write XMP ID to Files on Import" option I have just started using a Trial version of Premiere. I have a folder full of corrupted MP3 files after attempting to import them into