Can not Update/Execute Bind Variable in af:Table or items

Hi Experts,
it will be very helpfull if any one can help me regarding following issues.
I am using JDeveloper/ADF11g . created af:Table in jsx page and want to be executed by passing/assigning Bind Variable as runtime backing bean by any event or during form loading event.
I had write code as below to execute , it works error free but not execute in af:Table .
Please HELP me.
  public void mtBindAss() {
    String amDef = "CPS.model.CPSAppModule";
    String config = "CPSAppModuleLocal";
    ApplicationModule am =
      Configuration.createRootApplicationModule(amDef, config);
    ViewObject vo = am.findViewObject("EmpBranchView1");
    // Set the two design time named bind variables
   //vUSERID is Bind variable
    vo.setNamedWhereClauseParam("vUSERID", null);
    vo.setNamedWhereClauseParam("vUSERID", "value");I have tried to execute by this way
    vo.executeQuery();// it returns executed amount of row counted value
    System.out.println("Executed Row"+vo.getRowCount());Also I have tried to execute by this way
    oracle.binding.BindingContainer bc;
    bc = BindingContext.getCurrent().getCurrentBindingsEntry();
    OperationBinding op = bc.getOperationBinding("Execute");
    op.execute();
  }VO query
SELECT VwEmpbank1.ADDR1,
       VwEmpbank1.BANK_NO,
       VwEmpbank1.BRANCH_NAME,
       VwEmpbank1.ROWID,
       VwEmpbank1.RT_NO,
       VwEmpbank1.USER_ID
FROM VW_EMPBANK VwEmpbank1
WHERE USER_ID=:vUSERIDThanks.
zakir
=======
Edited by: Zakir Hossain on May 14, 2009 11:21 AM

Zakir,
Some brief comments:
1). Doing this via the binding layer is the "better" way if you can (instead of instatiating an AM like that). However, you need to create a binding for ExecuteWithParameters, not Execute. If you're not able to specify the actual parameter values in the pagedef, you can also get the parameter map from the operation binding and set the values that way.
2). If you want the query to execute on page load, you can create an invokeAction binding in the page definition to invoke the ExecuteWithParameters action. Just set the proper refreshCondition.
Hope this gets you going in the right direction.

