Issue in disabling button and retaining search results of query bean

Hi,
I need help in 2 issues
1) I have a query bean and an advanced table attached to it. I have enabled table actions and put a button inside that. The requirement is the button should be enabled only if a record is present in the advanced table. If for a search parameter, no results are displayed in the advanced table, the button should remain disabled. The moment the results are populated in advanced table the button should be enabled. Please let me know how this can be achieved.
2) In the advanced table there is a column of type Link. On clicking this link i am forwarding the control to some other OAF page AA. I am retaining AM here. From this new OAF page AA user can move to some other OAF pages B or C. All these pages have different AM. There is a link called return to original page on page AA which takes user back to the search screen. When user goes to page AA and comes back to search screen without going to page B or C the search results are displayed on the page, but when user goes from page AA to page B or C and finally returns to the search screen, the data in search results along with search criteria are lost. The search screen is completely blank.
I need to display the search results/search criteria no matter what navigation user is doing. Is there a way i can save the search query that got executed on the click of search button. I can re-execute the query when user comes back on search screen.
Please let me know how to achieve these 2 functionalities.
Thanks,
VG
Edited by: VG on Sep 6, 2011 2:55 PM

For (1)
I guess you want to select single/multiple rows after the table is populated in table and perform an action using button.
If that is the case then do not put button under table actions. Instead put it under multiselection region. Then button only gets displayed when rows are populated.
If that is not the case then get a handle to button (use findChildRecursive, findIndexedChildRecursive may not work) and disable/enable it.
For (2).. If you are on r12 below can be useful :- (taken from 12.1 framework guide)
Using Search Persistence
In the past, if a user performed a search and then drilled down to a details page, search criteria was lost when
the user navigated back to the Search page, unless the developer retained the AM or created a custom
implementation to persist the search criteria. As of Release 12, developers no longer need a custom
implementation to persist search criteria, as the query region now has an automatic search persistence
mechanism in place.
Generally speaking, you should still retain the AM in favor of using the automatic search persistence
mechanism for performance optimization reasons. However, if retaining the AM presents a scalability issue
because the underlying view object (VO) had hundreds of attributes, then you should you turn off retainAM and
allow the query region to automatically handle all the search criteria binding and use the automatic search
persistence mechanism.
Note: If you retain the AM state, the automatic search persistence mechanism will not be active. The search
persistence mechanism is automatic only if the AM state is not retained.
When a user selects the Go button to initiate a search on the query region, the OAQueryBean automatically
caches the search criteria on the user session. After the user drills down to the detail page of the Search
results and then returns to the Search page, the OAQueryBean restores the search criteria from the cache and
re-executes the query using that saved critieria.
Note: Since the query is re-executed, any sort, navigation or transient UI state of the results table will not be
preserved. Saving the entire table state presents high overhead which is what this particular feature is trying to
avoid.

