ExecuteWithParams with URL parameter doesn't work

Hi!
There are a lot of posts about executing VO with parameters, but I'm still stuck on it. I have a VO with WHERE condition like this:
WHERE TABLE.ID = :IdParm
I want this binded variable to get populated in jspx page by parameter in URL. I've created a binding for ExecuteWithParams in my pageDef like this:
<action IterBinding="MyViewGIterator" id="ExecuteWithParams"
InstanceName="AppModuleDataControl.MyViewG"
DataControl="AppModuleDataControl" RequiresUpdateModel="true"
Action="95">
<NamedData NDName="IdParm" NDValue="${param.IdParm}"
NDType="java.lang.String"/>
</action>
and an executable on this:
<invokeAction Binds="ExecuteWithParams" id="callExecuteWithParams"
Refresh="ifNeeded"/>
so the executables in my pageDef look like this:
<executables>
<iterator id="MyViewGIterator" RangeSize="10"
Binds="MyViewG" DataControl="AppModuleDataControl"/>
<variableIterator id="variables">
<variable Name="parameterURL" Type="String"
DefaultValue="${param.IdParm}"/>
</variableIterator>
<invokeAction Binds="ExecuteWithParams" id="callExecuteWithParams"
Refresh="ifNeeded"/>
</executables>
I have a variableIterator that is binded on outputText control on my jspx just to test if parameter gets read correctly and it does.
What am I doing wrong that query doesn't execute correctly and I don't have any data on my page? I've also tried with refresh condition "Always" but it doesn't help.
Any help would be much appreciated.
BB
Message was edited by:
Brokenbone

Hi,
do the following:
- In the pageDef file (Executable section), create a "Parameter". The name of this parameter is up to you.
- the value of this parameter point to #{param.IdParm}
- In the ExecuteWithParam OperationBinding, select the agument item and select the NDVaue. Open the ExpressionLanguage editor and select the Parameter you just created
Here's a working pageDef file example:
<pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                version="10.1.3.41.57" id="RequestParamTestPageDef"
                Package="adf.testcases.view.pageDefs">
  <parameters>
    <parameter id="param1" value="#{param.param1}"/>
  </parameters>
  <executables>
    <iterator id="DepartmentsVOWithBindVar1Iterator" RangeSize="10"
              Binds="DepartmentsVOWithBindVar1"
              DataControl="AppModuleDataControl"/>
    <invokeAction id="executeDepartments" Binds="ExecuteWithParams"/>
  </executables>
  <bindings>
    <table id="DepartmentsVOWithBindVar1"
           IterBinding="DepartmentsVOWithBindVar1Iterator">
      <AttrNames>
        <Item Value="DepartmentId"/>
        <Item Value="DepartmentName"/>
        <Item Value="ManagerId"/>
        <Item Value="LocationId"/>
      </AttrNames>
    </table>
    <action IterBinding="DepartmentsVOWithBindVar1Iterator"
            id="ExecuteWithParams"
            InstanceName="AppModuleDataControl.DepartmentsVOWithBindVar1"
            DataControl="AppModuleDataControl" RequiresUpdateModel="true"
            Action="95">
      <NamedData NDName="deptId" NDValue="${bindings.param1}"
                 NDType="oracle.jbo.domain.Number"/>
    </action>
  </bindings>
</pageDefinition>Frank

