ADF- search get the value back to the edit form

I am trying to do a search on one inputtext field from an Edit frm. After the selection in the search dialog page, when I set the value back to the edit form it does not set like a value. it sets like an object.
the value of the field comes like - view.managedbean.myBean@5571b0
It should have been "333164"
I have followed the following link in doing this -http://www.oracle.com/technology/pub/articles/gauchman-lov.html
the code for the searchbean and the edit bean are as follows
//on the serachbean
public void returnObject(ActionEvent actionEvent) {
JUCtrlValueBindingRef selectedRowData= (JUCtrlValueBindingRef)getSearchResultsTable().getSelectedRowData();
if (selectedRowData==null){
AdfFacesContext.getCurrentInstance().returnFromDialog(null,null);
return;
// Get JobTitle and Salary of selectedRow
oracle.jbo.domain.Number oracleJbosearchID = (oracle.jbo.domain.Number)selectedRowData.getRow().getAttribute("myId");
myID = new Integer(oracleJbosearchID.bigIntegerValue().intValue());
setMyID(myID);
AdfFacesContext.getCurrentInstance().returnFromDialog(this,null);
//on the edit bean
public void handleReturn(ReturnEvent returnEvent) {
MyBean myBean = (MyBean)returnEvent.getReturnValue();
if (myBean==null)return;
Integer myID = myBean.getMyID();
getMyID().setSubmittedValue(null);
getMyID().setValue(myID);
AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
afContext.addPartialTarget(getMyID());
Any help would be appreciated
Thanks

Hi,
the following line
AdfFacesContext.getCurrentInstance().returnFromDialog(this,null);
returns an instance of the managed bean, which for the example of a return value is an overkill to do. Please have a look at
http://download-uk.oracle.com/docs/html/B25947_01/web_complex003.htm#CEGDHIGB
for how to use dialogs. It explains how to return an simple object and how to return a collection (e.g. in a Hashmap)
Frank

Similar Messages

  • WHAT SHOULD I DO MORE TO GET  MY FILES BACK IN THE FCP FORMAT ?

    A ROUND-ABOUT PROBLEM
    RECENTLY I GRADUATED FROM. FCE AND FCE HD. I DECIDED TO INSTALL FCP 5. I HAVE POWER BOOK G4 V10.4.8, PROCESSOR 1.5 GHZ PC SDRAM WITH INTERNAL MEM 80 DISK STORAGE AND 1 GB DDR SDRAM. I ALSO HAVE AN EXTERNAL LaCIE WITH 200 CAPACITY.
    IN THE PROCESS OF INSTALLING FCP, THE STUPID THING I DID WAS TO CHANGE NAME OF THE MEDIA FILE, AND THIS ACTION CAUSED ALL MY FILES GO OFFLINE. THE OPTIONS GIVEN TO ME BY THE RECONNECT FILLES TABLE BOX TO GET BACK MY FILES ARE:I TRIED TO USE BOTH BUT WITH NO SUCCESS.
    I WOULD BE GRATGEFUL TO ANY ONES WHO COULD HELP ME RECOVER MY FILES WITHOUT GOING INTO THE PAIN OF CAPTURING THEM FROM TAPE.
    FOR THOSE OF YOU WHO HAVE THE PATIENCE PLEASE READ MOR BELOW. THANK YOU SO MUCH.
    WHEN I TRY I GET A WARNING WHICH SAYS:
    THE FILE FORMAT OF THIS PROJECT IS FROM AN EARLIER VERSION. WOULD YOU LIKE TO UPDATE THIS PROJECT?
    NOTE: ONCE SAVED, THIS FILE CANNOT BE OPENED BY PREVIOUS VERSION. TO AVOID OVERWRITING THE ORIGINAL PROJECT FILE , YOU CAN CHOOSE SAVE PROJECT AS FROM THE FILE MENU WHEN PROJECT UPDATING IS COMPLET
    WHEN I SAY YES, ANOTHER BOX APPEARS: UPDATE PROJECT. IT SAYS THE FOLLOWING:
    THIS PROJECT CONTAINS ONE OR MORE SEQUENCES WHICH THIS VERSION OF FINAL PRODUCT PRO CAN RENDER WITH MOTION TAP QUALITY(NAMELY SCALIBG, ROTATION, ETC). PLEASE CHOSE A SCALING QUALITY TO USE (“FASTEST” RECOMMENDED IS THE QUALITY LEVEL 4.5.
    NEW QUALIT Y CHICKED INSIDE THE BOX ARE: BEST, NORMAL, FASTEST OR LINEAR . THE UNCHECKED LITTLE BOX READS: REMOVE EXISTING FILES (THIS ACTION IN NOT UNDOABLE
    WHEN I PRESS OK “OFFLINE FILES” BOX APPEARS AND SAYS:
    SOME OF THE MEDIA OF YOUR PROJECT REFERENCES EITHER CHANGED, MOVED, OR GONE AWAY.YOU CAN EITHER RECONNECT THESE FILES , OR CONTINUE WITH THEM BEING OFFLINE. BELOW THIS SAYS AS FOLLOWS:
    FORGET FILES. BELOW THAT THERE IS AN UNCHED BOX WHICH SAYS: MEDIA FILES 69 OFFLINE
    WHEN I PRESS CONNECT INSTEAD OF CONTINUE , THE RECONNECT FILLES BOX OPENS AND 69 OFFLINES FILES APPEAR. IN THIS RECONNECT FILES BOX THERE ARE 2 SECTIONS
    THE 1ST SECTION HAS A LITTLE UNCHECKED SKIP FILE BOX AND ANOTHER LITTLE CHECKED BOX WHICH READS: SEARCH SINGLE LOCATION. WHEN I OPEN IT TWO OPTIONS ARE GIVEN AS FOLLOWS:
    MACINTOSH HD: USERS WITH MY NAME AND DOCUMENT
    LaCILE:FINAL CUT PRO DOCUMENTS; AUTO SAVE VAULT WITH THE TITLE OF MY FILE
    WHEN I PRESS RECONNECT I GET THE FALLOWING PATH :
    MY NAME.>MACINTOSH HD >APTS FCT 5 >GRAY FILES
    WHEN I CHANGE THE SHOW BOX TO REVEAL FILES .I GET OFFLINE
    WHEN I ADD RESEACH, IT TAKES ME TO THE A CHOOSE A FOLDER WITH THE FOLLOWING PATH:
    MY NAME>LACIE DISK>FINAL CUT DOCUMENT >FOLDER >GRAY FILES WHICH CANNOT BE RVEALD., AND WHICH I CANNOT CHOOSE. IT GOES ON AND ON IN A CIRCLE WITHOUT HELPING ME TO GET MY FILES IN FCP FORMQAT.
    WHAT SHOULD I DO MORE TO GET MY FILES BACK IN THE FCP FORMAT WITHOUT BEING STUCK TO OFFLINE FILES FOR EVER? YOUR STEP BY STEP TO WALK ME THROUGH TO REESTABLISH MY FILES WOULD BE GREATLY APPRECIATED.

    A round-about problem
    I thank you all for your very kind replies. I have rewritten my issue in lower case as suggested by all of you. I hope I will be helped.
    Recently, I thought I had graduated from final cut express and final cut express HD when . I decided to install final cut pro. Perhaps a wishfull thinking!
    I have a power book g4 v 10.4.8, processor 1.5 ghz sdram with internal memory of 80 storage disk and 1 gb ddr sdram. I also have an external LaCie with a 200 storage capacity.
    In the process of installing final cut pro, I stupidly changed the name of the media file. Maybe this action caused all my clips, video and audio, files go offline. The options given to me by the Reconnect Files Table , to get my files back, are : Single Search Location and Search.
    I tried and tried both with no success. I would be grateful to any ones who might be able to help me to recover my clips without going through the pain of recapturing them from the tape. There are several tapes to be recaptured.
    Now, for those of you who may have the patience, please read more below to see what I have gone through.
    When I try to get to the files, I get the first warning: “The file of this project is from an earlier version. Would like to update this project?” And then it continues: “Note, once saved, this file cannot be opened by previous version. To avoid overwriting the original project file , you can choose Save Project As from the File Menue when the project updating is complete”. (It was at this point where I changed the files names formatted by the previous versions).
    When I say Yes, another box appears: Update Project. It reads as follows:
    “This project contains one or more sequences which this version of Final Cut Pro can render with Motion Tap (i.e. scalable, rotation, etc). Please choose a scalable quality (“fastest” recommended is the quality level 4.5. New Quality checked inside the little Box are: Best. Normal Fastest or linear." I choose Normal. The unchecked little Box reads: "Remove existing files ( this action is not undoable, it says”.
    (By the way, in my project no sequences, have been set up as yet; they are all clips inside the bins with red slash in all clips).
    When I press OK, “Offline Clips” Box opens and says the following:
    “Some of the media of your project references either changed, moved, or gone away. You can either Reconnect these files, or Continue with them being Offline”. Below this it continues:
    “Forget files.” Below that there is an unchecked box which says: “Media Files 69 Offline”.
    When I press Connect instead of Continue, the Reconnect Files Box opens with 69 Offline files. In this Reconnect Files Box there are two sections’
    The first section has a little unchecked Skip Files Box and another little checked Box which reads: “Search Single Location”.
    When I open it, two paths are given to recover my files:
    My name>LaCie> Final Cut Document>Folder>Gray files which cannot be revealed, and which I cannot open. I go on and onl ike a checken without a head in a circle without being able to get to the files off Offline.
    I have the same problem with the second path: My name>Macintosh HD>FCP 5>gray files.
    What should I do more to get my clip files back in the FCP format without being stuck to Offline files for ever?
    I am new to this field and enjoy what I am doing. I am old, and sometime my head goes off. Your expert step by step walking me through to reestablish my file linkage with Media would be greatly appreciated. Thank you all and have a nice holiday. Faruk Sabet

  • Search or website box back to the menu bar

    I've lost and forgotten how to get the search or website box back to the menu bar.

    If you are talking about Safari:
    Safari Menu/View: Show Toolbar and Customize Toolbar.

  • How can you get the camera back on the phone if it is deleted?

    My camera has been deleted from my iphone...beside restoring to default, is there a way to get a camera back on the phone?

    iOS Pre Installed Apps Cannot be Deleted.
    Check in All Folders and on All Pages/Screens...
    Check in Restrictions...
    Settings > General > Restrictions
    If no joy...
    Settings > General > Reset > Reset Home Screen

  • I moved all my music from c: drive(because it was full) to an external harddrive and now itunes can't find any of my music. Is there a way to get Itunes to find music on external drive without having to place all the music back onto the c: drive? Thanks

    I moved all my music from c: drive(because it was full) to an external harddrive and now itunes can't find any of my music. Is there a way to get Itunes to find music on external drive without having to place all the music back onto the c: drive? Thanks

    Hopefully you moved the entire iTunes Media (or iTunes Music) folder to a new path on your external drive. Copy your iTunes library folder out to the root of the external drive, e.g. X:\iTunes (where X: is your external drive), then move the media folder inside it. Hold down shift as you start iTUnes and keep holding untila asked to choose or create a library. Choose the library at X:\iTunes\iTunes Library.itl. Should all be good.
    Failing that, download and run my FindTracks script and point it at the new location of your media folder.
    tt2

  • 2 computers at home working with the same files i keep on an external hard drive to free up space the internal drives. I have an airport extreme time capsule to back up both computers. how can i get it to back up the hard drive plugged into time capsual?

    I want to run both my macbook pro and imac from a single external hard drive.
    i bought a time capsual and set it us as my network and plugged my external hard drive into it. so now both my computers can access it and work on the same image and film files. the time capsual does a lovely job of backing up both my computers and my wifes. but i cant get it to back up the external hard drive that is conected to it. ive looked on the forum and it seems to me that its not possible, which seems odd to me that mac would enable you to plug a hard drive into the time capsual but not let you back it up, what is the point in that!?
    so my question is can i back up the external hard drive with time machine, and if not how do i set up my home network so that all my computers can access the same files and time machine will back everything up?
    I did the upgrade to maverics on my imac which has caused me a major headache as now all my apature albums have been updated to 3.5.1 but my macbook pro can no longer open them because im unable to upgade it to maverics, but thats another story.
    If anyone can help me with my time machine issue i would be very greatful.
    many thanks

    i cant get it to back up the external hard drive that is conected to it. ive looked on the forum and it seems to me that its not possible, which seems odd to me that mac would enable you to plug a hard drive into the time capsual but not let you back it up, what is the point in that!?
    so my question is can i back up the external hard drive with time machine, and if not how do i set up my home network so that all my computers can access the same files and time machine will back everything up?
    The TC for whatever it is promoted as,, is still a simple hard disk in a router. It was designed for laptops to use as a backup. A desktop can use a USB drive, faster cheaper and more reliable than a network drive but the laptops need a network wireless storage. Hence the TC. It is NOT nor was it ever designed to do the job you are trying to use it for.. it is not a NAS.. it has no internal backup.
    What is more Time Machine has no ability to backup network drives no matter what their format.
    So the solution is to either use a real backup software.. eg Carbon Copy Cloner which can do far more than TM can or ever will. It is around $40 so hardly expensive. But since the TC was never designed for it, this will be slow.. and the next question is where are you going to back to. Using the TC as backup location for your files is less than great. Primarily because all your files are still on the same device albeit on different disk. It is also because mixing data and TM backups is not so great. The TC cannot be partitioned although you can alleviate some of the issues..
    See this info.
    Q3 here http://pondini.org/TM/Time_Capsule.html
    Let me go back to the question.
    so my question is can i back up the external hard drive with time machine, and if not how do i set up my home network so that all my computers can access the same files and time machine will back everything up?
    Fundamentally the TC is the wrong place to do this.
    The right place is to plug the USB drive into the iMac.. since it is a desktop machine and you are probably not lugging it around. Simply share the USB drive to the network.
    The MBP can then access the USB drive, and it will be around twice the speed of networking to the same drive on the TC. TM on the iMac can then also backup the USB drive to the TC as part of the normal TM backups.
    The only thing is the iMac needs to be turned on to allow MBP access.

  • How to get default values while using the transaction "BP"

    Hi Group,
    I have a query on how to get default values while using the transaction <b>BP</b>?
    The thing is:
    when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.
    how can I achieve this?
    So please kindly let me know the procedure to achieve this.
    Thanks & Regards,
    Vishnu.

    Hi,
    The events of BDT can be used to default some fields on creating a partner.
    For this create a function module for ISDAT. attach that event in BUS7.
    In the ISDAT funtion modulethe following code should be used.
    For example to set the nationality:
    I_BUSDEFAULT-NATIO = 'DE.
    CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
    EXPORTING
    i_busdefault = I_BUSDEFAULT
    Regards, Smita.

  • If my iPhone was stolen and i want to reactive an old phone using that same number for the time being while i waited to see if I could get my iPhone back, would the iPhone still work while i was using a re-activated old phone of mine?

    If my iPhone was stolen and i want to reactive an old phone using that same number for the time being while i waited to see if I could get my iPhone back, would the iPhone still work while i was using a re-activated old phone of mine?

    If a new SIM is activated on the same account for the same number, any existing SIMs for that number are deactivated.
    Why exactly would you care if the SIM in the missing device still works or not?

  • HT4623 how do I get my safari back on the screen on my iphone ?

    how do I get my safari back on the screen on my iphone ?

    settings - general - reset - reset home screen layout.

  • I downloaced ios6 but most of my apps dissapeared. How do i get my apps back on the screen?

    I downloaced ios6 but most of my apps dissapeared. How do i get my apps back on the screen?

    Just go to the App Store and look at purchased on all
    They should all be there and you just download them again
    Good Luck

  • HT5654 my iphone 4 is giving me the icon to connect to itunes.  when i connect to itunes it says i must restore my phone.  if i restore the phone, it will delete everything.  how do i get my information back on the phone after i restore it??????

    my iphone 4 is giving me the icon to connect to itunes.  when i connect to itunes it says i must restore my phone.  if i restore the phone, it will delete everything.  how do i get my information back on the phone after i restore it??????

    You can't
    Apple has never approved a method to downgrade iOS
    Allan

  • How do I get my tabs back into the main window?

    I've had a problem with an add-on displaying a small extra window every time I open a session for some months now: I know you're supposed to try disabling and re-enabling every add-on you've got to find out which one is responsible, but this is a work computer and with all the add-ons I have, it would take too long, so I've just closed the extra window every time and got on with my work. However, for some reason today my forty-odd tabs have all opened in the small extra window, which has no tab bar, navigation bar or menu button. How do I get my tabs back into the main window of Firefox, or alternatively get that window to behave like a normal Firefox window so I can use it?

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder

  • My old computer crashed and needed replaced, how do i get my library back from the old one and put on the new one?i had xp now windows 7

    my old computer crashed, it was xp i replaced it with windows 7 how do i get my library back from the old computer and put on the new one?

    iDevices are not backup devices.
    Use the backup of the computer to put everything back.

  • Ive restored my Ipod nano and the songs that I've already purchased are now not syncing to my device. How do I get those songs back on the nano?

    Ive restored my Ipod nano and the songs that I've already purchased are now not syncing to my device. How do I get those songs back on the nano?

    Either redownload them directly to the iPod by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    or sync them to your iPod via iTunes
    iTunes: Syncing media content to iOS devices and iPod            

  • Ok I can't seem to get my apps,music, or photos from my iCloud from when I first setup iCloud on a iPhone 4. How do I get my things back from the iCloud and get them to my new device?

    Ok I can't seem to get my apps,music, or photos from my iCloud from when I first setup iCloud on a iPhone 4. How do I get my things back from the iCloud and get them to my new device?

    If you no longer have the phone or have any Backup of it at all, you can re-download your apps and your content from the iTunes Store by logging into your Apple ID at settings> iTunes & App Store. Unfortunately you can no longer recover the data that was associated with those apps.
    So far as your photos go, you can recover any photos that were in photo stream and taken less than 30 days ago by logging in with your Apple ID to settings> iCloud> photos. Unfortunately you will be unable to recover any photos from your camera roll.

Maybe you are looking for

  • BPEL instead of OWF in OWB

    Hi We have implemented 11g r1 database + OWB and are going to migrate to BPEL instead of using Oracle Workflow for our pre-11g OWB projects. Has anyone used BPEL to implement process flows for OWB. If so could you provide some examples on how to do i

  • Hiding columns in Presentation Layer, but still accessible in a report.

    Hi BI Devs, I have a question on how to hide certain columns in the presenation layer but still make them available in a dashboard/report. We have 3 sections in our Presenatation Layer...section_a, section_b, section_c. We have two groups created, gr

  • Workflow Attchment Data

    Hi, In Leave workflow when approver rejects it the approver(Agent) provide the reason for rejection as an attachment. I have to send the external mail to the employee. I am able to send the mail with fixed information, however unable to extract the i

  • Camera Raw Color Temperature Issue

    Help me verify color temperature issue please. I shoot with Canon EOS 5D. I sat white balance mode to K - Manual Kelvin temperature - and set value to 6000K. So my raw files should have this setting - color temperature 6000K. Canon ZoomBrowser EX sho

  • HTTP Server Error - 403 Forbidden

    Hi all i was checking the performance of my application server, in HTTP Server (AS instance, not infrastructure instance) HTTP Server error rate is high, drilling down if found that i have an unusual number of 403 - Forbidden errors. In the access.lo