UIX - Showing search page with no results as default

I modified the uix page to create a search page for a simple uix page according to the code give in the forum.
But this shows initially with results.
I want the results to be shown only when a search condition is given.

What u have said was exactly mentioned as a solution when I had searched the Forum.
Ok these were the steps I followed:-
1. A uix data page created (datapage1.uix) in Struts pagelayout.
2. Drag and Drop EmployeesView1 from datacontrol pallete.
3. Added the rendered property for the table in the source code.
<table rendered="${requestScope.showResults?true:false}" model="${bindings.EmployeesView1}" id="EmployeesView10" partialRenderMode="multiple" partialTargets="_uixState">
4. Then drag and drop textinput from component pallete for the search value and named it value
5. Drag and drop a submit button from componet pallete and named it Query also named an event query.
6. In the handeler for this event i added a go
7. also added a set in the source code for the handeler
<event name="query">
<compound>
<set target="requestScope" property="showResults" value="${true}"/>
<go name="query"/>
</compound>
</event>
8. Added a DataAction to which i added my method that was exposed to the client. The code for the method is :
public final void setCondition(String p_cond)
ViewObject empvo = findViewObject("EmployeesView1");
     //Creating a Where clause for the query
String whereclause = "LAST_NAME like '%"+ p_cond +"%'";
empvo.setWhereClause(whereclause);
empvo.executeQuery();
9. then I set the parameter value property in the stuts structure panel for the action top ${param.value}
10. When I run this page from struts pagelayout The initial display is only the testinput field and the button. After I feed the value and hit the button. The screen just blinks thats it. but no results shown.
Could some one tell me where have I gone wrong?
Need help! Urgent

