As Needed Not Working. Getting all rows on page open.

Using JDev 9.0.3.1 I have a simple viewObject that is flagged for retrieve data "As Needed" along with a Fetch size of 100 and Maximum Fetch = -1
I have a .uix page with selectable search parameters on top of the page and the VO on the second half of the page.
The problem: All data is retrieved and displayed when the page is openned. I tried all different settings for the VO but it still does this. I don't want any rows retrieved until the "Search" button is selected.
Any Idea? Is this a bug? Let me know.
Thanks for your time.

You can make use of an event named null to init you viewobject.In the event,
1.get the viewobject;
2.set the viewobject whereclause
In UIX:
<event name="null">
<bc4j:findRootAppModule name="VTbReceiveListView1AppModule">
<!-- establish the ViewObject scope -->
<bc4j:findViewObject name="VTbReceiveListView1">
<method class="propackage.ReceiveListAffirm" method="initReceiveList"/>
</bc4j:findViewObject>
</bc4j:findRootAppModule>
</event>
In Java code:
public static EventResult initReceiveList(
BajaContext context,
Page page,
PageEvent event) throws Throwable
String sWhere="";
ViewObject voThis = ServletBindingUtils.getViewObject(context);
if (voThis == null)
return null;
sWhere = ...;
voThis.setWhereClause(sWhere);
voThis.executeQuery();
EventResult result = new EventResult(page);
return result;