Similar Messages

  • Old contacts showing up in siri and text search results but not in contacts list.

    So what I did was this. I had mobile me, and iphone ocntacts as well as contacts on phone. After updating to IOS5, i had tripples of almost all my contacts (but not all). I converted my mobile me to icloud to discover i couldnt use that email under my new official icloud accoutn as my @me.com adress. So what i did was this. I deleted my old mobile me (now icloud account) compleatly from my phone, my iPad and my computer so there is no trace of it. I then went to my new iCloud account (that i will now use as my only icloud account. going to let the old mobile me one just die so i have 1 central spot for all my stuff).  Now all my contacts are gone. So to start fresh and just be done with the confusion, i go to www.icloud.com and manually (by hand) re type in all my contacts. I updated some info and changed some names (like nicknames and stuff like that to real names). Basiclly compleatly organizing my contacts and such to the way i want them. Getting rid of poeple i no longer talk to and such.  I did it, it syned and all was well. However now here is hte problem.
    If i go to spotlight search, or text search, or search with siri, or any type of search function, all of my old contacts are still there and viewable. All the ones i wanted to get rid of are all still there. However, if i go to contacts and look for thoes old contacts, they are not in the contact list (yes iv checked every "group" and also "all contacts" in groups).  What i want is to figure out how to get all of these old contacts compleatly deleated so they dont show up anywere on my phone. Especially with siri its making searches and auto calling more difficult because its finding two contacts sometimes that are the same person and asks me to distinguish instead of jsut calling.  CAn anybody help?
    Sorry for the wall of text, wanted to make sure to give as much info on the specifics as possible so hopefully i can get this resolved.  Is this a bug or something i did wrong? can i fix it or do i just have to wait for an update?
    P.S.
    Iv since upgraded to iphone 4S and still happening. Also this does NOT happen on my iPad. Only my iPhone.

    Talked to AppleCare for about an hour. After trying many steps: deleting contacts, re downloading from cloud, disabling Siri and re enabling, even Reset all Settings. Nothing worked. Ended up having to restore the phone via Erase All Content and Settings. That of course fixed it.
    Not sure what the issue was. I did have a Mobile Me account before the iCloud migration. For some reason, my contacts would appear in Contacts on the phone and in the cloud only once, but when using Siri it would list 2 or 3 duplicate contacts. Also after we deleted all the contacts on the phone, did an iPhone reset (Home and On/off buttons), my contacts list would show empty. Then I would click on Groups and poof all of a sudden duplicate or triplicate contacts would be in the contacts list.
    Very strange.

  • Search button not displaying search results

    I have created a page where you enter a string and click a search button and it will display the file that contains that string. It works on one page but not any of the other pages I have created. I went to dkubiceck page and copied the code for the search button there.
    This is the code I used to run the query to bring up the document information:
    select score(1) relevance, filename,transcript_id,
    dbms_lob.getlength("trans_document") "trans_document"
    from transcript_documents
    where contains (trans_document, :P20_SEARCH, 1) > 0
    order by 1 desc
    I can run the script in sql workshop and it returns information but I can't get the page to display anything so I think it has something to do with the search button. Does it have something to do with the button request. I have the request as go which is what the Oracle Text for APEX tutorial indicates. I am at a loss as to why it is working in one place and not in another. HELP!!!!!!!

    I used the Using Oracle Application Express to Build
    Oracle Text Web Applications An Oracle White Paper documentation to create this button. The instructions to create the button is below.
    http://www.oracle.com/technology/products/database/application_express/pdf/apex_text_application_v1.6.pdf
    To create a button to submit the search:
    1. Under Buttons, click the create icon ().
    2. For Region, select Search Terms(s).
    3. For Task, select Create a button displayed among this region’s items.
    4. For Button Name, enter P1_FIND.
    5. For Label, enter Find.
    6. For Button Style, select HTML Button.
    Run your page using the run page icon () and your development username and password. Your page should look similar to the following figure.
    This was the instructions to create the query region:
    To create a query region:
    1. Navigate back to the Page Definition for the Search page. You can do this by using the edit links at the bottom of the running page, Edit Page 1.
    2. Under Regions, click the create icon ().
    3. For Region Type, select Report.
    4. For Report Implementation, select SQL Report.
    5. For Title, enter Results.
    Using Oracle Application Express to Build Oracle Text Web Applications Page 9
    6. Enter the following SQL query:
    select score(1) relevance, doc_title, doc_url
    from htmldb_documentation
    where CONTAINS (doc_url, :P1_SEARCH, 1) > 0
    order by 1 desc
    7. For Display Conditions, for Condition Type, select Value of Item in Expression 1 is NOT NULL.
    8. For Expression 1, enter P1_SEARCH.
    This condition specifies to only display the Results region if a term is entered as a search criterion.
    Run the page and enter a search criterion for Term(s). Your results should look similar to the following figure.
    Figure 2.0
    The only thing I added to the query above is a dbms_doc.getlength statement to be able to open a link to the document.
    The first 2 times I created this on a page it worked just fine. But now no matter what conputer or schema or application I create this button in it won't display the results. I can admit that I have no experience creating a button with a different request than what comes up in the wizard. And the documentation that I found on creating buttons was of no help.
    I have not made any changes to anything in the wizard so can someone guide me as to how to create a button that will allow me to search a document using Oracle Text as described above

  • Issue with Clear widget and spotlight search.

    Why does the widget from Clear not work? All it does is show quotes from people. Why does it not show my list? (I assume that that is what it is supposed to do). 
    Also, every time I go into settings>general>Spotlight search, and try to turn on Spotlight Suggestions and Bing Web Results, they turn them selves off as soon as I leav that screen. How can I get them to stay on?

    Hi,
    For metadata, which metadata are you not seeing? Are they custom properties within the PDF, and have you checked if you have crawled properties matching these?
    I know there's issue with last modified on PDF's (http://sharepointfieldnotes.blogspot.no/2013/05/understanding-and-getting-sharepoint.html) 
    Thanks,
    Mikael Svenson
    Search Enthusiast - SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of Working with FAST Search Server 2010 for SharePoint

  • Podcast feed keywords and itunes search results

      my feed is http://jimlockwoodshow.libsyn.com/rss I have a list of 12 keywords in the feed. One keyword is Limbaugh. but, my podcast doesn’t come up as any of the results when searching under Limbaugh. none of my keywords work.                                     

    Hi Jim,
    Per Rogers comments above - when I checked your account there were no keywords entered for the Show (Channel) Level and Episode (Item) Level keywords.
    To enter in the Keywords for the show level - when you log into your libsyn account - click on the gears icon next to your artwork in the upper left.  Then enter your keywords / tags and click save.
    For Keywords for your episodes - you will need to go click Edit for each episode in the episode list and one episode at a time add in the keywords.
    If you put yourself into the "Advanced" editing mode - and then go to "Description" you will see the place for editing the keywords near the lower right.  Click on "Tags / Keyword" and enter you keywords in the box below and then click on Publish when you are done.
    Please note it may take up to a week for the changes to be reflected in search results in iTunes.  And even then search results are sorted based on the all time number of subscribers your show has in iTunes. 
    So to better place yourself in the search results you need to increase the number of subscribers you have via iTunes. 
    Good Luck,
    Rob Walch
    Libsyn

  • Endeca SearchAdjustments cartridge and Dimension Search Results cartridge

    Hi
    In Endeca Discover demo, if search word is 'codac'
    SearchAdjustments adjusts 'codac' to 'codec' (it doesn't adjusts to 'Kodac' )
    Dimension Search Results find 'Kodac' dimension.
    Can anyone explain each logic ? Where can I configure these behavior ?
    Regards

    You can find out details on the logic and configuration options in Chapter Five of the Advanced Developer's Guide here: http://docs.oracle.com/cd/E48636_01/Mdex.6412/pdf/AdvDevGuide.pdf .
    HTH
    Michael

  • Hide "search" in EP (the button and Advanced Search link)

    Hi,
    I need to hide field "search" (where button "Search" and "Advanced Search" link, after portal header).
    How to do it or where can I manage this settings?
    thanks.

    Hi,
    If you need to remove the search view from the Portal page then you can do the following.
    Go to Content Administration -> Portal Content -> Content Provided by SAP -> End User Content -> Standard Portal Users
    In this select the Default Framework page , open it.
    Select the Tool Area and click on properties.
    In the properties change the value to NO for Enable KM Search & Enable KM Search Advanced properties.
    This is the simplest way you can remove the whole search area.
    *There is one more way to remove the search *
    If you want to remove the whole search, you can achieve this just by changing the com.sap.portal.toolAreaiView property "Enable KM Search". Just set the Property to NO.
    If you want to remove only the search Button you have to edit the file "ToolAreaiView.jsp" from the PAR-File com.sap.portal.navigation.toolarea.par. Copy this file under your own namespace, unpack and remove the line:
    <td nowrap> <%=searchButtonTextStr%> </td>
    from the jsp-file. Redeploy this par file, create a new toolAreaiView based on the portal component in the PAR and integrate this iView in your frameworkpage.
    Unfortunately, it's not possible to do this using the Theme Editor.
    Regards,
    Nikhil

  • Disabling "Suggestions" and "Recent Searches" drop down?

    Hi! Does anyone know how to disable the "suggestions"/"recent searches" drop down that appears in Safari 4? I use Inquisitor and this is extreamly annoying. Thank you!

    Well, there is a way to do it, but it depends on how attached you are to your browsing history. that is, do you need to keep your browsing history, or not?

  • Flickr pages and Google search result pages are smaller

    When I go to a Flickr page or a Google search result page, the entire page is smaller. Content is the same, but the fonts and images are smaller.

    To start with, try pressing holding down Ctrl and then pressing 0 ( Zero). That will reset your zoom if you have zoomed out.

  • Using Powershell Script Run simple query in MS Access 2007 and export the results of query to Excel

    Hi Experts,
    I have a Access 2007 DB file and 2 Big tables inside that (bigger than the size that can be easily handled by MS Excel 2007).
    My requirement is automate using powershell scripts the below things.
    1. Create a SQL query in Access DB and save that in access DB
    2. Run the saved query and export the result in excel sheet where I can create the charts and Pivots. Thanks in advance
    Prajesh

    Do you have to use the Access query, couldn't you just recreate the query in Powershell?  Here's a link with good info that references an existing script for querying an Access database:
    http://blogs.technet.com/b/heyscriptingguy/archive/2009/08/13/hey-scripting-guy-can-i-query-a-microsoft-access-database-with-a-windows-powershell-script.aspx
    Once you have your dataset you can pipe it to
    Export-Csv -NoType c:\pathtofile\output.csv

  • My enter button and web search orb won't work only on my homepage. Works everywhere but there. We have Yahoo for a homepage. What should I do?

    We have the at&t/yahoo homepage fixed where we can check our other email account. On this page, I have just a color theme and all of the news items disabled. We have had this for three years now. Just a few days ago we noticed that when we use the search bar that is included in the middle of the page that the enter button won't work. I usually type and hit enter as opposed to clicking on the mouse button. I do have the search assistant on. I tried to disable that, but it didn't help. I have a couple of other search toolbars and they work fine with the keyboard. It's just convenient especially for my husband to have it this way. I have searched the internet for several days and have come close to what I thought would be the answer but nothing has worked yet. Most of the questions/answers were old anyway. It might not have anything to do with Firefox, I just didn't know where else to ask questions too.

    Also, when I go on to safari, another alert pops up that safari cannot verify the identity of the website, anything that I type in to as common as google.com. It gives me 3 options to either cancel, look at details, and continue. I've looked at the details of the website of Google and it is legitimate the site. Any help?

  • UltraSearch Results and normal Search Results

    Hello,
    i have the following problem:
    We crawl documents with the UltraSearch Crawler. For every document exist's a data-set (product name, firm etc.) this data-set is stored in an other table.
    If i search for the text in documents i need the data-set for every referenced document to show the complete data (doc url, product name, firm etc.) in a table.
    Currently i take the results from UltraSearch, insert them in a temporary table. Then i JOIN the two tables and get the final result. This solution has a performance problem ;-) It need the db operations: select, insert and select.
    Did anybody here know a better (faster) solution?
    Thanks i advance
    Klaus

    You need to be a bit more specific about your requirement and your environment. What kind of functionality does your  search need? Are you using enterprise search or FAST?
    1) Your sites should already include default search boxes at the top right corner.  If you need a search web part, you will need to create a web part page and add the search box or advanced search box (need a search center for advanced) onto the web
    part page. If you need to change the default search box layout on all pages, you can do that by editing the master pages.
    2) Are you asking for a specific query to be included in every search? You can can add a default appendded query using the search box web part properties. If you want to just have certain keywords show up at the top, you
    can set up Keyword Best Bets. For the filtering, you will need to use scopes. You can set the scope rules to include/exclude specific sites, folders, content sources or property queries. If you're using FAST, you will need to set the scopes
    up in the FAST Query app, not the FAST content app.
    You can create keyword best bets, scopes and change the search settings for the site collection by going to Root Site Settings > Site Collection Administration > Search Settings. Hope this helps. Again, we need more info to provide a more specific
    solution.

  • Accessing the internet, I can google and get search results but the screen stays dark and doesn't load, accessing the internet, I can google and get search results but the screen stays dark and doesn't load

    what is the problem when the screen goes dark and you cant' access the search items, also i find it strange that I can access you tube but can't access internet thru safari??

    Couple of things you could try : clearing your Safari cache (Settings > Safari > Clear Cache and also try Clear History). You could also try a reset : press and hold both the sleep and home buttons for about 10 seconds, after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • I can't open a website that I used to be able to open. I've tried to open it from my favourites bar and from search results. I can open the page from my MacBook.

    I can't open a webpage that I used to be able to open. I've tried to open it from my favorites bar and from a search. I have also entered the address and it still won't open. I can open the site on my iPad. I get a message saying that "Safari can't conect to server".

    Have you tried a different browser such as Firefox? Can you post the url so that we can see if we can open the site?
    Clinton

  • IWeb Portfolios and google search results

    I recently created a website for my business with a selection of portfolios showcasing work I had done.
    On of my clients had noticed that when they google their business one of my folio pages comes up with the following:
    back back. forward forward. back. download · thumbnails on thumbnails on · thumbnails off thumbnails off · play. previous previous. next next...
    I have also noticed that it does the same for another client folio.
    I would really like to change this so that google eventually read something like:
    Branding & design solutions for marketing communications. Is is possible to do within iWeb?

    With iWeb '08 you have the option to publish to a local folder to add tags and upload to MobileMe by drag and drop to Finder/Go/iDisk/My iDisk/Web/Sites.
    By doing this, you do lose some of the functions of iWeb as you will see in the Help files.
    There's a lot of good reasons why you shouldn't rely on MobileMe for a business site but, if you have to use it, you can still get search engine attention.
    You need to follow the steps in the section of iWeb for Musicians that I mentioned above and use your MobileMe URL to allow Google etc to get to your sitemap.
    Its also more or less essential to build your own navigation menu rather than use the default iWeb one.....
    http://www.iwebformusicians.com/WebMusic/Navigation.html
    .... and follow the guidelines to get your site to load on a PC running Internet Explorer .....
    http://www.iwebformusicians.com/WebMusic/iWebandInternetExplorer.html
    ... if you want most of the rest of the world to be able to see your website.

Maybe you are looking for

  • Error when downloading from iTunes Store

    I'm trying to download an album, and one of the tracks is a video. When that video tried to download, it gave an error 42003. It said to check network connectivity and try again. Did that, but still the error. What does this error mean? What can I do

  • Is it possible to create a multitiered numbered list using specific stiles for each level, such as in MS Word?

    I intended to write a long document, with sections and subsections, using Pages. The title of each section / subsection should be numbered, such as: 1. First Title (style: title 1) text text text 2. Second Title (style: title 1) more and more text   

  • Can I network mini to cube to share monitor?

    I have a Cube (450 MHz) with 15" Apple studio display. I have ordered a Mac mini and now realise that to use the studio display would need a rather large and relatively expensive DVI to ADC adapter. Is there any way I can network the two computers wh

  • How to transfer a Illustrator image to MS Word?

    In Illustrator 9 I could "Select all" then "copy" to put the image on the clipboard in a form that would allow me to paste it into Microsoft Word. Is it possible to do this using Illustrator CC?

  • Element adaptor dump

    Hi, We are facing a weird problem in the portal for a webdynpro ABAP application. When the user clicks on the applcation link in portal multiple times there is timeout error or a short dump for assert condition failed. This dump is triggered from the