Similar Messages

  • Filter Web Template with URL Cmd: doesn't work with compound infoobject ?

    Hello all,
    I've to filter the query contained on a web template with URL command, but it doesn't work.
    The web template contains only one query, and on the free chars I have 0PLANT.
    I call the web template adding to the normal url the following command:
    &FILTER_IOBJNM=0PLANT&FILTER_VALUE=33
    where 33 is the code of the plant I want to filter.
    The command is executed, I think, because the  result is "NO APPLICABLE DATA FOUND". The fact is that when I execute this query on the Bex filtering 0PLANT by value 33 the data exists.
    May be because 0PLANT on our system is in compound with 0SOURSYSTEM ? In this case, what's the value I can use as filter ?
    Thank's in advance,
    Max

    Hi,
    please see http://help.sap.com/saphelp_nw04/helpdata/en/59/edfe395dd76846e10000000a114084/frameset.htm
    especially:
    If the variant with ending 'EXT' is selected, the fully compounded value has to be entered in the external format, for example, 24.12.2000.
    If the ending 'EXT' is not used, the fully compounded value has to be entered in the internal format, for example, 20001224 for 24.12.2000.
    and
    In the internal display (see table below) you can easily determine the name of the characteristic and the filter value using the URL parameter &snippet_operations=%20 (see also Object Tag for the Properties of Web Templates). Call the Web application with this URL parameter. If you filter using the context menu, the parameters FILTER_IOBJNM and FILTER_VALUE are automatically added to the URL in the Web browser. You can then use the desired values with Command URLs in hyperlinks.
    Heike

  • ExecuteWithParams and URL parameter

    I am implementing a two pages scenario where the first page allows the user to select the Department ID from a menu, which gets passed to the second page via URL. The second page allows the user to refine the search on the employees within the selected department.
    I have created a View Object for the Employees table with bind parameter for the Department ID, and Following the guidance of an earlier post:
    ExecuteWithParams with URL parameter doesn't work
    managed to get the passed in Department ID URL to be used in the intial search.
    The problem is that this value is not retained on subsequent searches. Can someone help me on this?
    Please excuse if the question is trivial. I am new to JDeveloper. By the way, I am using ADF BC with JDeveloper 10.1.3

    Assuming that you are using JSF then instead of passing the parameter in the URL try passing it with the processScope scope.
    See: here

  • Why tethering with USB cable doesn't work after IOS6.0 update?

    why tethering with USB cable doesn't work after IOS 6.0 update?

    Try updating the carrier settings, if that doesn't do it try following along with this Apple doc -> iOS: Troubleshooting Personal Hotspot

  • ITunes 10.4 full screen with Win7-64bit doesn't work correctly.

    iTunes 10.4 full screen with Win7-64 doesn't work correctly. I have the Windows taskbar on the left side of my screen. Maximized iTunes is panned to the left.

    Same issue here. When the Windows taskbar is position on the top of the screen and then the iTunes windows is maximised, it's position is as if the Windows taskbar is at the bottom of the screen so the top of the iTunes window sits under the taskbar.
    For those wanting a workaround, hold shift and right click the iTunes icon in the taskbar/quick launch bar and click restore, at least then you can adjust it to be full screen manually.
    System:
    Windows 7 Ultimate x64
    iTunes 10.4
    ATI 5750 video card

  • URL blocking doesn't work on E4200

    I have the 1.0.03 firmware installed and URL blocking doesn't work.  I assigned the policy to the entire address range and could still access the web site I wanted to block.

    What website? https or http?
    You can't block https...

  • LAN with TCP/IP doesn't work

    Hello,
      I have a problem with my laptop IdeaPad S10e 4187-5PG: LAN with TCP/IP doesn't work, after I have updated all the drivers to the latest ones form the Lenovo site (except BIOS update). I tried to check if LAN worksby sending a ping to the IP address and that is OK, but when Isend a ping to the default gateway it failes. A ping to the DNS server also fails.Could you please help me because I tried everythinh and I can't getthe LAN to work.
    Thank you very much

    Perhaps you could describe you network in a little more detail.
    Is this a Workgroup home network or are you connected to a Domain server?
    If this is a workgroup are you connecting to the internet via a cable or DSL router?
    Do other computers on your network connect OK?
    Has your S10e ever worked properly on the network?
    Are you connecting via a wireless access point or LAN cable? 
    What do you Ping on and from where?
    Can you Ping OK on another networked computer?
    Open up a DOS Prompt (aka command prompt, DOS Box). and type IPCONFIG  /ALL <enter>. Do you get a compatible IP address and subnet mask? You should also get the gateway IP address.

  • Safari copy url button doesn't work

    I just upgraded from an ipad2 to an iPad air 2. Before, if I wanted to copy and paste a url I'd use the copy button. Now,on the new iPad air 2, the copy button just wipes out whatever I've previously copied, and doesn't copy the url.

    You tap and hold down in the URL field until you get the option to select all. Then you choose the option to select all. An option to Copy appears and you select that and then you should be able to paste that URL into a text field.
    Safari copy url button doesn't work
    I Realize that you must know the steps but I am just double checking. If that is not working for you, and you are not having copy and paste issues elsewhere in other apps, I would try clearing Safari, force close it and then reset your iPad.
    Go to Settings>Safari>Clear History and Website Data
    Now force close Safari. In order to close apps, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    Next, reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • In day 4, video # Creating "pages" with Flex states doesn't work

    i can't open video training http://www.adobe.com/devnet/flex/videotraining in day 4. it's name( Creating "pages" with Flex states ) doesn't work, it report error. supporter can look it and solve problem

    Hi,
         I'm also pacing the same issue. if click on the video in the Day 4 exercises. i don't know, what is the issue with that particular videos. and also pacing one more issue that design mode is not showing in my flash builder 4. if u have any ans plz help me out. PFA

  • Every Programme that it is opened with Adobe Reader doesn't work What Can I do ?

    Every Programme that it is opened with Adobe Reader doesn't work What Can I do ?

    More information please.
    Version of Reader? OS?  Can you open reader by double-clicking on its icon? Can you open reader by double-clicking on a pdf file? What programs are trying to open reader? Some programs might be restricting your ability to view pdf files using the Reader plug-in due to security concerns. If this is the case you need to find out how to enable the plug-in in the case of each application.

  • Comcast came to fix my internet. My AIRPORTWIFI now only works with desktop. it doesn't work with my IPhone or IPad. Why? What can I do?

    Comcast came to fix my internet. My AIRPORTWIFI now only works with desktop. it doesn't work with my IPhone or IPad. Why? What can I do?

    Hello lila54,
    It sounds like your Wi-Fi network is working if your desktop works with it, we just need to get the Wi-Fi on your iPhone and iPad connected to it.  I found a couple of resources to help with not being able to connect to Wi-Fi on an iOS device.
    I recommend following the steps in this tutorial first (the steps should work on the iPhone and iPad):
    Join a network
    http://www.apple.com/support/iphone/assistant/wifi/
    If you are still having trouble connecting to Wi-Fi, follow the steps in this article (you can skip any steps you have already taken):
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    Thank you for posting in the Apple Support Communities. 
    Best,
    Sheila M.

  • Pagination with url parameter?

    I have a page that displays the contents of a mysql database
    via a dynamic table.
    currently I have the recordset query set to filter the id by
    url parameter "catID".
    So page?catID=5 displays the contents of record id 5 of the
    mysql table.
    I am trying to add pagination to this page but do not know
    what I am doing :L
    I can use the wizard to place pagination if I remove the
    filter on the query, and happily page through all the
    records....however I want my cake and want to eat it to...so I
    really want to get the pagination working and still be able to use
    the url parameter function to pinpoint records.
    Thanks for your time and assistance.
    Saw

    Saw_duuhst wrote:
    > dreamweaver cs3, mysql, php
    Just make sure your recordset is filtering from the
    querystring and your
    pagination links should be inserting them too. In all the ASP
    pages I
    have made with pagination they always carry over the
    querystring.
    Dooza
    Posting Guidelines
    http://www.adobe.com/support/forums/guidelines.html
    How To Ask Smart Questions
    http://www.catb.org/esr/faqs/smart-questions.html

  • HT1688 The friend brought to me from the USA iphone 4. I can't use it at all. It with our operators doesn't work. I very much ask you help me to solve a problem.

    The friend brought to me a gift from the USA, and it doesn't work year. Our operators don't understand it. Help me to unblock iphone4
    <Edited by Host>

    This has nothing to do with iPhones in the Enterprise.
    Sounds like your friend is a bit dumb and bought a carrier locked iPhone.  The only way to address this is to contact the carrier to whom the device is locked and find out their unlock policy.
    Oh, and stop being dumb yourself, posting IMEI, serial numbers, and email addresses on a public forum is just plain stupid.

  • Forgot my adminpassword, i have tried the reboot with initial disk doesn't work i can't downlad anything, I am able to log on but the name and password to get in my computer doesn't work for admin password. i am about to give up any suggestions?macbook10

    forgot my adminpassword, i have tried the reboot with initial disk didn't work, i am able to get into my computer with name and password, but this same name and password doesn't work as an administrators password when i want to download or change things.
    do you have any suggestions? Im about to give up, i can't even access wireless have to use a dsl
    pretty sad

    ... this same name and password doesn't work as an administrators password when i want to download or change things.
    It's probably that your Keychain password is not the same as your login password. If you configured your computer to log you in automatically, you may not have used your login password in so long you forgot it.
    There is no way to retrieve the "login" Keychain password, but you can reset the Keychain from the Preferences menu: select it in the Keychain Access menu and select "Reset My Default Keychain". This will create a new, empty Keychain but the old one will be saved should you ever remember its password.
    The result of this is that you will have to supply passwords for everything that requires it, since without your Keychain they will no longer automatically fill themselves. However, once you supply them and store them in your new Keychain, they will be remembered.

  • Apple Keyboard with number pad doesn't work with Mac Pro?

    I have a Mac Pro, and have used an Apple Keyboard with a number pad (not bluetooth) with it for quite a while, with no problems. But then my keyboard broke and I ordered a replacement Apple Keyboard with a number pad (not bluetooth). This keyboard doesn't work with my Mac Pro. I have it plugged in, but I can't get the Mac Pro to consistently recognize that there is a USB keyboard connected to it. What magical stuff do I have to do to get the keyboard to be fit for purpose?

    It would not hurt to try an SMC Reset. (But if it does not help, it adds credence to lllaass assertion that the keyboard is not working.)
    Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support

Maybe you are looking for