Similar Messages

  • Tag Cloud to show search terms with zero results

    I have been following the blue print document that we have regarding our OEID system which is under development at present.
    We have a field called Search Terms which contains the text the user or the navigation has searched for. At present we have a tag cloud that shows the most popular. We also need to show the ones which are at the top of the "yeild zero results" list.
    Looking at the Tag Cloud component and after reading the documentation on the tag cloud, it would not seem possible to create an EQL query to do this. Therefore would I have to create a custom attribute when I'm parsing our raw data to do this, then be able to display the 30 or so most popular search terms that yeild zero results, or is there a better way of doing this?

    That issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • TS2756 I'm trying to connect my ipad2 to my phones wifi hotspot. my phone says hotspot is activated and it shows up as an option on my ipad but when i hit that on the ipad it shows a page with a list of things like ip address, domain, url. what do i do no

    I'm trying to connect my ipad2 to my phones wifi hotspot. my phone says hotspot is activated and it shows up as an option on my ipad but when i hit that on the ipad it shows a page with a list of things like ip address, domain, url. what do i do now?

    iOS: Understanding Personal Hotspot
    http://support.apple.com/kb/HT4517
    Use Bluetooth to tether your iPhone, iPod touch, or iPad
    http://www.macworld.com/article/1159258/bluetooth_tethering.html
    How to Connect an iPad to an iPhone Via Bluetooth Tethering
    http://techtips.salon.com/connect-ipad-iphone-via-bluetooth-tethering-25472.html
     Cheers, Tom

  • Null pointer exception in Search page with ADF

    Hi,
    I have an entity and view object for table1. I created one more viewobject for the same entity object. And the viewobject has the following query with a bind variable.
    select * from table1 where table1.value = :bindVar
    I added this view object into my application module. I dragged and dropped the 'ExecutewithParams' option into my jsp page. I was trying to run this page to atleast get the search field. But I am getting following exception.
    javax.faces.el.EvaluationException: java.lang.NullPointerException     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:190)     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)     at com.sun.faces.util.Util.evaluateVBExpression(Util.java:974)     at com.sun.faces.taglib.jsf_core.ConvertNumberTag.evaluateExpressions(ConvertNumberTag.java:256)     at com.sun.faces.taglib.jsf_core.ConvertNumberTag.createConverter(ConvertNumberTag.java:219)     at javax.faces.webapp.ConverterTag.doStartTag(ConverterTag.java:130)     at com.sun.faces.taglib.jsf_core.ConvertNumberTag.doStartTag(ConvertNumberTag.java:205)     at resources.jsp._CRSCF001._jspService(_CRSCF001.java:149)     [resources/jsp/CRSCF001.jsp]
    I tried the same search page with a new workspace. But it worked well.
    I am not able to figure out what went wrong with the application.
    Could anyone please help me with this issue?
    Thanks,
    Priya.S

    Hi,
    drag it as a parameter form and it should work as you expect it.
    Frank

  • Search Page with navigation

    Hello,
    I have a custom Portal Application that displays UCM-content using a Content Presenter Template.
    What type of approach should I use to create a keyword search page that will display links to the Content Presenter Template?
    Thank you!
    Mitch

    Alright, finished MovieLibrary V2 :)
    http://www.yonaweb.be/MovieLibrary_v2.zip
    This project is the same as the first MovieLibrary but i added a search page.
    Like you suggested, i used UCM for the data control of a table. I also bound an inputText to the keyword parameter of the search. This however is not working properly... I will look into this a bit further and see if i can make this to work.
    The result table shows the result. The last column contains a link which will link to the item.jspx page. item.jspx Contains the content presenter.
    First of all, i had to add an additional attribute to the data control because i needed the dDocName to pass it to my presenter. dDocName is not included in the DC by default so you need to add it. Just right click the UCM DC and press edit definition. Add an additional attribute so it points to the dDocName. I already done that in the project so when you edit the definition of the UCM DC, you will see the docname attribute added to the list.
    This is the goLink in the search.jspx that will provide the link to the item.jspx:
    <af:goLink destination="/faces/oracle/webcenter/portalapp/pages/item.jspx?dID=#{row.docname}" text="#{row.ID}"/>As you can see i just add the docname attribute to the URL so we can retreive this later.
    Because we are passing the dDocName to the URL, we need to use a managed bean to retreive it and pass it to the content presenter workflow.
    When you look at the parameters of the content presenter taskflow in item.jspx you will notice that the datasource is set to the managed bean itemBean.
    In itemBean I have following code to return the correct value:
    public String getDataSource(){
          FacesContext ctx = FacesContext.getCurrentInstance();
          String did = (String)ctx.getExternalContext().getRequestParameterMap().get("dID");
          System.out.println("dID: " + did);
          return "UCM#dDocName:" + did;
        }The format of the datasource field in the content presenter taskflow is
    <connectionName>#<filter>:<value>
    so in my case i use the connection with the name UCM and i want the content with the dDocName provided in the URL.
    This will result in something like
    UCM#dDocName:myName
    This is also the value you will see in the table with the link.
    I hope my explenation is a bit clear :)
    If not, just ask.
    Edited by: Yannick Ongena on Apr 14, 2011 10:19 AM

  • Search Page with TopLink + ADF Faces

    Hi,
    I develop a project with JDeveloper 10.1.3.1.0.3984 using Toplink and ADF Faces.
    I test with the embedded OC4J Server.
    I must search in a table with 100 000 rows.
    I follow the tutorial ADF Faces (Chapter 7) :
    http://www.oracle.com/technology/obe/ADF_tutorial_1013/10131/index.htm
    The search page contains a search form with the table of results.
    I add a Refresh Condition ${adfFacesContext.postback} that keeps the form from executing the query until the user clicks the search button. (Page 7-10)
    It works, but when I launch the search with some parameters, I have a "out of memory" exception, and the good results are displayed in the table.
    I activate the Toplink log, make a new research, and I see 2 sql requests.
    The first one had the default parameters "%" :
    select ... from company where name="%" and cp = "%" and town="%"
    The second one had the good parameters written in the search form :
    select ... from company where name="Uno%" and cp = "65000" and town="%"
    How to avoid the first sql request ?
    Thanks a lot for your help.
    Greetings
    PM

    Hi Shay,
    Thank for your response. I have followed your advice :
    Re: Search Page - Toplink - Double queries
    After several tests, I simplify the problem. I think that the problem doesn't come from Toplink but ADF lifecycle.
    1 - With JDeveloper, I create a simple named query with two parameters (Toplink).
    2 - After, I generate my facade EJB Session Class, add some debug ouputs to see the parameters in the search method and deactivate the code which call the named query (It was not nessary), and create a JSP page using ADF components.
    3 - I drag and drop the search method from the data control panel to the jsp page and create a parameter form.
    4- I run the application. The search page appears with the parameter form. There is no debug output. When I complete the search form and click on the search button, I see the parameter values in the log console. It's normal.
    5- Now, I drag and drop the collection from data control panel to the jsp page and create a ADF Read-Only Table.
    6- I complete Refresh condition :
    <methodIterator id="searchComp2Iter"
    Binds="searchComp2.result"
    DataControl="SessionEJBLocal" RangeSize="10"
    BeanClass="test.model"
    RefreshCondition="${adfFacesContext.postback &amp;&amp; ( bindings.argum1 != null) &amp;&amp; (bindings.argum2 != null) }"
    Refresh="ifNeeded"/>
    7- When I launch the application, There is no debug output. The refresh condition works.
    8- I fill parameters and I click on the search button. I obtain the log :
    07/01/03 11:21:49 TEST 2
    07/01/03 11:21:49 argum1 :null
    07/01/03 11:21:49 argum2 :null
    07/01/03 11:21:49 TEST 2
    07/01/03 11:21:49 argum1 :a
    07/01/03 11:21:49 argum2 :b
    The EJB Session search method is called twice. It's the problem. Why the first call?
    9- When I click a second time on the search button, the EJB Session search method is called once.
    07/01/03 11:22:03 TEST 2
    07/01/03 11:22:03 argum1 :a
    07/01/03 11:22:03 argum2 :b
    How can I have only one call in paragraph 8 ?
    Thank you for your help.
    P.M. MARTIN

  • Obiee 11g show title along with no results.

    I have a requirment to show no data when there are no results along with the report title at the top.In obiee 11g when i get the no results the title view is dissapearing.Is there any way were i can get both the title along with no results without going to CSS .

    852873 wrote:
    I have a requirment to show no data when there are no results along with the report title at the top.In obiee 11g when i get the no results the title view is dissapearing.Is there any way were i can get both the title along with no results without going to CSS .Check this out:
    http://docs.oracle.com/cd/E14571_01/bi.1111/e10544/analyses.htm#i1010759
    Click on the "Displaying the Results of Analyses" section and then scroll down to "Alerting Users to No Data in the Results of Analyses."
    In the Header field, you can enter the title of your report, then customize your message in the Message field.

  • Search page with Non-Mandatory Fields

    JDev 11.1.2.3.0 ADF BC
    I have a Search page that has 12 fields where Nothing is mandatory while inputting at least one(any of the fields) is mandatory. I am looking to reduce the code in this case, I don't want to use a Stored procedure or backing bean method to handle the if and else's. I would be excited to handle this at the Model part itself(Writing a proper SQL query or by means of bind variables/view criteria).
    Hope the use case is clear.

    You can use ViewCriteria with Validation property set to "Selectively Required"
    Dario

  • System Center 2012 Cfg Mgr SP1 CU3 - Some Reports show blank box with no results (perhaps where a graphic would be)

    Just migrated from SCCM 2007 to SCCM 2012 SP1 CU3.  All seems to be working fairly well but when I run certain reports (especially in the EndPoint Protection) I get blank reports with a box where possibly a graphic should be shown.  No error given.  An
    example would be the report named "Antimalware overall status and history".  It just shows several boxes with perhaps a small picture icon in the top left of the box.    This occurs on several different reports.  But I do
    have results with other reports.  Any ideas?
    I am on sql server 2012 (64 bit) on windows 2012 std.

    Check these links Pls
    http://social.technet.microsoft.com/Forums/en-US/4479e73e-8a19-4c7e-9418-b36770656b9b/sccm-2012-reporting-point-server-instance-blank?forum=configmanagergeneral
    http://www.windows-noob.com/forums/index.php?/topic/5791-sccm-2012-rtm-reports-give-no-results-for-hdd-space/
    Thanks, Prabha G

  • Find/Search app with hierarchical results?

    Anyone know of a search application that gives results in an hierarchical order?
    I know the most recent version of Find-Any-File does this, but unfortunately it is far too slow when thousands of files are involved.
    An excellent old app that I used many years ago with OS Classic was UltraFind... but unfortunately I have not seen anything comparable since.
    It would probably have to work with Spotlight in order to be quick.
    Does anyone know of such an application?
    TIA
    RonL

    Hi,
    You are trying to implement auto complete for a text input element. This can achieved best with the use of the JQueryUI autocomplete. Here's a complete tutorial to implement this JQuery function -    JQueryUI autocomplete full tutorial and demo
    This function can create suggestions based on the user's input. These suggestions can be a list of words you create or can be fetched from a database. You'll find source codes and demo also for all of this on the above link.
    Also, if you want a Facebook style suggestion drop down, try this - Search prediction based on user input
    But this does not allow keyboard navigation in the drop down. you would have to select using a mouse pointer 

  • MythWeb Shows Blank Page with Broken Icon Symbols.

    I having a problem getting MythWeb to work. I followed the Wiki carefully. I get prompted to login, but just get a blank page with two broken icon symbols. Apache access and error logs don't show any errors.
    Relevant part of mythweb.conf is:
    Alias /mythweb /var/lib/mythtv/mythweb
    <Directory "/var/lib/mythtv/mythweb">
    Options -All +FollowSymLinks +IncludesNoExec
    </Directory>
    <Directory "/var/lib/mythtv/mythweb" >
    I commented out the following php options as according to a MytTV Trac ticket they are no longer required and were filling my logs with errors. Uncommenting them again made no difference.
    # php_value safe_mode 0
    # php_value register_globals 0
    # php_value magic_quotes_gpc 0
    # php_value output_handler NULL

    I have since discovered that if I copy the “about” URL and paste it into a new tab, it works. But if I open anyrhing in a tab and then go to a reader view I see the blank screen.
    Again, Palemoon continues to work.
    Nexus 7 with Android 5.1

  • Rewrite a complete HTML page with all result inside with JSP

    i have generate a HTML page with JSP. Then by an action on a menu on the left frame,i have to rewrite this page with the data already seized, and more code inside(i.e complete the page).
    How can i do ?

    Use JavaScript to tell the other frame to reload or to go to another location. Generate the JavaScript if you're processing a request of the menu...

  • How to create URL link for telephone number ,open to account search page and account result page ?

    Hi Experts,
    Bussines role - ZCC_ICAGENT 
    If user open this bussiness role and open Account page ,user enter telephone number and enter search account ,then result will be displayed.Instead of 3 clicks ,user click direct URL link ,telephone number is parameter,account Search and account result  page will be opened direct link.
    So how to do it..could you please provide me step by step...what are the steps wee need to follow for creating URL ..how to do it..Please help..
    Thanks
    Kalpana

    Hi kalpana,
    You dont need to do any setting for this.
    Following URL will be used as per your requirement.
    http://rrnewcrm.ril.com:8000/sap(bD1lbiZjPTI0MiZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm
    ?sap-system-login-basic_auth=X&sap-system-login=onSessionQuery&saprole=ZCC_ICAGENT&
    sap-phoneno=9999999999
    Here parameter sap-phoneno will contain the number you want to search for.
    In component ICCMP_BP_SEARCH, go to view BuPaSearchB2B. write below code in its inbound plug IP_INBOUNDPLUG-
    DATA: lt_ivr_url_param TYPE tihttpnvp,
             ls_ivr_url_param TYPE ihttpnvp,
             lr_searchcustomer TYPE REF TO if_bol_bo_property_access,
             ls_searchcustomer TYPE crmt_bupa_il_header_search.
    CALL METHOD cl_crm_ui_session_manager=>get_initial_form_fields
           CHANGING
             cv_fields = lt_ivr_url_param.
    lr_searchcustomer ?= me->typed_context->searchcustomer->collection_wrapper->get_current( ).
         CHECK lr_searchcustomer IS BOUND.
    READ TABLE lt_ivr_url_param INTO ls_ivr_url_param WITH KEY name = 'sap-phoneno'.
    IF ls_ivr_url_param-value IS NOT INITIAL.
             ls_searchcustomer-telephone = ls_ivr_url_param-value.
       CALL METHOD lr_searchcustomer->set_properties( EXPORTING is_attributes = ls_searchcustomer ).
             eh_onsearch( ).
        ENDIF.
    Thanks & Regards
    Richa

  • Report viewer 2010 show blank page (with params loaded)

    Hi, 
    I have an infrastructure RS with a web server with an ASP.NET application with Report Viewer and a second server with an installation of RS 2008 R2. 
    My web application (ASP.NET in C #) uses the ReportViewer 2010 component to show the report. 
    I use windows authentication and log onto the Web Service on Report Server with a M2M user on the RS server. 
    The trouble is that the rendering of the report fails and the body of the report remains WHITE. However the .aspx page is displayed without errors and control report viewer loads the parameters even if you can not select. 
    Report manager render correctly reports  also from the web server. 
    The same solution work fine if deployed on Single Server. 
    The machines are under firewall. The Report Server service run on 80 port.  It should open more doors between the two servers? 
    Can anyone help? Thank You. 
    I have an
    infrastructure RS with
    a web server and
    another server with
    an installation of RS 2008
    R2.
    I have an
    infrastructure RS with
    a web server and
    another server with
    an installation of RS 2008
    R2.

    Hi theorangejuice,
    According to your description, you configure a ReportViewer control in remote mode to display a published report. When running the application, report displays blank and parameters can’t be selected.
    As we tested in our environment, report can display correctly when using ReportViewer control in remote mode, and parameters also can be selected. In your scenario, please make sure the report can display correctly on remote report server. And try to click
    refresh button on application to check if report can display correctly. Regarding our test results, please refer to steps below:
    1. Add port 1433 and 80 under windows firewall on remote server.
    2. Create a new windows application project, then add a ReportViewer control to the application.
    3. Configure the ReportViewer control for remote processing.
    4. Build and run the application.
    Reference:
    Walkthrough: Using the ReportViewer Control in Remote Mode
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Need - Search page with LOV based flexfield item as search criteria

    Our requirement is to make a flexfield item as search criteria.
    Flexfield is having 2 segments Applicaiton and Responsibility, where 2nd segment *(Responsibility) is dependent on 1st (Application).*
    Accordingly, an LOV must get displayed for each flex segment in the search panel.
    We tried to create a page having this flex (DFF) item as a search criteria, but cannot proceed to get results in results region - we tried to use both properties in the query region - resultsbasedSearch and autocustomizationCriteria:
    Any ideas how to make a search functionality having LOV based flexfield items in the search criteria?
    Any other suggestions regarding the solution are welcome.
    Thank you very much.
    Regards,
    May B.

    Hi,
    try a SQL query that uses bind variables as follows
    ... where column1 like '%:col1param%' and '%:column2%' like :col2param
    Then in the implementation (session facade) check for null values and add '%' in case a value is null.
    The query in EJB is defined in the entity
    Frank

Maybe you are looking for

  • Path Selection tool crashes in Photoshop CS6

    I want to change my Path Selection tool options but everytime I select the Path Selection tool in the tool bar, Photoshop CS6 crashes. I would like to select the Constrain Path Dragging option which I believe is in the options bar? Any help much appr

  • 4:3 ratio

    I was glad to find this forum because it's the only place you can get any good information on iphoto books...you certainly won't get it from Apple. My book has been cancelled 5 times. I have no yellow warning triangles. When I sent them an e mail ask

  • Problem editing events

    I can't edit events for which I am the organizer. It gives a solution for this problem in Help--it says I most likely accessed my calendar from another email address, I need to check my address card, etc...But I have done nothing of the sort, and I d

  • Lossless convert m4p to mp3, wav, unprotected aac, etc.

    I see that similar questions have been posted many times over, but still can't find what I'm looking for. My goal is a lossless conversion from m4p to wav. Most solutions I've found on Apple Discussions is to first burn the audio track to a CD and th

  • New Apple keyboard shortcuts not working with Mavericks

    Had to buy a new keyboard for my 2010 iMac, which is running Mavericks. However, the F keys on the new keyboard have a slightly different layout than my original. Most notably, the F4 key now opens up Launchpad, whereas it used to show the Dashboard.