Custom Search Form and custom attribute picklist?

I have a custom item type which has a custom attribute NAICS_Code. The NAICS codes are stored in a database table and the attribute is set to a list of values that is a query on that table. The attribute is associated with a custom item type as a text attribute.
Now, when I add the custom item type to a page, the NAICS Code field is a popup selector, as expected.
On a Portal page, I have the Custom Search Portlet that searches another page that contains the custom item type.
On the Custom Search Portlet, I can add the NAICS Code as an additional attribute, but the search field is a plain text box and NOT a pick list of any kind.
Can I configure the Custom Search Portlet to use associated LOVs with filter by attributes?

I'm afraid that in the version of portal you are using we don't render LOVs for LOV attributes on the search portlet.
In 10.1.2 attributes are added to the search form using a More Attributes button which simply render an empty row for the attribute details to be filled in.
In 10.1.4 this was improved considerably. Now attributes are added to the search form like they are added in the edit defaults, with a Choose Attributes link which opens a popup to select the attributes. On closing the popup the search form is re-rendered and any LOV attributes will be rendered with a combo box of available values to select from.

Similar Messages

  • Custom search form and custom results

    Hi, everyone!
    My problem is that I have to search for custom items with custom fields (attributes). So I have to create my own search form with necessary fields. Than the solution may be to call the portal30.wwsbr_search_api.submit_search procedure, but it renders it's own HTML result with advanced search form. That doesn't suit me. Searching for alternative API, I found portal30.wwv_searchdb.search function. I tried to use it, but in any case it fails with exception and error message "ORA-01403: no data found". From the previous messages I've discovered that there is custom search portlet in 9.0.2. But is it possible to solve my problem without these new features?
    Thank you for your answers ;)
    yk
    P.S. Sorry for my English...

    Yuriy,
    I'm sorry but the portal30.wwv_searchdb.search api is not one of the public apis. There is no simple out of the box way to address your issue with release 1 of Oracle9iAS Portal (you'll have to wait for release 2 for that), but you could do some post processing of the HTML that gets returned from the search results screen and present that to your users. While it would take a little work it would probably give you the functionality you desire.
    You would create a custom search screen, and have the submission call our api with the users values. Then process the results of that call (an HTML page) inside a procedure to finally present your own view of the data.
    Good luck,
    Rich

  • Viewing PDF files in IPM Search form and Package Search

    I recently released a PDF file into the Oracle IPM software, but can't view the document in either Search Form or Package Search. It shows a blank page, no document. Can someone point me to some documentation which might explain how to configure the IPM system to be able to view a stored PDF file rather than a Tiff file?

    I wish I could say it helped, but it did not.  I do not have Acrobat 6 or Acrobat 7. I have Adobe Reader 10.1.3.
    I did a "find" for acrobat and found a preference that i moved to the trash it case it was a holdover for when I had acrobat, then I did a restart and the problem is still there.

  • Search form and search results page

    Hi! I really need some help with my search and search results page. I'm a newbie and am trying to get my site built. My search page will be the most important page and is quite complex. It will have 11 drop down boxes and 8 radio buttons. I have my form set up on the search page. When I try to run it now it returns all results. Because I have so many fields I didn't want to post it all but, here's what my code looks like for my first drop down box:
    <select name="area_search[]" multiple="multiple" id="area_search" form="search" >
                <option selected="selected" value="" <?php if (!(strcmp("", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Any</option>
                <option value="Downtown" <?php if (!(strcmp("Downtown", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Downtown</option>
                <option value="Jackson County East" <?php if (!(strcmp("Jackson County East", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Jackson County East</option>
                <option value="Johnson County" <?php if (!(strcmp("Johnson County", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Johnson County</option>
                <option value="Johnson County North" <?php if (!(strcmp("Johnson County North", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Johnson County North</option>
                <option value="Johnson County South" <?php if (!(strcmp("Johnson County South", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Johnson County South</option>
    <option value="Midtwon" <?php if (!(strcmp("Midtwon", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Midtown</option>
    <option value="North Kansas City" <?php if (!(strcmp("North Kansas City", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>North Kansas City</option>
    <option value="Northland" <?php if (!(strcmp("Northland", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Northland</option>
                <option value="Plaza" <?php if (!(strcmp("Plaza", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Plaza</option>
                <option value="South Kansas City" <?php if (!(strcmp("South Kansas City", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>South Kansas City</option>
    </select>
    This is the code for a radio button:
    <input <?php if (!(strcmp($row_rs_searchpropertyinfo['Washer_dryer_in_unit'],"yes"))) {echo "checked=\"checked\"";} ?> name="radio_washerdryerinunit" type="radio" id="radio" form="search" value="yes"/>
    The searchresults.php page:
    <?php require_once('/Connections/Property_Info.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $var_area_search_rs_searchpropertyinfo = "%";
    if (isset($_POST['area_search'])) {
      $var_area_search_rs_searchpropertyinfo = $_POST['area_search'];
    mysql_select_db($database_Property_Info, $Property_Info);
    $query_rs_searchpropertyinfo = sprintf("SELECT property_info.Area FROM property_info WHERE property_info.Area LIKE %var_area_search%", GetSQLValueString($var_area_search_rs_searchpropertyinfo, "text"));
    $rs_searchpropertyinfo = mysql_query($query_rs_searchpropertyinfo, $Property_Info) or die(mysql_error());
    $row_rs_searchpropertyinfo = mysql_fetch_assoc($rs_searchpropertyinfo);
    $totalRows_rs_searchpropertyinfo = mysql_num_rows($rs_searchpropertyinfo);
    ?>
                      <?php
    $rs_searchpropertyinfo_endRow = 0;
    $rs_searchpropertyinfo_columns = 5; // number of columns
    $rs_searchpropertyinfo_hloopRow1 = 0; // first row flag
    do {
        if($rs_searchpropertyinfo_endRow == 0  && $rs_searchpropertyinfo_hloopRow1++ != 0) echo "<tr>";
       ?>
                      <td><table width="330px" border="0" cellspacing="7" cellpadding="2">
                        <tr>
                          <td width="300" height="275" bgcolor="#000000"><p><img src="../Properties/Thumbnail_image/<?php echo $row_rs_searchpropertyinfo['Images']; ?>" alt="" width="290" height="290" /></p></td>
                        </tr>
                        <tr style="text-align: center; font-size: 22px; color: #940000;">
                          <td width="300" height="75" bgcolor="#000000"><?php echo $row_rs_searchpropertyinfo['Area']; ?>
                            <p> </p>
                            <p><?php echo $row_rs_searchpropertyinfo['Property_Name']; ?></p>
                            </td>
                        </tr>
                        <tr bgcolor="#F7080C" style="text-align: center; font-size: 18px; color: #050505;">
                          <td height="45" bgcolor="#940000" style="font-size: 14px"><img src="/images/Detail button.jpg" alt="Property Details" onClick="MM_openBrWindow('<?php echo $row_rs_searchpropertyinfo['KCRC_detail_page']; ?>','detail','width=600,height=600')"/></td>
                        </tr>
                        <tr bgcolor="#F7080C" style="text-align: center; font-size: 18px; color: #FFFFFF;">
                          <td height="29" bgcolor="#940000" style="font-size: 14px"><a href="/checkavailability.php" target="new"><img src="/images/Check availability button.jpg" alt="Check availability" onClick="MM_openBrWindow('./checkavailability.php','availability','width=600,height=600') "/></a></td>
                        </tr>
                        <tr bgcolor="#F7080C" style="text-align: center; font-size: 18px; color: #FFFFFF;">
                          <td height="29" bgcolor="#940000" style="font-size: 14px"><a href="/scheduletour.php" target="new"><img src="/images/Schedule tour button.jpg" alt="Schedule tour" onClick="MM_openBrWindow('./scheduletour.php','schedule','width=600,height=600')"/></a></ td>
                        </tr>
                        <tr bgcolor="#F7080C" style="text-align: center; font-size: 18px; color: #FFFFFF;">
                          <td height="29" bgcolor="#940000" style="font-size: 14px"><a href="/contactus.php" target="new"><img src="http://www.kcrentalcentral.com/images/Contact agent button.jpg" alt="Contact a Rental Agent to answer any of your questions" onClick="MM_openBrWindow('./contactus.php','contact','width=600,height=600')"/></a></td>
                        </tr>
                      </table></td>
                      <?php  $rs_searchpropertyinfo_endRow++;
    if($rs_searchpropertyinfo_endRow >= $rs_searchpropertyinfo_columns) {
      ?>
                    </tr>
                    <?php
    $rs_searchpropertyinfo_endRow = 0;
    } while ($row_rs_searchpropertyinfo = mysql_fetch_assoc($rs_searchpropertyinfo));
    if($rs_searchpropertyinfo_endRow != 0) {
    while ($rs_searchpropertyinfo_endRow < $rs_browsepages_columns) {
        echo("<td> </td>");
        $rs_searchpropertyinfo_endRow++;
    echo("</tr>");
    }?>
    As I said, I'm a newbie. Any help or guidance would be very much appreciated. THanks in advance!

    Thanks for that example, but that is the design based on different technology than mine (ADF BC, and I am using ADF, EJB3/JPA). The link I provided above nowhere presents <methodIterator> nor <methodAction> and these are generated automatically in the page definition file by JDev when you drag-drop collections onto the page. So obviously that manual (online help) does not reflect the internals of current JDev 10.1.3.2 operation. As the matter of fact complete XML schema format seems to be different (although similar to certain extent) than the schema format created by JDev 10.1.3.2

  • How to create a search form? - Jdev TP4 11.1.1.0.0

    Hi,
    I am using Jdev TP4 11.1.1.0.0.
    I have a af:table which is based on a view. I want to have a search form on top of this af:table to query based on the selection in the search form. I have 15 columns in the view. When I drag and drop the "All queriable attributes" from the named criteria I get all these columns in the search form. I need only 3 of the columns in the search form and the af:table should query based on the selection. How can I achieve this? Any help. Thanks in advance.

    You can create a new named query with only these three columns in the where clause and use that.
    Or you can drag the VO as a search form and remove the columns you don't need.

  • How to get the SQL Query statement of a Search Form ?

    Hi all,
    We have a requirement to send the query result of an ADF Search Form into report application (Crystal rpt).
    Crystal can accept data source as query statement. SO I think of getting the exact query statement "generated" by the ADF Search form and send it to crystal.
    Is this possible ?
    Thank you very much,
    xtanto

    Try the various get methods of the viewObject such as getQuery:
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtAnchor.getQuery%28%29/vtTopicFile.bc4jjavadoc%7Crt%7Coracle%7Cjbo%7CViewObject%7Ehtml/

  • How To create ADF Search form in JDeveloper 11g 11.1.1.0.1

    Hi,
    I am using JDeveloper 11g 11.1.1.0.1 , in which i tried creating an ADF search form that has Find and Execute Buttons.
    I created the same ADF search form using JDeveloper 11g TP3 and TP4 wherein it works fine but not in JDeveloper 11g 11.1.1.0.1.
    Scenario....
    I dragged a read only view object on to the jspx page as ADF Search Form and dragged the same as Read only table.
    After doing this if i run the application the search functionality does not happen .
    ( I click on the find button and enter the condition and then click on the execute button. records does not get filtered based on that condition specified.)
    But when the same steps is done in 11g TP3 and TP4 the search functionalty works fine.
    Can someone suggest me what is the issue.
    Is this a bug in the new release.
    regards
    vinitha

    reply is in this id
    ADF Searchform with find and execute buttons in JDev 11.1.1.0.1 studio edi.

  • How can I show Search Form parameter values in URI of Results page?

    I have searched through these pages for posts relating to caching but haven't seen any that relate to my issue.
    We run a website that accesses data through search forms and returns matching data to the requester in a results page. The search criteria are entered in a form and the results page is generated by a servlet that gets the search parameter values that the user entered using the GET method.
    I would like rewrite this Search page using JDeveloper to bring our old code up to date and take advantage of new features that should help performance. In particular, I want to utilise the WebCache.
    To use the WebCache effectively, the cache needs to know what the search criteria were when it delivers a page so that repeated requests using the same criteria can be served directly from the cache.
    The data retrieved by a query may change from one search to to the next so I can't use time-based caching. But, I can use the WebCache Invalidation interface from the back-end DB server to flush old data out of the WebCache when it is changed, but to flush out the correct pages I need to know the parameter values passed.
    If I just follow the demos, it seems like the search parameters are all hidden in beans or something which means that the Web Cache can't be used for what I want. The parameter values are important.
    So my question is: is there a way of showing the search parameters used in the URI to the Results page? Can the old GET method of parameter passing be used (or can I somehow just put the old style parameters onto the URI?)
    Alternatively, is there a simple How To or Demo on how to use the Web Caching facility with JSF?
    (ADF Caching and Java Object caching do not seem appropriate for my needs. ADF caching seems to be limited to having fragments cached for fixed periods of time and Java Object caching is orders of magnitude slower and involves the Application Server.)
    Thanks for any advice,
    Andy

    Sorry - should have said I'm using JDev 10.1.3.0.4 with JSF & ADF BC.

  • ADF Search form inside a jsp page's panel page container

    I am going through the Oracle JDeveloper 10g for Forms & PL/SQL book and I got to page 391 where I need to drop a search form onto a jsp page set up with a panelpage. The form show up but when I go to delete the extra fields JDeveloper completely locks up. I am running JDeveloper version 10.1.3.3.0.4157. I tried reinstalling it and it still locks up. I tried going back a few steps and recreate the search form and it still locks up.
    Can anyone explain why it is locking up or how to delete the extra fields without locking up?

    I also tried selecting a field in the source file code window. Just selecting a field in any form or window locks up JDeveloper. My program worked find until I created a search form from a data set. I think it is a bug in the version of JDeveloper I have. I did a similar task in a previous version and it worked fine. I could select and delete fields with no problem.

  • ADF 11g: How to implement search form with automatic substring search

    We have ADF search form and result table on the same page. Say, VO that this search form is based upon is famous Employee table from HR schema. What we need is a logic when user enters partial employee first name ie: 'jo'...it should return 'john', johnny, joanne etc...
    just like if user would use wildcard %
    What worked in 10g ADF was something like this:
            AccessServiceImpl svc = (AccessServiceImpl)JSFUtils.EL("#{data.AccessService.dataProvider}");
            BirthViewNewImpl b = svc.getBirthViewNew();
            ViewCriteria vc = b.getViewCriteria();
            String staffId = JSFUtils.getFromSession("staffId").toString();
            String studyId = JSFUtils.getFromSession("studyId").toString();
            if (vc != null) {
                System.out.print("BR " + studyId + " " + staffId + " ");
                AttributeDef[] defs = vc.getViewObject().getAttributeDefs();
                Iterator criteriaRows = vc.iterator();
                while (criteriaRows.hasNext()) {
                    ViewCriteriaRow r = (ViewCriteriaRow)criteriaRows.next();
                    if (r != null) {
                        for (int j = 0, numAttrs = defs.length; j < numAttrs; j++) {
                             if (JboTypeMap.isCharType(defs[j].getSQLType())) {
                                 String val = (String)r.getAttribute(j);
                                 String col = defs[j].getColumnName();
                                 if (val != null) {
                                     System.out.print(col + "=" + val + " ");//just to see what is going on
                 System.out.println("");
            b.searchRecords();//method in VO that executes query
             * This is now very wrong.... Very artificial way to eliminate % from the UI
             if (vc != null) {
                 AttributeDef[] defs = vc.getViewObject().getAttributeDefs();
                 Iterator criteriaRows = vc.iterator();
                 while (criteriaRows.hasNext()) {
                     ViewCriteriaRow r = (ViewCriteriaRow)criteriaRows.next();
                     if (r != null) {
                         for (int j = 0, numAttrs = defs.length; j < numAttrs; j++) {
                             if (JboTypeMap.isCharType(defs[j].getSQLType())) {
                                 String val = (String)r.getAttribute(j);
                                 String col = defs[j].getColumnName();
                                 if (val != null) {
                                     val = val.substring(0,val.length()-1);//return to normal
                                       System.out.println("Column: " + col);               
                                       System.out.println("Value: " + val);               
                                       r.setAttribute(j,val);
            return null;The problem is for some reason this does not quite work in 11g.
    What is the best practice to achieve this functionality in 11g?

    Or use a catsearch index or a contains index in your query. The will preform much better for large datasets as it doesn't do a full table scan.
    Google for Oracle Text ( http://www.google.de/search?q=%27oracle+text%27+catsearch&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:de:official&client=firefox-a )
    Timo

  • Search form & Insert Function

    Is it ok to create a search form and then create an insert
    form at the same time.
    The search form has obviously been created to search
    databases and the insert form is being created to see what users
    are searching for.
    As a user types in text, it searches the database and also
    inserts the search word into the database.
    Regards
    Shane

    It seems that you cant combine two forms in the one. Any
    ideas on how I could tackle this?

  • Search form advice

    I have a search form that contains 5 drop-down menus.
    I want users to be able to search by any combination of these
    drop-down menus.
    For example, users might only want to search using drop-down
    menus #1 and #4, so I don't want anything from the other drop-down
    menus to be entered as search parameters.
    Can anyone suggest an approach to achieve this?
    I was thinking of including checkboxes next to each
    drop-menu. If the checkbox is checked, then that drop-down menu
    parameter is included in the search. I'm not quite sure how to go
    about coding this, though, and I'm not sure if this is the right
    approach.
    Thank you for any suggestions!

    Hi everybody,
    Thank you for helping me with this. The search form and query
    below enable the user to search by any combination of parameters
    based on their selections in the drop-down menus.
    I had 5 parameters, so things were getting a little out of
    control with the cfif statements. A friend suggested that I use '%'
    instead, since % is a wildcard and matches everything.
    In the query below, I replaced "=" with "like" to accommodate
    the usage of %.
    Does it make sense to use %? I'm wondering if this might
    cause any problems for one reason or another. So far, the search
    form is working exactly as intended, and it avoids using many cfif
    statements.
    Thank you,
    Luke
    Here is the search form, which references different queries
    to populate the drop-down menus. "%" is entered for the "Do not
    search by..." option.
    <form action="search_action.cfm" method="post">
    <br><br>
    Location:
    <select name="locationID">
    <option value="%">Do not search by
    location</option>
    <cfoutput query="getlocs">
    <option
    value="#getlocs.locationid#">#location#</option>
    </cfoutput>
    </select>
    <br><br>
    Cohort:
    <select name="cohortID">
    <option value="%">Do not search by
    cohort</option>
    <cfoutput query="getcoh">
    <option
    value="#getcoh.cohortid#">#cohortname#</option>
    </cfoutput>
    </select>
    <br><br>
    Category:
    <select name="categoryID">
    <option value="%">Do not search by
    category</option>
    <cfoutput query="getcats">
    <option
    value="#getcats.categoryid#">#category#</option>
    </cfoutput>
    </select>
    <br><br>
    Theme:
    <select name="themeID">
    <option value="%">Do not search by theme</option>
    <cfoutput query="getthemes">
    <option
    value="#getthemes.themeid#">#theme#</option>
    </cfoutput>
    </select>
    <br><br>
    Subtheme:
    <select name="subthemeID">
    <option value="%">Do not search by
    subtheme</option>
    <cfoutput query="getsubs">
    <option
    value="#getsubs.subthemeid#">#subtheme#</option>
    </cfoutput>
    </select>
    <br><br>
    <!-- reset button -->
    <INPUT TYPE="Reset" NAME="ResetForm" VALUE="Clear
    Form">
    <!-- submit button -->
    <INPUT TYPE="Submit" NAME="SubmitForm" VALUE="Submit">
    </FORM>
    Here is the query:
    <CFQUERY NAME="query" DATASOURCE="datasource">
    SELECT *
    FROM quotes, cohorts, themes, categories, subthemes,
    locations
    Where cohorts.cohortid = quotes.frn_cohortid
    and themes.themeid = quotes.frn_themeid
    and locations.locationid = quotes.frn_locationid
    and categories.categoryid = quotes.frn_categoryid
    and subthemes.subthemeid = quotes.frn_subthemeid
    AND quotes.frn_CohortID like '#Form.CohortID#'
    AND quotes.frn_ThemeID like '#Form.ThemeID#'
    AND quotes.frn_locationID like '#Form.locationID#'
    AND quotes.frn_categoryID like '#Form.categoryID#'
    AND quotes.frn_subThemeID like '#Form.subThemeID#'
    </CFQUERY>

  • How to activate several Formatted Search Forms !!

    Hi Guys,
    I have a problem concerning the manipulation of formated Search Forms. Actually when using the ActivatMenuItem() method, one needs a UID of the items to be activated. And I would like to use this method to activate several formated Search Forms but I don't know how to get the UID of those formatted Search Forms.
    While searching on the Forum, I have seen that some developers used following command SBO_Application.ActivateMenuItem("7425");
    I tried that and it works, but it only activates the first formatted Search Form saved in the CSHS table. My problem is how to activate the other formatted Search Forms and how to access their UID.
    Thanks in advance for Responding
    Bop

    Formatted searches are tied to an individual field on the screen.
    They are not launched by individual UID's, there is only one formatted search menu UID - 7425.
    The actual screen that is called is based on which field the focus is currently in.  If you are in form UID "1", field UID "1" it will call the formatted search (defined in CSHS) for Form 1 / Item 1.  If the focus is currently in field UID "2", it will call a different search.  If there is no formatted search defined on CSHS for the current field, then it will display a dialog asking if you want to create one.
    If you want to open other formatted searches for different fields in your form, simply place the focus on them before calling ActivateMenuItem("7425").  You can do this using the Click method.
    John.

  • Adding extra keywords to a search form

    Hi all,
    I have a search form, and it has a single search form, and a submit button.
    I can't figure out how to add some default keywords to it when it sends the info.
    This is what submits it:
    function formSubmit() {
    document.layout.submit();
    }I think what I need is something like this:
    var defaultKeyords = "default keywords here";
    document.layout.Keywords.value == (document.layout.Keywords.value + var defaultKeyords);
    document.layout.submit();
    }Can anyone give me any suggestions?
    Also, this form don't open in blank pages. When I put _blank in the hfre tag, it just give me a dud blank page? Does anyone know why?
    Anything would be appreciated! :)
    Cheers,
    Doug

    Isn't that Javascript you're asking about? This is a Java programming forum. Different language.

  • Enhancement reqest: Advanced Search form

    I would like to request another form wizard like all the great ones already there. A Advanced Search form wizard.
    Basically a form that asks for a bunch of query items like those found on any Advanced Search form and depending on which ones are non-blank, constructs a dynamic query and populates a SQL query region when the Search button is pressed.
    Thanks

    From what I can tell from each of the examplesthere
    is no option to specify any kind of compoundcriteria
    syntax for a single field, as I pointed out in my
    earlier post, e.g. where id=1 or id=2 and type=6and
    type=7. That kind of thing.Right, but (IMHO) your UI is approaching the problem
    too "literally" i.e. too much in terms of the
    underlying SQL. You are making the user literally
    think in terms of a SQL SELECT statement.I agree to some extent - it clearly looks like a query builder - but the UI provides an abstraction layer so the user doesn't have to worry about typing the underlying syntax correctly.
    And remember, this is a business application - not Google. In my experience users of business applications are pretty demanding when it comes to getting at their data. Not that I want to perpetuate bad designs on anyone. I just want to make sure the user has the tools they need. And they want field level searching.
    >
    P.S. I've already implemented a basic searchfunction
    at the top of each report page that let's the user
    enter a single value that will do an 'OR' againstall
    the fields in the view. It's just that the userRight, thats the way most search functions work. You
    type a keyword and the system does a full-text
    case-insensitive search for that keyword across a
    pre-determined set of columns.
    doesn't really have any control over which fieldsare
    tested against the value.Another way to approach this would be to put up a
    single search text field and list all the columns you
    want to search across as checkboxes. User can select
    the column(s) he wants the keyword to be searched
    in.
    Your example of multiple predicates on the same
    column is a little unusual, but
    where id=6 or id=7Unusual, perhaps..., until you get a request from someone that wants to find all the equipment with serial numbers between XYZ123456 and XYZ2345678. ;>)
    This can be implemented as a multi select list (or N
    separate text fields) where user can select/enter
    each value and you go and build the resulting SQL.I've thought of making the values select lists based on valid entries that exist in the table for a couple of cases where it might be appropriate - but I need to get basic function working first.
    >
    Just some ideas...
    ThanksThanks again for your thoughts. I have an example page on OTN that give the beginnings of my idea here: http://htmldb.oracle.com/pls/otn/f?p=36337:14 It's not fully functional yet but if you click the Search button it will throw the where clause in the text box at the bottom of the page. Let me know what you think if you get a chance.
    Earl

Maybe you are looking for

  • Error during instalation of BI Publisher

    Hi guys! While installing BI Publisher I've encountered and error "[..]server-config.wsdd not found. Make sure that file exist on disk". How to address this issue ? With regards, PsmakR

  • Dreamweaver 8 studio 8?

    Hows it going I hope some paitent and intelligent person can help me with this I have dreamweaver 8 I think it is a cool program. I am not a computer wizard bot can do most things. I am having one simple but very annoying problem with inserting audio

  • Org. Key

    Hi, I am trying to use BADI HRPAD00INFTY to default values in Org. Key. My requirement is that the org. key value should be a combination of Personnel Area and a custom field in custom Infotype. But the values are not defaulting. Does this BADI need

  • Lightroom 5.3 uses all my memory. Please help!

    I have been using Lightroom, since the very beginning. I love it and can't imagine working without it. However, since Lightroom 4, I have been having problems with it sucking up all my memory. I keep upgrading hoping it will get better, but it only s

  • When using sharing on Facebook only I can see posts. iPhone5

    Using an iPhone 5, everytime I try to share another post or a news article the post on my timeline can only be seen by me.  For example, in Safari I am reading an article, I click on the Facebook icon int he article to share, it brings with to a prev