Clear search region

i have a report region based on an sql query.
I currently have the problem that if i navigate to the next set of search results (eg 31-45). when i try another search in the same region the results are not displayed because the search region is still looking at the other page for results (eg results 31 - 45 not 1-15)
any ideas? is it possible to clear the cache on a region so it will always reset to display the first set of results?
thanks
tom

I have found the error
in my search region i had
SELECT
INSERTS_PK, MATERIAL_ID,INSERT_DESC,START_DATE,WEIGHT,END_DATE
FROM INSERTS
WHERE upper(MATERIAL_ID) LIKE ('%' || upper(V('P5_SEARCH')) || '%') AND NEW_FLAG = 'C'
order by MATERIAL_ID
instead of
SELECT MATERIAL_ID,INSERTS_PK,INSERT_DESC,START_DATE,WEIGHT,END_DATE
FROM INSERTS
WHERE upper(MATERIAL_ID) LIKE ('%' || upper(V('P5_SEARCH')) || '%') AND NEW_FLAG = 'C'
order by MATERIAL_ID
for some reason i needed to search criteria (material id) first in the select

Similar Messages

  • Input Search criteria gets cleared on searching in Search Region

    In a pageA I have a search region, this search region has
    2 date fields.
    I have a return link on pageA that directs to pageB. Another button on pageB directs to pageA. For every page redirection, we have retainAM='Y', due to this the search criterial in pageA still remains if we do a navigation like pageA->pageB->pageA
    to clear the search criteria for every page reload of pageA, I am setting the value of
    datefield to null in the processrequest() of pageA.
    Now the wierd thing that is happening is though the search results are appearing fine,
    the data entered in date fields is getting disappeared on doing a search.
    in processformrequest, when I do a pagecontext.getparameter(datefieldID) this returns a value but
    doing a webBean.findindexchildrecursive(dateBean).getValue returns null.
    any idea what the issue could be.
    Thanks,
    Kalyan.
    Message was edited by:
    Naga Kalyan

    Is it a query region or a custom search region? What is the code written to null the date fields?
    Is there any flow where the values are retained?
    --Shiv                                                                                                                                                                                                                                                                                                                           

  • Advanced Search-Clearing search criteria

    Hi,
    I am developing apps using JDev 10.1.2. and JHS build 32.
    My problem is with using the Advanced Search on page with table layout.
    The Advanced Search contains one lookup field (a lamp).
    When I enter something in the lamp field and press Find button I get proper result.
    Then I run Clear. All field from Advanced Search region are cleared.
    Then I run Find and I get question similar to "You are about to leave page without commiting changes...". I choose OK and the lamp field get the old value and the result is incorrect.
    What is wrong?
    regards,
    Cezary

    Cezary,
    This is indeed a bug in JHeadstart, thanks for pointing this out. The fix will be present in the next release, but for now you and anyone running into it will have to apply a workaround: in the UIX page, locate the "FindXXX" field that has this problem. It will be easy to find because its name is suffixed with "_No_Update". This is incorrect (for the find field, it is OK for the actual form and/or table field!!). Remove the suffix NoUpdate and all should be well again.
    Hope this helps,
    Peter Ebell
    JHeadstart Team

  • How can I access the Attribute Values from the Search Region

    Hi all,
    I have a table which contains Company id, department id, and PositonId. For a particular Company and Department there may be multiple records.
    I have to pupulate a table which contains the position and other details that comes under a particular Department and Position based on the selection in the Three comboBoxes.
    Also I have to populate a select many Shuttle to add new postions and records under a particular Department.
    I created a query panel *(Search Region)* for the serch and a table to display the data. That is working fine.
    Now the issue is I am using a view criteria to populate the shuttle with two bind variables ie, DepartmentId and CompanyId.
    If the serach will return a resuktant set in the table it will also pupulate the correct records, otherwise ie, if the if the serch result is empty the corresponding iterator and the attribute is setting as null.
    SO I want to access the attribute values from the Search Region itsef to populate the shuttle.
    I don't know how can I access the data from the Search Region.
    Please Help.
    Regards,
    Ranjith

    you could access the parameters entered in search region by the user as follows:
    You can get handle to the value entered by the user using queryListener method in af:query.
    You can intercept the values entered as described
    public void onQueryList(QueryEvent queryEvent) {
    // The generated QueryListener replaced by this method
    //#{bindings.ImplicitViewCriteriaQuery.processQuery}
    QueryDescriptor qdes = queryEvent.getDescriptor();
    //get the name of the QueryCriteria
    System.out.println("NAME "+qdes.getName());
    List<Criterion> searchList = qdes.getConjunctionCriterion().getCriterionList();
    for ( Criterion c : searchList) {
    if (c instanceof AttributeCriterion ) {
    AttributeCriterion a = (AttributeCriterion) c;
    a.getValues();
    for ( Object o : a.getValues()){
    System.out.println(o.toString());
    //call default Query Event
    invokeQueryEventMethodExpression("#{bindings.ImplicitViewCriteriaQuery.processQuery}",queryEvent);
    public void onQueryTable(QueryEvent queryEvent) {
    // The generated QueryListener replaced by this method
    //#{bindings.ImplicitViewCriteriaQuery.processQuery}
    QueryDescriptor qdes = queryEvent.getDescriptor();
    //get the name of the QueryCriteria
    System.out.println("NAME "+qdes.getName());
    invokeQueryEventMethodExpression("#{bindings.ImplicitViewCriteriaQuery.processQuery}",queryEvent);
    private void invokeQueryEventMethodExpression(String expression, QueryEvent queryEvent){
    FacesContext fctx = FacesContext.getCurrentInstance();
    ELContext elctx = fctx.getELContext();
    ExpressionFactory efactory = fctx.getApplication().getExpressionFactory();
    MethodExpression me = efactory.createMethodExpression(elctx,expression, Object.class, new Class[]{QueryEvent.class});
    me.invoke(elctx, new Object[]{queryEvent});
    Thanks,
    Navaneeth

  • The "Clear Search History" feature in the upper right drop-down menu no longer works in Firefox 4.

    The "Clear Search History" feature in the upper right drop-down menu that shows search terms no longer seems to work in Firefox 4.

    It is possible that there is a problem with the file that stores the "Saved Form" data.<br />
    Rename or delete formhistory.sqlite (plus formhistory.sqlite-journal and formhistory.sqlite.corrupt and formhistory.dat, if they exist) in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] in case there is a problem with the file that stores the "Saved Form" data.<br />
    This will remove all saved form data, so you may want to rename formhistory.sqlite to formhistory.sqlite.sav or move the file to another folder in case you need to recover some saved data.
    You may also need to delete search.sqlite and search.json in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder]

  • How to use input box LOV in query panel (search region)

    Hi,
    We are having JDeveloper version 11.1.2.4.0
    In one of the JSF page, we are showing some data (absences).
    Requirement is to add search region at the top so that user can filter the data, based on search parameters like Business Group, Job etc.
    The search parameters are inter-dependent e.g. Job is dependent on Business Group. So when user selects some particular Business Group, Job search field should show jobs for that Business Group only.
    This works fine we use Choice List for both Business Group and Job.
    However since there are huge number of jobs, Job choice list makes page rendering very slow.
    So we tried to use Input box with LOV for Job.
    But now when job is selected in the LOV popup and returned to main page, job search field shows job id instead of job name.
    Please note that our base VO (AbsencesVO) contains JobId attribute. We have added List of Values on JobId, which fetches Job Name through JobVO1 view accessor.
    How to make Job LOV field show selected Job Name instead of ID? Kindly advise.
    Thanks,
    Vivek

    Thanks Timo/Bangaram, for prompt replies
    Timo, the link mentioned by you talks about showing IDs (DepartmentId, ManagerId etc.) in the search region. I need to show names in the form of Input box LOV.
    Bangaram, as per your suggestion I tried using transient JobName attribute. However now when I select any value in the Job LOV popup and return to main page, it shows first Job Name in the Job Name search field.
    Also when I click 'Search' button in Search panel, it shows error - Attempt to set a parameter name that does not occur in the SQL: BindJobName
    Please note that I have added both JobName and JobId in the List configuration as you suggested.
    In View criteria, I have removed previous item (condition) on JobId and added condition on JobName.(This is required because JobId condition shows JobId search field)
    I also tried making JobName dependent on JobId..still same behaviour.
    Kindly advise.
    Thanks,
    Vivek

  • ORA-06502 when searching region source

    The following is listed as a limitation of Apex 3.1, for both interactive reports and the application builder, although the specific context is not mentioned.
    The row length limit is 32k (just as with Classic Reports). You can include more columns but if too many are selected to be displayed, the user will get the following error - "ORA-06502: PL/SQL: numeric or value error: character string buffer too small". This should be considered when creating your report.You can find that here: http://www.oracle.com/technology/products/database/application_express/html/3.1_known_issues.html
    I'm getting this very error when trying to search region source for one of my application items. Presumably the region source is larger than the 32k limit where my particular page item is being used?
    Can anyone from Oracle verify that this is still a problem in Apex 3.2.0.00.27?
    Earl

    >
    The following is listed as a limitation of Apex 3.1, for both interactive reports and the application builder, although the specific context is not mentioned.
    The row length limit is 32k (just as with Classic Reports). You can include more columns but if too many are selected to be displayed, the user will get the following error - "ORA-06502: PL/SQL: numeric or value error: character string buffer too small". This should be considered when creating your report.
    You can find that here: http://www.oracle.com/technology/products/database/application_express/html/3.1_known_issues.html
    I'm getting this very error when trying to search region source for one of my application items. Presumably the region source is larger than the 32k limit where my particular page item is being used?
    Can anyone from Oracle verify that this is still a problem in Apex 3.2.0.00.27?
    EarlAnyone have any ideas about the above? I'm getting this error when searching region source code, here:
    Home>Application Builder>Application nnn>Application Reports>Page Components>Search Region Source
    Any help would be appreciated. Thanks.
    Earl

  • How to add a Quick Search Region of the shuttle

    JHeadstart 10.1.3.1.26
    Help me! Help me! Help me!
    How does add a Quick Search Region of the shuttle
    http://cid-857a1e2135747b0c.spaces.live.com/?_c11_PhotoAlbum_spaHandler=TWljcm9zb2Z0LlNwYWNlcy5XZWIuUGFydHMuUGhvdG9BbGJ1bS5GdWxsTW9kZUNvbnRyb2xsZXI%24&_c11_PhotoAlbum_spaFolderID=cns!857A1E2135747B0C!112&_c11_PhotoAlbum_startingImageIndex=&_c11_PhotoAlbum_commentsExpand=&_c11_PhotoAlbum_addCommentExpand=&_c11_PhotoAlbum_addCommentFocus=&_c=PhotoAlbum
    Message was edited by:
    user589457

    JHeadstart 10.1.3.1.26
    Help me! Help me! Help me!
    How does add a Quick Search Region of the shuttle
    http://cid-857a1e2135747b0c.spaces.live.com/?_c11_PhotoAlbum_spaHandler=TWljcm9zb2Z0LlNwYWNlcy5XZWIuUGFydHMuUGhvdG9BbGJ1bS5GdWxsTW9kZUNvbnRyb2xsZXI%24&_c11_PhotoAlbum_spaFolderID=cns!857A1E2135747B0C!112&_c11_PhotoAlbum_startingImageIndex=&_c11_PhotoAlbum_commentsExpand=&_c11_PhotoAlbum_addCommentExpand=&_c11_PhotoAlbum_addCommentFocus=&_c=PhotoAlbum
    Message was edited by:
    user589457

  • How can I fix the disabled -Clear Search History- in the Tools section?

    I have a MacBook Pro and have just noticed that, as of today 2/15/13, the Form & Search History in the Tools, Clear Search History, section is often lightened/blurred over and its tiny box no longer able to be checked. More importantly, the Clear Search History -itself- is completely disabled and not working. I used it yesterday and it appeared to work fine. I've noticed that there are quite a few reports of this problem occurring with other users, but any and all those who have responded to these reports, with suggestions, are of no help whatsoever, to me, as I cannot understand them. Can someone who is able to give the proper effective advice do s in layman's terms so I can comprehend their instructions, please. :-) Thank you.

    The problem recurred and after verifying I have no add-ons or extensions, since I don't even know what they are, much less know how to use them the "Safe Mode" process wouldn't solve the problem. But at least now i know that the "Clear Recent History," in the Tools tab, works intermittently, but just not consistently. And the "Form & Search History" with tiny box next to it is unchecked and inaccessible (blurred over) sometimes, then appears accessible and check marked on other occasions. A very strange phenomenon...
    I have a Mac OS X 10.7.5 system and have no idea where to find the "Profile" to implement the other possible fixes. I am not well enough versed in the technical aspects of this computer to even attempt the frustrating and tricky task of deleting files I haven't a clue where to find unless someone can take me through the process step by step in layman's terms.
    There is either a bug in Firefox 19.0, which is very possible considering there are quite a few people who have reported this problem, or perhaps my last update somehow didn't download properly. Is it necessary to trash my current 19.0 version in order to download Firefox, again, or would another download of the same version override the current one?
    I'd like to see if that works to resolve the problem, but the first time I tried, a file that I couldn't open ended up on my desktop and I had to move it into the trash, not knowing what else to do with it. It didn't even show up in the trash when I did that???!!! Please provide easy to follow instructions on how to perform the downloading of another 19.0 version to replace my current one. Perhaps that will work. Thanks! :-)

  • Any way to clear search history in maps ?

    I'm new to IOS but wondering how can I clear search history in the new IOS maps application. 
    Thanks@

    if you use internet shoping it generally needs 3D cell phone password messages for personal security. But it is saving and storing in map application search box and can not be deleted.

  • How to hide search box in the search region for the attachments (table)

    Dear,
    I have attachments region on the page with Render Search Region property set to true. What I want is to hide the text box in the search region? Is it possible? If I set this property to false the whole region goes away. I want the search region to stay, just get rid of the search box.
    And one more question - what property (of the attachment image) governs 'Publish to Catalog' behaviour?
    Thank you.
    Anatoliy

    I dont think that its possible to change the image.
    Are you trying to disable the document search ? Is the entire region disappearing when you tried disabling the search through personalization, walking the page hierarchy ? Is it for Document catalog ? If so, then it is a bug
    Thanks

  • How to align diff. search region items where one region is HideShow region

    Hi,
    I have split my 1 search region into 3 regions, because I want to use a hideShow region for a number of parameters. This is a manual search.
    The structure is as follows:
    PageLayoutRN
    --SearchHdr
    --Properties: Style: header
    ----SearchRN01
    ----Properties: Style: messageComponentLayout; Search Region: True
    ------items
    ----SearchRN02
    ----Properties: Style: labeledFieldLayout
    ------HSSearchRN
    ------Properties: Style: hideShow
    --------items
    ----SearchRN03
    ----Properties: Style: messageComponentLayout; Search Region: True
    ------items
    ------buttons
    The items of the hideShow region are indented compared to the items of searchRN01.
    The Show/Hide switch is placed to the right of the items of regions 01.
    How can I align the items of the 3 search regions to each other?
    thanks
    Ronny
    Edited by: Ronny Eelen on 17-Jun-2012 23:50
    Edited by: Ronny Eelen on 17-Jun-2012 23:59
    Edited by: Ronny Eelen on 18-Jun-2012 00:00

    Hi,
    Issue resolved.
    I added another regions between the hideShow regions and the item, of type messageComponentLayout and that aligned everything as it should be.
    thanks anyway
    Ronny

  • ADF BC : "clear search" using executeEmptyRowSet()

    hi
    Consider a search page, similar to what you can see in this screen cast by Steve Muench:
    "Part 3: Search Form Using View Object with Named Bind Parameters"
    On such a page I would like to have a button that clears the search criteria and the search result.
    I have implemented such a search page and "clear search" button in this example application:
    http://www.consideringred.com/files/oracle/ClearSearchStuff-v0.01.zip
    To implement the button I also used the executeEmptyRowSet() method in my Application Module on the "EmpWithParamsVOVI" View Object instance.
    The "clear search" button uses this code in the backing bean:
    public class SearchOnViewObjectParameters
         public String clearSearchCButtonAction()
              executeEmptyRowSetOnEmpWithParamsVOVI();
              ELHelper.set("#{bindings.EmployeeName.inputValue}",
                   "#{bindings.EmployeeName.attributeDef.defaultValue}");
              ELHelper.set("#{bindings.LowSal.inputValue}",
                   "#{bindings.LowSal.attributeDef.defaultValue}");
              ELHelper.set("#{bindings.HighSal.inputValue}",
                   "#{bindings.HighSal.attributeDef.defaultValue}");
              return null;
         public String executeEmptyRowSetOnEmpWithParamsVOVI()
              BindingContainer bindings = getBindings();
              OperationBinding operationBinding =
                         bindings.getOperationBinding("executeEmptyRowSetOnEmpWithParamsVOVI");
              Object result = operationBinding.execute();
              if (!operationBinding.getErrors().isEmpty())
                   return null;
              return null;
    }The ADF Model binding calls this Application Module method:
    public class ScottServiceImpl
         extends ApplicationModuleImpl
         implements ScottService
         public void executeEmptyRowSetOnEmpWithParamsVOVI()
              EmpWithParamsVOImpl vEmpWithParamsVOVI = getEmpWithParamsVOVI();
              vEmpWithParamsVOVI.executeEmptyRowSet();
    }But it seems that the executeEmptyRowSet() method has not been documented:
    http://download.oracle.com/docs/cd/B25221_04/web.1013/b16005/oracle/jbo/server/ViewObjectImpl.html#executeEmptyRowSet__
    questions :
    (1) Should I use the executeEmptyRowSet() to implement part of this "clear search" feature, or how exactly does this method behave (some documentation would be nice)?
    (2) If not, what alternative should I use?
    (using JDeveloper 10.1.3.3.0)
    many thanks
    Jan Vervecken
    edit 20090925 : updated link to ClearSearchStuff-v0.01.zip

    Hi,
    This is regarding the clear search issue, I am trying to clear the search criteria filed and view object's result by using your code.
    ==============
    public String clearSearchCButtonAction() {
    System.out.println ("Entered clearSearchCButtonAction 1");
    executeEmptyRowSetOnCustomerViewObj();
    System.out.println ("Entered clearSearchCButtonAction 2");
    ELHelper.set("#{bindings.CustomerId.inputValue}",
    "#{bindings.CustomerId.attributeDef.defaultValue}");
    return null;
    public String executeEmptyRowSetOnCustomerViewObj()
    System.out.println("1");
    BindingContainer bindings = getBindings();
    System.out.println("2");
    OperationBinding operationBinding = bindings.getOperationBinding("executeEmptyRowSetOnCustomerViewObj");
    System.out.println("3");
    Object result = operationBinding.execute();
    System.out.println("4");
    if (!operationBinding.getErrors().isEmpty())
    System.out.println("5");
    return null;
    return null;
    =============
    When I click the Clear button I am getting the following error.
    [Starting OC4J using the following ports: HTTP=9012, RMI=23954, JMS=9258.]
    C:\Jdeveloper\jdevstudio10133\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
    C:\Jdeveloper\jdevstudio10133\jdk\bin\javaw.exe -client -classpath C:\Jdeveloper\jdevstudio10133\j2ee\home\oc4j.jar;C:\Jdeveloper\jdevstudio10133\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\Jdeveloper\jdevstudio10133\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    May 19, 2008 1:33:39 AM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    May 19, 2008 1:33:39 AM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 12156 ms.
    Target URL -- http://192.168.2.3:9012/Testing%20Clear-ViewController-context-root/faces/Clear.jspx
    08/05/19 01:33:47 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
    May 19, 2008 1:33:49 AM oracle.wireless.its.ra.TelnetResourceAdapter run
    INFO: Industrial Telnet Server version: Version 10.1.3.0.0 started-up successfully.
    May 19, 2008 1:33:53 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
    May 19, 2008 1:33:53 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
    May 19, 2008 1:33:53 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
    May 19, 2008 1:33:53 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
    May 19, 2008 1:33:53 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
    May 19, 2008 1:33:53 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
    May 19, 2008 1:33:53 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
    May 19, 2008 1:33:53 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
    May 19, 2008 1:33:53 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
    May 19, 2008 1:33:53 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
    May 19, 2008 1:33:53 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
    May 19, 2008 1:33:53 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
    May 19, 2008 1:33:53 AM com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
    May 19, 2008 1:33:53 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
    May 19, 2008 1:33:53 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
    May 19, 2008 1:33:54 AM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    May 19, 2008 1:33:57 AM oracle.adfinternal.view.faces.application.ViewHandlerImpl _checkTimestamp
    INFO: ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    08/05/19 01:34:06 Entered clearSearchCButtonAction 1
    08/05/19 01:34:06 1
    08/05/19 01:34:06 2
    May 19, 2008 1:34:06 AM com.sun.faces.lifecycle.InvokeApplicationPhase execute
    SEVERE: #{backing_Clear.clearSearchCButtonAction}: javax.faces.el.EvaluationException: java.lang.NullPointerException
    javax.faces.FacesException: #{backing_Clear.clearSearchCButtonAction}: javax.faces.el.EvaluationException: java.lang.NullPointerException
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
         at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
         ... 24 more
    Caused by: java.lang.NullPointerException
         at tc.view.backing.ClearSearch.executeEmptyRowSetOnCustomerViewObj(ClearSearch.java:57)
         at tc.view.backing.ClearSearch.clearSearchCButtonAction(ClearSearch.java:46)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
         ... 25 more
    ===========================================
    Would you please help me on this.

  • Search region help!

    I have two tables as following:
    Department
    depart_id number(2),
    department varchar2(30)
    depart_id is PK.
    Depart_id,Department
    1,PPT
    2,FCT
    Room
    room_id number(2),
    room varchar2(30),
    depart_id number(2)
    room_id is Pk, depart_id is FK refernced to Department depart_id
    Room_id,room,Depart_id
    1, A307, 1
    2, A306, 1
    3, B113, 2
    4, B116, 2
    In the search region, I have department and room two fields. Both of them use select list to get value. Room's select list should be different based on department value.
    I get a trouble that room's select list always be same with value A307,A308,B113,B116. It should have A307,A308 when I choose PPT department and should have B113,B116 when I choose FCT department. It should have A307,A308,B113,B116 when I don't choose any department.
    How can I do this?
    Please give me detail info and thanks in advance!
    Edited by: ca060728 on Dec 14, 2009 3:03 PM
    Edited by: ca060728 on Dec 14, 2009 3:03 PM

    Hi,
    I think you need cascading select list
    http://apex.oracle.com/pls/otn/f?p=11933:37
    Br, Jari

  • How to Dynamically add Search Criteria in Advance Search Region.

    Hi All,
    I want to understand how can we add Search Criteria dynamically in the Advance Search Region.
    The Requirement is to add 4 additional search criteria for an org_id in a multi org structure. For other business those fields should not be visible.
    I did try this with the form personalization but could not Show/hide the additional search criteria programatically for the business as we can only see 4 search criteria at the time of page load and other criteria comes in the drop down list to add which can not be show/hide after page load.
    I thought of a solution to add search criterias dynamically for my org through extending controller.
    I found the OAAdvanceSearchBean (advance search Region in controller) object for my Advance Search but could you tell me how can I add the Criteria Row in that Advance Search (createWebBean function) and then add the item in criteria Row dynamically.
    Also please tell me how we can increase the showed criteria from default 4 to more, setDisplayedCriteriaCount(int) is not allowed and it is not working also.
    Thanks.
    Regards,
    Ashish Bansal

    Hi,
    As Lars said The "Search Option Set" and the "Search Component Set" offer you quite some flexibility.
    You can configure both of these component to customize your search.
    Once you did it, you can create a new basic search iview and set these components.
    On the other hand, you also customize the layout use to show result of search.
    Dont'f forget that you need to configure Trex and create an index.
    For instance, I configured the search criteria, the system only asked me some metadatas (created by us,whose value are dependents). Each time that you upload a document you set these attributes.
    Then when you want to search, appear a screen with these values
    Country :
    City:
    search field:
    Patricio.

Maybe you are looking for