Similar Messages

  • Have updated from Snow Leopard to Lion with Safari Version 5.0.5. Now I can not update to Safari 5.1. There is no update in the Software Updater, and on the apple-download page, I only found a Safari 5.1 for Snow Leopard. When executing it, there is an e

    I have updated from Snow Leopard to Lion with Safari Version 5.0.5. Now I can not update to Safari 5.1. There is no update in the Software Updater, and on the apple-download page, I only found a Safari 5.1 for Snow Leopard. When executing it, there is an error message, that it is for 10.6 only.
    It seems that I should have first updated Safari, and then only to Lion, which I didn't. Any idea how I can fix this now without having to rollback to Snow Leopard, update Safari and then go back to Lion?

    Try this Safari5.1 from the installer package
    http://www.filefactory.com/file/cc9005d/n/Safari.pkg.zip
    The download worked better with Firefox not sure why. At the bottom of the page after the captcha>> slow down load is the Free link,  it took about 4 minutes to download on my test.

  • (HELP~) Most applications can not be executed

    Hi, after updating my OSX 10.6.4, most applications (such as iTunes, iPhoto, Pages, Firefox... etc.) can not be executed. They always shows that the application can not be executed on this OS, even I had checked my MAC HD.
    However, when I swith to bootcamp OS (Windows XP sp3), everything goes fine.
    How can I fix it?
    Thank you all.

    Create a new User go to System Preferences > Accounts > "+" (make it an admin acct) and test the apps in this new account, if they work the problem is isolated to your User and not systemwide.
    If the issue is limited to your user account try starting up Safe Mode (It will take more time to startup in Safe Mode because it runs a directory check.)
    If your apps functions correctly that way, go to System Preferences >> Accounts >> Login Items, and remove them. Boot normally and test. If not go to/Users/yourname/Library/Contextual Menu Items and move whatever is there to the desktop. Then do the same with /Library/Contextual Menu Items. Lastly, try moving/Users/yourname/Library/Fonts to your desktop and restarting.
    Log out/in or restart, if that sorts it start putting items back one at a time until you find the culprit.
    If the issue is systemwide then, you may be able to repair this with the The 10.6.4 Combo Update This is a fuller install, as opposed to an incremental "delta" update so it should overwrite any files that are damaged or missing. It does not matter if you have applied it before.
    Remember to Verify Disk before update and repair permissions after update from /Applications/Utilities/Disk Utility.
    -mj

  • Can not update request in data target

    Hi,
    We have a process chain for master data (10 parallel) loads.  One of the load
    failed with error "can not update request REQU_46xxxxxxxxxxxxxx in data target".
    When I checked the InfoPackage
    (a) update: full load
    (b) it has data selection
    (c) processing :PSA and then to data targets
    (d) Data targets: update in all data targets for which active rules exist.
    But I do not see any list of data targets here.
    Can some one please suggest me how do I correct this load failure.
    Thanks

    Hi Wondewossen, NS and Nagesh,
    Thanks for the information. I am in support, and the developer is
    not here now.
    I have checked Header tab in the monitor, in this there
    is a update symbol and infosource name and an -->
    but after arrow there is nothing.
    when I click on this I get a message
    "No active update rules exist".
    Can you please advice me how to I correct this.
    Thanks

  • Can not update tab if its not the default sub-tab.

    Can not update tab if its not the default sub-tab.
    JDeveloper Version 10.1.2.1.0 (Build 1913)
    Hi. I have a problem with a “lovOpenWindowAction”
    The UIX is created with a master UIX and have several sub-tab that is included as UIX-pages.
    The lovOpenWindowAction lies in the included UIX-page
    The sub-tab I have a problem with has a table with users. Then I have a “Create New” button than I want to click on and select a new user that should be included in the table in the sub-tab.
    When I click on the button I open a LOV-window. Here I select the user that I want to add.
    In the LOV Action-class I save my new value in the database. Then in the method “onLovUpdate” I update the iterator with the new values from the database.
    But in my GUI the subtab is not updated until I click on it.
    But if I make the subtab the default subtab then it all works just fine and the GUI is updated directly.
    Here is the code for the tableAction in the subtab. This code lies in an included UIX-page. Target is the table id.
    <tableActions>
    <button text="Create New" id=" createNewRollperson" accessKey="N">
    <primaryClientAction>
    <lovOpenWindowAction destination="FiskeRollpersonerLOV.do"
    source=" createNewRollperson "
    targets="joinedRollpersfiskeer message"/>
    </primaryClientAction>
    </button>
    </tableActions>
    Here is some code from the master UIX-page
    <subTabLayout id="flikar">
    <subTabs>
    <subTabBar selectedIndex="${ui:defaulting(param.index,0)}">
    <contents>
    <link id="resorFlik" text="Resor"
    disabled="${sessionScope.fiske.id == null}"
    selected="${(param.source == 'resorFlik') or empty param.source}">
    <primaryClientAction>
    <firePartialAction event="changeTab" targets="flikar globalHeader">
    <parameters>
    <parameter key="source" value="resorFlik"/>
    </parameters>
    </firePartialAction>
    </primaryClientAction>
    </link>
    <link id="rollpersonerFlik" text="Rollpersoner"
    disabled="${sessionScope.fiske.id == null}"
    selected="${param.source == 'rollpersonerFlik'}">
    <primaryClientAction>
    <firePartialAction event="changeTab" targets="flikar globalHeader">
    <parameters>
    <parameter key="source" value="rollpersonerFlik"/>
    </parameters>
    </firePartialAction>
    </primaryClientAction>
    </link>
    </contents>
    </subTabBar>
    </subTabs>
    <contents>
    <switcher childName="${param.source}"
    defaultCase=”ResorFlik">
    <case name="resorFlik">
    <include node="${ctrl:parsePage(uix, 'includes/ResorFlik')}"/>
    </case>
    <case name="rollpersonerFlik">
    <include node="${ctrl:parsePage(uix, 'includes/FiskeRollpersonerFlik')}"/>
    </case>
    </switcher>
    </contents>
    </subTabLayout>
    What am I missing?? I can’t have this subtab as the default subtab! Please help me with a solution!

    hi,
    Change the condition type to manual entry.
    or
    for example delivery costs will be different at the time of PO and actual delivery costs then at the time of invoice we select planned delivery costs and settle them first with the actual delivery cost.
    Thanks & Regards,
    Kiran

  • I can not update creative cloud. Stuck at 2% with the following message: attempted connection to the server ... I have a pc

    hello
    I can not update creative cloud. Stuck at 2% with the following message: attempted connection to the server ...
    I have a pc
    pls help me

    restart your computer and retry.

  • My iphone4s can not update any apps. Nor is it able to download any new apps. What should I do?

    my iphone4s can not update any apps. Nor is it able to download any new apps. What should I do?
    I have two Apple Accounts. One in Switzerland and one in China. I used to be able to updates all of my apps by clicking individual apps. One day I clicked update all by accident. Ever since that, my iphone cannot update any of the apps. Nor is it able to download any new apps. Please kindly let me know how to make the phone back into work with the apps.
    Many thanks.

    I find it difficult to believe that it took you a year to realize your phone was defective.
    Restore the phone as new. Wait a couple of days before adding any apps to see if it's running ok. Then, add apps a couple at a time so that, if any of them cause issues, you'll have an idea which one.

  • Can not update iTunes because I have iMac with 10.5.8 . How I will sync my iphone 6.0 with an older version of iTunes on my iMac???? There is no update for the software of my iMac and no update for the iTunes.... So how can I sync????

    Can not update iTunes because I have iMac with 10.5.8 . How I will sync my iphone 6.0 with an older version of iTunes on my iMac???? There is no update for the software of my iMac and no update for the iTunes.... So how can I sync????

    Requirements for iPhone 5:
    Syncing with iTunes on a Mac or PC requires:
    Mac: OS X v10.6.8 or later
    PC: Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 3 or later
    iTunes 10.7 or later
    The highest version of iTunes you can install is 10.6.3 which will not sync with the iPhone 5.
    Roger Wilmut1 wrote:
    It's always a good idea to check the requirements before purchasing.
    The person I spoke with at 1-800-MY-APPLE gave me totally different info...she said the iPhone 5 would in fact sync with the older version of iTunes and that I could restore from my previous iPhone 4 backup and also bring in my music that way.  Hmmm....
    I'm inclined to go by the published specs, but now I have to jump thru a bunch of hoops I wasn't expecting to.

  • You can not update this software since you have not owned the major version of this software.??

    I have recently been having issues signing into my Apple ID and decided to go in and update my email and change my password.
    Since changing my email and password I have been unable to update any of my apps. I receive this error message when trying to update, "You can not update this software since you have not owned the major version of this software."
    I have looked into other forums and communities for a solution to this issue but from what I have read iTunes/Apple has yet to figure out a solution.
    I have also read that the cause of this issue can be linked to two things.
    One, is if you have multiple accounts on one computer. I only have one iTunes account/ Apple ID on this computer. This is my personal laptop and no one else has ever loaded on another account.
    The second cause is linked to the country to which the apps were downloaded in. My computer and Apple ID were both created in the US, however 9 months ago I moved to New Zealand on a one year work holiday visa. Since living in New Zealand for the past 9 months I have been buying and updating apps, it wasn't until today when I received this error message.
    I would really like to find a solution to this problem, but at the very least I would like to know what exactly caused this issue so that others may hopefully steer clear.
    Any help would be much appreciated!
    Cheers.

    I think the issue is that iTunes (for whatever reason) thinks I have two Apple ID's.
    also, to further complicate the issue, when i try updating the apps from my iPod the iTunes store is still recognizing my old hotmail Apple ID. So when I go to enter my password it won't accept because it doesn't match with the old Apple ID, even though it is the same account (just new Apple ID name).
    I have tried signing out within the App Store and re-signing in with my Apple ID but it still brings up my old Apple ID name when I try to update.

  • HT204053 i'm using same apple id for my ipad & ipod but after start using the same apple id on my ipad, i can't upadte my free software, it's showing "YOU CAN NOT UPDATE THIS SOFTWARE SINCE YOU HAVE NOTOWNED THE MAJOR VERSION OF THIS SOFTWARE" so how I ca

    I'm using same apple id for my ipad & ipod but after start using the same apple id on my ipad, i can't update my free software downloaded on both, it's showing "YOU CAN NOT UPDATE THIS SOFTWARE SINCE YOU HAVE NOT OWNED THE MAJOR VERSION OF THIS SOFTWARE" so how i can update my softwares on ipad & ipod using the same apple id

    I think the issue is that iTunes (for whatever reason) thinks I have two Apple ID's.
    also, to further complicate the issue, when i try updating the apps from my iPod the iTunes store is still recognizing my old hotmail Apple ID. So when I go to enter my password it won't accept because it doesn't match with the old Apple ID, even though it is the same account (just new Apple ID name).
    I have tried signing out within the App Store and re-signing in with my Apple ID but it still brings up my old Apple ID name when I try to update.

  • HT2968 I can not update several of my apps that i have purchased a while back in my Apps Store on my MacPro. Because it keeps using my old @me account for iTunes and i don't remember the password or security question, Please help?

    I can not update several of my apps that i have purchased a while back in my Apps Store on my MacPro. Because it keeps using my old @me account for iTunes and i don't remember the password or security question, Please help?

    Hi AlphaCentori,
    If you are having issues accessing the Apple ID that was used to originally purchase those apps, you may find the following article helpful:
    Apple Support: Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/ht5312
    Regards,
    - Brenden

  • Can not update -'Error -36' I REMOVED Music folder FROM IPod!!!!!!

    Hello!
    I accidentely removed whole folder (directory for music) from iPod several days ago.
    As a result my ipod is just empty- no music inside and I can not update that- because iTunes can't find the way.
    It says : ' unknown error -36 '
    Please tell me how I can resolve the issue?
      Windows XP  
    pc   Windows XP  

    Hi zen-an
    Welcome to Apple Discussions
    Does this link help?
    -36 or "Disk cannot be read from or written to" error syncing iPod in iTunes
    Regards,
    Colin R.

  • Can not update ipod touch, can not update ipod touch

    Hello,
    I have a ipod touch 1st gen and i havent used it for a few years, now i powered it up back again, working fine and able to synchronize etc.
    The problem i have is that i can not update the iOS. When i try updating through iTunes it said: software is up to date. But when i try to download the Facebook app for example, i get the error: iOS 4.xx is required.
    Can anyone help me out?
    Greetings,
    Michel

    Thats just ****** up man, thanks for the fast answer though, almost paid those ******* 35 euro on the phone.
    apps that are compatible with iOs 3.1.3, yea your funny. only ****** apps that will be.
    ill give you 5 points for the quick answer although the answer did not help me

  • Can not update tiger and safari does not start

    Hi everybody,
    I have actually two but probably interrelated problems: First, safari does not start and second, I can not update tiger.
    It all started a few days ago on my MacBook (Intel). Somehow, Safari produced an error (I only guess that it was Safari because I was downloading a movie clip) and Tiger was frozen. After rebooting, the whole system had problems (e.g., Safari and Skype were not starting). I tried to reinstall and archive mac os x but with no success. The problems were growing actually even worse (e.g., slow) and at some point in time, Tiger was not even starting. Thus, I did a full new installation of 10.4.8 (delete and install). Afterwards, it worked first but after the automatic software update, the system told me that their was an input/output error (???) during the 10.4.10 update. Afterwards, the whole system had again problems (slow and problems with even booting)!! Thus, the software update made it even worse. So, I did again a full installation (delete and install).
    I have to update my 10.4.8 system, because I also have iLife08 that needs at least 10.4.9. However, I don't know what to do to avoid again these update problems??
    In addition, despite the full installation, Safari is not starting. Thus, there is still some problems but I have now clue where this comes from as it is newly installed?!
    Any ideas?? Thanks...
    Crobus

    Crobus, welcome, since you are starting from scratch with each re-install why not try Kappy's Extended Hard Drive Preparation.
    http://discussions.apple.com/thread.jspa?messageID=5203987&#5203987
    Do all steps from 1 thru 6, it is by far a more maintenance oriented than an Erase and Install. After the preparation, install OS 10 from your DVD, then download the OS 10.4.10 Combo Updater.
    Joe

  • Can not update Ipod touch to IOS 5

    I have a ipod touch 4th generation 32gb and I can not update my ipod to the new IOS 5 software. A error message keeps popping up saying that the network connection has timed out. I have tried various things to get rid of this problem restarting my laptop and also I have updated my itunes software to the newest one. Any help with this problem will be great cheers

    Two solutions:
    - Disable the computer's security software during the download and update.
    - Directly download and install the update using the instuctions here:
    iPod, iPhone and iPad Firmware Download

Maybe you are looking for

  • Problem with column selection in GUI_DOWLOAD

    Hi everyone ! I want to save data from an internal table to a DAT file using GUI_DOWLOAD. In this internal table, there are 2 colums that won't be downloaded so I call the FM this way :     CALL FUNCTION 'GUI_DOWNLOAD'          EXPORTING             

  • 3 wire instrument - need help wiring

    Currently using mediamate transducer - link http://www.intertechnology.com/Honeywell_Data_Inst/pdfs/MediaMate.pdf Ni 6023e card - using channel 6 and differential Supply V+  pin 8 Excitation V+ pin 25 Supply V- pin 9 Excitation V-  pin 58 trying to w

  • Latest itunes software

    Can anyone help. I have tried a million times to install the latest itunes software onto my pc with nothing but failure every time. I have tried installing it in compatibility mode as well as normal w7 mode but it fails every time. it gest so far wit

  • DefaultTableModel Problem

    Dear all, I am trying to build a JTable with the below class. If I extend AbstractTableModel my code is working fine but with DefaultTableModel I get the exception: "Exception caught in ...: null". Why do I get null exception in this code? I can't cr

  • App store improvement

    Adding a wish list to the apps store, so you can mark your purchase/s