Similar Messages

  • My ipad2 suddenly not working at all. i can't open it, i mean to work on it. is it possible to fix it?

    please help to me to fix my ipad that is not working since yesterday.

    Try a reset:
    1. Hold the Sleep and Home button down (together)
    2. For about 10 seconds
    3. Until you see the Apple logo (very important)
    4. Ignore the red slider

  • After 04 months of purchase of iphone 5 the lock button is too hard. At times its not working at all. The phone has been purchased in USA now I'm not getting service in India. After all whats the point in spending so much amount without any service.

    After 04 months of purchase of iphone 5 the lock button is too hard. At times its not working at all. The phone has been purchased in USA now I'm not getting service in India. After all whats the point in spending so much amount without any service.

    The warranty says that Apple may restrict service of an iPhone to the country of sale, and any reliable salesperson will tell you that if you tell them that you plan to use the iPhone in another country. Such service restrictions are common with cellphones and are by no means limited to Apple's phones.
    Sorry, but if your iPhone requires service, you will need to send it to someone you know in the US who can get it serviced and then send it back to you.
    Regards.

  • Can I get rid of 36? It installed an update and now firefox does not work at all

    firefox 36 is seriously broken
    It updated on my computer and now does not work at all. I've tried all the suggestions and no help.....going back to IE

    Hi wskossack, I am sorry to hear that you are having problems with Firefox 36. I am also sorry that we have not been able to get that working for you yet.
    If what you really want is to uninstall Firefox we can do that. Of course I have to ask if you would be willing to let my help you to get the most up to date version of Firefox working. But, Firefox is all about the ability to customize. If you want we can install the last version of Firefox and you can use that until the next version comes out or while we work to get Firefox 36 working for you. I will try to cover every option in my reply.
    First I will cover uninstalling Firefox. If you want to look at the [[Uninstall Firefox from your computer|article click here]] this can be done in about 7 steps
    I would recommend that you completely uninstall Firefox and install it again. This will most likely fix any problems you have right now. Because you are asking how to do this I am going to assume that you have not tried this.
    If you have Vista or Windows 7:
    1) close any open Firefox windows.
    2) from the start menu click on control panel
    3) click on uninstall a program
    4) from this list chose Firefox
    5) click on uninstall (this is located turds the top)
    If the Uninstall Wizard does not run, you can start it manually by running helper.exe, which is located in one of these locations by default:
    (32-bit Windows) C:\Program Files\Mozilla Firefox\uninstall\helper.exe
    (64-bit Windows) C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe
    6) in the Firefox uninstall wizard click next and on the next page click uninstall then click finish
    7) to remove other files and folders that may not be removed by the uninstall, you must manually delete the Firefox installation folder, which is located in one of these locations by default:
    (32-bit Windows) C:\Program Files\Mozilla Firefox
    (64-bit Windows) C:\Program Files (x86)\Mozilla Firefox
    The uninstaller does not remove any user data such as history or bookmarks. To completely remove this data, you must manually delete the Firefox folder containing your user profile:
    Click the Windows Start button.
    Type %APPDATA% in the search field and press enter to open the hidden Roaming folder.
    Open the Mozilla folder
    Delete the Firefox folder.
    Now I am going to go over how to get the last version of Firefox installed on your computer. If you want to look at the [[Install an older version of Firefox|article click here]] . If you decide that this is what you want to do please look at the article for some impotent security information.
    Firefox 35.0.1 was the last version of Firefox and you can get it by [https://download-installer.cdn.mozilla.net/pub/firefox/releases/35.0.1/win32/en-US/Firefox%20Setup%2035.0.1.exe clicking here] . The link is also in the article. If you do this you will have to disable the auto update. To do this go to options, then go to advance. Under advance there will be a sub tab. You want to go to update. Then you can select to never check or to have it tell you when there is an update.
    So the only thing left is for me to help you with any problems you are having with Firefox 36. I hope you will give me a chance. In any case, if you need any more information or help with anything that I went over please let me know.

  • After my iphone4S update to 7.0.6, it have a problem that keep searching network then no service show on display. Can't call. I have try check sim card, reset network settings, and restore my iphone. Still not working at all. Need help please.

    After my iphone4S update to 7.0.6, it have a problem that keep searching network then no service show on display. Can't call. I have try check sim card, reset network settings, and restore my iphone. Still not working at all. Need help please.Urgent.TQ

    Izit software or hardware? Confuse:(
    Only can use wifi now.
    Any way thanks guys for ur suggestion:) amishcake and simes

  • I have just recently installed ios6 to my iPad 3 an iPhone 4 my iPhone works fine but my iPad is not working at all I can not get a response from it, it seemed to download an then install but did not reset and turn on and will not turn on HELP!! Withdrawa

    I have just recently installed ios6 to my iPad 3 an iPhone 4 my iPhone works fine but my iPad is not working at all I can not get a response from it, it seemed to download an then install but did not reset and turn on and will not turn on HELP!! Withdrawal or what!! Lol

    Hi there,
    Firstly, try a hard reset. Hold the sleep/wake and home buttons together until the Apple logo appears.
    If this doesn't work, try restoring your device. Put it in recovery mode if iTunes doesn't recognise it, and restore it from there. I have linked to instructions below.
    Recovery Mode and Restore - Apple
    Let me know if this helps,
    Nathan

  • My ipod is not working at all when i plug it into my laptop i get an itunes sign and below that plugin sign

    My ipod is not working at all when i plug it into my laptop i get an itunes sign and below that plugin sign also it says new software found however it first asks me to install the software disc which i dont have it with me now can you plz check for the same and reply asap...please thanks.

    The link I and Ingo provided included:
    1. Remove iTunes and related components from the Control Panel
    Use the Control Panel to uninstall iTunes and related software components in the following order and then restart your computer:
    iTunes
    QuickTime
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Important: Uninstalling these components in a different order, or only uninstalling some of these components may have unintended affects.
    That is more than quicktime and iTunes.  Follow all the instruction in the link for removing and reinstalling the Apple software.

  • I have iOS7 on my iPhone4. I turned on the Voice Over option and now my phone is not working at all. At first it was freezing and not accepting any commands. Now all I have is a blank sceen. I can't get back into it. Any ideas what happened here?

    I have iOS7 on my iPhone4. I turned on the Voice Over option and now my phone is not working at all. At first it was freezing and not accepting any commands. Now all I have is a blank sceen. I can't get back into it. Any ideas what happened here?

    Hi Jeffny01,
    If your iPhone is not responding, you may find the following article helpful:
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Regards,
    - Brenden

  • My ipod classic got wet back in August.. it seemed to work fine for about a month, but recently is not working at all..screen appeared to get cloudy and then it just stopped working. thanks.

    my ipod classic got wet back in August.. it seemed to work fine for about a month, but recently is not working at all..screen appeared to get cloudy and then it just stopped working. thanks.

    Most likely, water damage.
    You can try putting your iPod in a tupperware, half filled (maybe half inch) with rice grains, close the cover for about a week.
    If you have done this, as soon as it got wet, higher chances of success, now looks like the water moisture is getting to the LCD screen.
    Then you can always bring it to Apple Genius bar, for a an overhaul. (may cost you half the price of a new iPod classic.)

  • After installing iOS6, my Maps are not working at all, anything i search it says "result not found" even after placing a pin and selecting "Direction to here" i get the same result not found. Very disappointed with the new iOS

    After installing iOS6, my Maps are not working at all, anything i search it says "result not found" even after placing a pin and selecting "Direction to here" i get the same result not found. Very disappointed with the new iOS.

    Have you run it in a debugger? That will show you exactly what is happening and why.

  • I need help!! I drop my iphone4s in the toilet and its been in rice since Saturday and it wont turn on. I plugged it in and it got really hot. Is my phone not working at all no more.

    I need help!! I drop my iphone4s in the toilet and its been in rice since Saturday and it wont turn on. I plugged it in and it got really hot. Is my phone not working at all no more.

    1lozano1 wrote:
    I need help!! I drop my iphone4s in the toilet and its been in rice since Saturday
    Should have waited at least 4 more days.
    See this -> Apple Service Answer Center - iPhone
    Out-of-Warranty Service
    If you own an iPhone that is ineligible for warranty service but is eligible for Out-of-Warranty (OOW) Service, Apple will service your iPhone for the Out-of-Warranty Service fee listed below.
    iPhone model
    Out-of-Warranty Service
    iPhone 5s, iPhone 5c,
    iPhone 5
    $269
    iPhone 4s
    $199
    iPhone 4, iPhone 3GS,
    iPhone 3G, Original iPhone
    $149
    A $6.95 shipping fee will be added if service is arranged through Apple and requires shipping. All fees are in U.S. dollars and are subject to local tax. When setting up out-of-warranty service, Apple will request credit card pre-authorization for the maximum service fee listed above.  This amount will be deducted from your credit limit. The final service fee we charge will be determined during testing and may be less than the service fee listed above.Certain damage is ineligible for out-of-warranty service, including catastrophic damage, such as the device separating into multiple pieces, and inoperability caused by unauthorized modifications. However, an iPhone that has failed due to contact with liquid may be eligible for out-of-warranty service.Apple reserves the right to determine whether or not your iPhone is eligible for Out-of-Warranty service. iPhones that are repaired or replaced have a 90-day limited hardware warranty or assume the remainder of your standard warranty or AppleCare product coverage, whichever is longer. Please see Apple's Repair Terms And Conditions for further details.

  • IPhone 4 Does not charge or get recognized by laptop and the home button does not work at all.

    The home button on my iPhone 4 does not work at all. Also, when i plug it in to charge, it does not charge at all, and it doesn't even say that it is connected. What will Apple do about this if i send it off? Will I get a replacement? All answers much appreciated.

    Buenas Matias,
    Si, pude solucionarlo hace unos dias, al final me arriesgue y compre el "dock connector", un juego de destornilladores para iPhone 4, lo desarme y lo cambie, y al toque empezo a cargar.
    No queria esperar semanas para el repuesto de iFixit asi que lo compre en MercadoLibre, estan 160 mangos, y si no te queres arriesgar a desarmarlo y cambiarlo vos, hay algunos que te hacen la instalacion tambien.
    Pero primero averigua bien que tengas el mismo problema que yo, o sea el dock connector sirve para lo q describi arriba. Si tenes otro sintoma te recomiendo que investigues porque capaz es otra cosa y terminas gastando un repuesto al pedo.
    Espero que te sirva.
    Saludos
    Gonzalo.

  • I fell in a lake with my I Phone in an Otter Box case, it work this morning but will not work now all I get is a white apple on the screen

    I fell in a lke with my iphine in an Otter Box case yesterday it workied this morning but it will not work now all I get is a white apple on the screen when it is pluged in to computer

    Yes, water and electronics do not mix. Water damage can get worse with time.
    You should've left it to fully dry out in a bag of rice for a few days, and hope that the water hasn't corroded any of the electronics inside.

  • Tried to run ios5 upgrade, get unkown error 0xE8000065 and now ipad does not work at all and is frozen can not even switch off

    tried to run ios5 upgrade, get unkown error 0xE8000065 and now ipad does not work at all and is frozen can not even switch off

    Try a hard reset and go from there. You might try a manual install (using DFU Mode), as outlined in the link below.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • HT1926 my itunes is not working at all, so I uninstalled it and reinstalled.  I get to the point where is says it is starting up and a messages box pops up and says "Service Apple Mobile Device failed to start.  Verifty that you have sufficient privileges

    my itunes is not working at all.  A message pops up to say that I may not have suffient privileges to start system services on my apple mobile device.
    I have uninstalled and reinstalled itunes but the same message still appears and itunes will not start.
    Any help would be appreciated!
    Thanks, mormick

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

Maybe you are looking for