AF:Query  Reset when mode changes from Advanced to Basic

Hi,
Can you please suggest how i can reset the af:query when i toggle from Advanced to Basic.
The Problem is : User goes to Advanced tab and selects "NOT IN" and searches for the data..
Now he switch backs to Basic Mode.. though it doesn't show the "Prefix "NOT IN" it still searches with the clause "NOT IN" . Basically user needs to reset and then start searching in "Basic" mode.
Please suggest.

Hi,
When i try to programmatically reset the table, it does reset it but the problem is after resetting if enter a search criteria and click on search again, nothing shows up.
If i do a search before clicking on reset, it works fine, but afer reset the search stops working??
Any idea why this could be happening?
Following is teh reset code which i am refereing
    if(QueryOperationEvent.Operation.RESET.equals(queryOperationEvent.getOperation())){
      AppModuleImpl am = this.getAm();
      ViewObject submittalVO = am.findViewObject("AcrSubmittallogView1");
       submittalVO.setNamedWhereClauseParam("bind_date", "");
       submittalVO.executeQuery();
       AdfFacesContext.getCurrentInstance().addPartialTarget(resId1);
    queryOperationEvent.getComponent().processUpdates(FacesContext.getCurrentInstance()); 
on the jspx page, have added the following code in af:query component
  <af:query id="qryId1" headerText="Search" disclosed="true"
                              value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
                              model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
                              queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
                              *queryOperationListener="#{backingBeanScope.backing_SubmittalLog.resetListener}"*
                              binding="#{backingBeanScope.backing_SubmittalLog.q1}"
                              resultComponentId="::resId1"
                              saveQueryMode="hidden" />Thanks
ashvini

Similar Messages

  • Running Total does not reset when group changes

    I have a manual running total for group3 that does not reset for group2
    Group2 Header (Order Status 3=Open,4=Closed)
    WhilePrintingRecords;
    currencyVar WIP=0;
    Group3 footer (Order Number)
    WhilePrintingRecords;
    currencyVar  WIP;
    WIP := WIP + {@NETWIP}
    Group2 footer
    WhilePrintingRecords;
    currencyVar WIP;
    There are no Repeat Group header on any of the groups
    Will add Group1 total when this part works.

    I am not sure if you made a typo when making your post but you are missing a colon when resetting your variable
    change from this
    currencyVar WIP=0;
    to this
    currencyVar WIP:=0;

  • After doing a Foxfire update this morning, I now get a second icon on my tool bar when I change from news to gmail?

    After accepting an update this morning from Mozilla, I now get a second icon on my bottom toolbar when I change from either news to gmail or from gmail to news. I tried restarting my computer but it still does it.

    Thankyou mccashin:
    I checked the home page assignment in preferences and found that the errant site had been appended to the normal (google) home page address. Incidentally, I had basically solve the problem within a session by erasing all history related to bbc. Without your fix I would been back to the same error next time I started Firefox from scratch. Thanks again.

  • I changed my Adobe user ID when we changed from Windows PC to Mac and now I am unable to read previously downloaded ebooks on my Sony Reader device due to Digital Rights Management.  Can I resolve this?

    I changed my Adobe user ID when we changed from Windows PC to Mac and now I am unable to read previously downloaded ebooks on my Sony Reader device due to Digital Rights Management.  Any ideas how I can get access to these now?

    Hi Blotontheland,
    Thanks for the prompt reply. The interesting thing is that my Macbook Pro was upgraded today to Yosemite and I still have the spinning wheel on the start up screen before the login page comes up.

  • I cannot get subtitles on my new smart tv. I've read all the solutions online and none of them work. When I try to airplay the BBC i player by mirroring my iphone 4 the subtitles disappear when I change from iphone to appletv.

    I cannot get subtitles on my new smart tv. I've read all the solutions online and none of them work. When I try to airplay the BBC i player by mirroring my iphone 4 the subtitles disappear when I change from iphone to apple tv.

    That's because the BBC iPlayer app uses basic AirPlay to show the content, this means the original content is sent to the Apple TV for it to decode rather than mirroring the screen of the iPad where the subtitles are added.

  • Time Quotas Updation when EE change from one grp to another group

    Hi Experts,
    Actually I have Two Quotas "A and B " in my Project will be updated based on EE Subgrp on monthly bases
    when EE change EE subgrp in the mid of Month will new quota get generated or not ?
    if Yes, how the process of Quota Updation please let me konw.
    Thanks
    Sreeni

    Hi
    Please make your Question more clear and Try to generate absence Quota through the Tcode pt_qta00 in Test mode and check the result.
    Regards
    Suresh.V

  • InfoSpoke Extraction Mode change from Delta to Full?

    Hi,
    I am having one InfoSpoke having Extraction Mode: Delta.
    I am having one requirement from client that they need data from Same InfoSpoke with Extraction Mode: FULL from the period: 01.2007 to 04.2009.
    Can i change InfoSpoke Extraction Mode from Delta to Full directly in the existing InfoSpoke? Will it impact any thing?
    Please let me know.
    Best regards,
    Venkata

    Hi Venkat,
    It's better to create one more infospoke rather than changing the present Delta one.
    As you see it may remove the Delta marker and further it may cause problem in delta extraction from infospoke.
    Regards,
    Ravi Kanth

  • We lost our Music Library when we changed from Vista to W7.

    Recently had to change from Vista to W7 and when we downloaded a new iTunes, our Music Library wasn't there.  What am I doing wrong? 

    Actually, it won't in my case.
    On the external, I have them all saved in a folder called My Music (which contains some songs itself). There are hundreds of sub folders listed by Artist. Within those folders, are songs and also more folders with the Album title. Finally, within those album folders are the songs on that album.
    I tried to load the entire My Music into iTunes, and it only loaded the songs in the My Music folder. I assume you have to go to every folder (down to the lowest level) and import them one by one.
    I lose all of my playlists and ratings. They are still on my iPod - I wish there was a way to export those settings into a file, then repopulate iTunes - then use that file to re-organize my songs to the way they were.
    I had weeks of work invested in iTunes and music organization.

  • What Happens When You Change From Broadband to Fibre?

    Today I'm due to move from Broadband to Fibre......I have no idea when but understand Sky allow for the whole day. However, following complete loss of service (despite the chocolate fireguard green status that Sky were reporting online) caused by cut wires in the network I'm wondering if my current complete loss of service is due to the changeover or just another example of a failure NOT being flagged up because Sky have no staff to actually fall it.
    Can anyone please explain what they experienced when they moved from Sky Broadband to Sky Fibre?
    Thanks in advance.

    Its quite possible that your current downtime is down to the switch over as with Sky it can(and in most cases on here)take all day to activate(no idea why it takes so long with Sky when i moved to Plusnet i had only 15 minutes downtime).
    The only way to know for sure is to get in contact with Sky directly and ask the question.

  • Encore freezes when I change from DVD to blu ray

    When I open Encore, or link from Premier pro CS4, and change from DVD to blu ray Encore freezes completely. Not even alt - ctrl - del works.
    Everything works fine when making DVD's, the problem comes when trying to change to blu ray.
    Has anyone seen this problem, - what can I do?

    Welcome to the forum!
    Please search the forum for "Roxio fix".  Apply the pxengine patch and try again.
    -Jeff

  • Query read mode change from 'A'  to 'H'

    Dear All Experts,
           I'm new to optimization Project.  I got a task to change the Query read mode  from 'A' to 'H"  of some queries. I will change it by using T-code RSRT.
    My doubt is  in which system we will change the settings i.e., directly in Production system  or i have to change in Development system and then transportation to remaining systems?
    Is there any another option to do this other than RSRT.
            Requesting you all to  help me in this cleraly.
    Thanks in Advance.
    Regards,
    Ramesh Kumar

    Dear Experts,
            Thanks for your valuable information and my doubt is if I change the settings in Infoprovider level, then all the queries which were built on particular Infoprovider will get changed right?
    My task is to change the Query read mode of only some queries of Info Provider but not for all queries in Infoprovider.
    Thanks in advance for your valuable assistance.
    Regards,
    Ramesh-Kumar.

  • Treo 755p Resets When Opening Attachments from Email or Office Synch

    I am using documents to go.  When I try to open an attachment, it appears to download then when download is complete, it resets and I can't find the document.
    Any suggestions?

    Does it do it with every document?  If so, I'd try reinstalling the handheld programs.
    Open the Desktop version you have installed on your computer, then go up to Tool/Options/Reinstall Handheld programs.
    Next HotSync will transfer clean copies of all necessary files.
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • When currency changed from RMB, entry is lost in pricing condition of PO

    Hi all,
    I am facing a strange issue while creating a PO (SRM 5.0). When adding a new pricing condition for a line item, I try to change the currency from RMB to CNY. When this is done, the entire record is lost with all other values set to zero.
    I tried using the function module CONVERT_TO_LOCAL_CURRENCY and this works fine.
    What could be the possible reason as this happens only for this particular currency?
    Where do  I need to check further?
    Edited by: gayu_march on Nov 10, 2010 11:28 AM
    Edited by: gayu_march on Nov 10, 2010 11:29 AM

    Hi
    In the Access sequence maintain the Table sequence as exclusive for the Second access... This will ensure that if the Condition record is found it will adopt that.
    Please check if your PO Qulaifies for the Second access or not.
    Whether it is a third party Sales order & Check the Customer data & Country
    Thanks & Regards
    Kishore

  • When I change from automatic to manual ethernet from 100baseTX to 1000baseT I lose internet connection

    My iMac (21.5-inch, Late 2013) connection is automatically set at 100BaseTX.  I changed to manual (from automatic)  and selected 1000baseT setting in hardware settings.  Lost internet connection when I did so. Is it possible to do this?

    You can't magically change a slower connection into a faster one. That has to been done at the switch or the router.

  • Problems when I changed from POP3 to IMAP in Mail

    When using POP3 protocol on my Mac I was able to have a sound played to let me know when new mail came in.  Since I switched to IMAP protocol, I can't seem to make that happen.
    I am running Snow Leopard (10.6.8) and using the Mail program for our email.  I also have an iPhone and an iPad and saw that using the POP3 protocol, when I read/delete my mail on one of the devices I have to repeat the same actions on all of the devices to keep them in sync.  I was advised that using the IMAP protocol on all of the devices would keep the mail in sync on all of them, so I switched.  That's when the sound stopped playing for newly received email.
    I tried defining a rule that says play sound when specific conditions are met, but it is working counterintuitively (i.e. when I am sending a message but not when a new one comes in.)
    Clearly, I am missing something.  Is there a setting somewhere that allows me to have a sound played whenever a new piece of mail comes in?  Looking for the support of the community on this one.  Thanks in advance.

    You need to make sure you have the correct settings in the mail servers: incoming and outgoing. Make sure they are imap server settings and not POP servers. You will have to check them on all devices. If it's POP on the other devices, it will not sync with IMAP.

Maybe you are looking for

  • HIGH memory usage in Perf Counters but LOW by SQL components

    Hi all, Our SQL Server has the following specs: OS: Windows Server 2008 R2 Enterprise Edition SP1+Cumulative Updates RAM: 128GB SQL Server: 2012, Enterprise (SP2), Core-based Licensing (64-bit) Max Memory Setting: Limited to 123GB I used performance

  • Oracle BAM server doesn't start up

    Hi, I have a BAM server in a cluster and start up sometimes and not others. When started shuts down unexpectedly. Logs files doesn't show errors. ============================================================================================= startWebLo

  • Validations transport request

    Hi All I have created a validation, but I didn't got the transport request no. Please let me know how to transfer the transport the validation or how to create the transport reqest for my validation. Best regards Madhavi

  • Using Siri in the Uk

    I was wondering if you can change the settings on an IPhone 4s to be able to look for businesses, maps, and traffic in the united Kingdom as Siri keeps saying its only available in the us? Thanks Paige

  • Warehouse Mgmt Scan guns

    We are using warehouse management and using the scan guns to do the warehouse transactions. we have recently changed to the ITS technology for our mobile devices. . The issue is that now it is comparatively longer to complete the transactions. We hav