How to merge two search button from different criteria

How to merge two search button from different criteria
this image show the question
http://s24.postimg.org/4algthuj9/1111.jpg
two different criteria for the same view and I need to merge it in one button as when I click
on the button search result give from two criteria parameters

You can!t using af:query. the af:query component comes as is. If you can't do it through the properties, you probably can't do it at all.
As in your other thread, the way to go is to program your own search form. This way you can use a layout and functionality you like.
For this you create a form with input fields for the values you are searching for, put them on hte page in a way you like and in the end by hitting on a button (e.g. called Search) map all inputfields to parameters of a service method you defined in your application module or VO. This service method then executes a view criteria returning all matches in the default iterator (just as if you had used af:query.
Timo 

Similar Messages

  • How to get the Search Button from RichQuery Component

    Hello All,
    How can I get the Search Button from RichQuery Componennt, I could do not locate from getChildren, getFacets
    any ideas ?
    Thank you,

    Not even able to get it from getViewRoot findComponent("clientId");
    which is not good, RichQuery component can be inside popup and I do not want to add an extra button just to close the popup window
    Any ideas ?
    Thank you,

  • Is there any way to merge two WorkSpace screens from different projects

    Is there any convenient way to merge two WorkSpace screens from two different VS projects?
    Thanks.

    I just looked, the property inside the .nivsscreen file for the workspace layout is a big variant... so this won't work.
    Sorry!
    Stephen B

  • How to merge data in icloud from different devices into one before restoring?

    I have 2 devices listed on my icloud.
    Two of them are lost phones.  I want the data from both devices to be on my new iphone.
    It is easy enough to restore one of them (which I have done) but how do i know restore from the other one? 
    Is there any simple way to merge the data somehow?

    Hello!
    Unfortunately, it is not possible to merge 2 different back ups in one. However, if you need the photos and contacts from these back ups you can restore one and then import the pics to your PC and sync the contacts to iCloud then restore the iPhone from the other back up and merge the info with iCloud again.
    Best
    B.

  • How to set two values equal from different recordset?

    I have created a posts recordset and a comments recordset
    the comments table has a post_id to link the comment to a specific post through setting it equal to the id field in the posts table
    so that whenever a post loads the comment whos post_id is equal to the id of the post should load
    I know that if one advanced recordset combining the two tables is created I can set the values to be eqal in the where clause but doing so causes an error in the url parameters of the page.
    Plz help guys and thanks in advance.

    Just do this in advanced recordset
    SELECT *
    FROM posts JOIN comment
    ON posts.post_id = comment.post_id
    WHERE posts.post_id = colname
    Add 1 variable
    name: colname
    type: numeric
    default value: -1
    runtime value: $_GET['pid']
    so in browser URL it will be post_view.php?pid=1

  • Is there a simple way to merge two iTunes libraries from different drives?

    I have an iTunes library or, more significantly, an iTunes music folder, on a hard drive I haven't used in a while. I'd like to merge it into the one I'm using now.
    Is there an easy way to do this, and what about duplicates and, especially, variant encodings of the same title?

    if you're on iTunes 9, the easiest way would be to drag & drop the contents of the (external ?) hard drive into the *automatically add to iTunes* folder inside the iTunes folder of the target machine.
    you will have duplicates, which can be deleted later on (or kept and filtered using smart playlists).
    JGG

  • How to merge two different images in photoshop?

    I am new here. I am starting to learn photoshop.How to merge two different images in photoshop? Please guide me. Thankyou.
    http://www.nissiinfotech.com/

    SPAM

  • How to merge two XML's with JDOM?

    How to merge two xmls's using jdom? like:
    is there a way to add the complete content one xml into the parent node of another xml?
    //in.xml
    <?xml version="1.0"?>
    <people>
    <person>
      <name>ABC</name>
      <email>[email protected]</email>
    </person>
    </people>
    //out.xml
    <?xml version="1.0"?>
    <address>
    <city> abccounty</city>
    <state> abcstate</state>
    </address>
    Merged XML:
    <?xml version="1.0"?>
    <people>
    <person>
      <name>xyz</name>
      <email>[email protected]</email>
    </person>
    <address>
    <city> abccounty</city>
    <state> abcstate</state>
    </address>
    </people>
    import java.util.List;
    import org.jdom.Document;
    import org.jdom.Element;
    import org.jdom.input.SAXBuilder;
    import org.jdom.output.Format;
    import org.jdom.output.XMLOutputter;
    public class MergeXMLS {
         public static void main(String[] args) {
              try{
                  SAXBuilder builder = new SAXBuilder();
                  Document books = builder.build("D:/in.xml");
                  Document onebook = builder.build("D:/out.xml");
                  Element root = books.getRootElement();
                  List rows = root.getChildren();
                  for (int i = 0; i < rows.size(); i++) {
                      Element row = (Element) rows.get(i);
                      onebook.getRootElement().addContent(row.detach());
                      System.out.println(row.getName());
                  new XMLOutputter(Format.getPrettyFormat()).output(onebook, System.out);
              }catch(Exception e){
                   e.printStackTrace();
    }

    The above code only add's the first node.
    I changed the code little differently to
                  SAXBuilder builder = new SAXBuilder();
                  Document books = builder.build("D:/in.xml");
                  Document onebook = builder.build("D:/out.xml");
                 //trying to add second xml into the first
                  books.getRootElement().addContent(onebook.getRootElement().getContent()); 
                  new XMLOutputter(Format.getPrettyFormat()).output(books, System.out);
    here is the exception from the above code:
    org.jdom.IllegalAddException: The Content already has an existing parent "address"
         at org.jdom.ContentList.add(ContentList.java:218)
         at org.jdom.ContentList.add(ContentList.java:140)

  • How to merge two cells in a row

    hi freinds,
    how to merge two cells in alv grid using oops.
    for eg ,in the first row there is text premraj
             n in the second row there is cheguri
              my requriment is two merge the two cells ie to remove the horizontal line between them
    thanks & regards,
    premraj

    Well, as a new member you should learn to search the forum first before posting questions. Using keywords like "jtable merge cell" will find other postings on this topic. Some with solutions some without, so you will need to read a few and decide on the approach you want to take.

  • Deleting a search button from the taskbar

    Hello, Microsoft,
    How can I delete a search button from the taskbar?
    I think it is unnecessary, because most of the users use only search line or win + f
    Thanks for answer
    Sincerely yours,
    Max-Coyote

    Hi Max-Coyote,
    Thank you for your suggestions.
    Currently there is no official way to disable the search button on the taskbar.
    Further, we could take use of Windows feedback to submit this request.
    Join the Windows Insider Program to get more frequent preview builds and send your feedback straight to the people building Windows.
    Please follow the steps mentioned in the following article:
    Give us your feedback
    Best regards
    Michael Shao
    TechNet Community Support

  • How to merge two conflicting contact on iPhone and on laptop?

    How to merge two conflicting contacts?
    When syncing my iPhone w/ my Mac laptop, it seems that Apple does not provide an option that allows you to merge the data from two conflicting contacts.  For example, you have a contact on your iPhone for Andy Summer and a contact on your laptop for Andy Summers - one contact contains only Andy's name and email address, the other contact contains only Andy's name and his mailing address.  I'd like to be able to merge the data from these two contacts into one and save it to both, but the Conflict Resolver in the syncing program (I think it's in iTunes) does not offer an option for merging the two.
    Does anyone have any knowledge about 1) how to merge data from two conflicting contacts, or 2) some other way to keep the data from each so that I don't have to choose one over the other?

    Jawad,
    First of all,You need to make teaming on both the interfaces on the server side.Which mode do you want to use? Active-Active or Active-Standby.
    Server side :Active-Active - You need to configure the switch side to be a etherchannel/LACP. It can be done by the commands on the cisco 4006.
    Server side :Active-Standby - You need nothing to do at the switch side.
    Note: Seems PAGP is a proprietary of cisco. Server shouldn't know that. To be bound with mode "on" of "lacp" should be fine. It depends on the server side as well.
    HTH
    Thot

  • How to deselect the Radio button from htmlb.table.TableView

    Hi Experts,
    Could you please help me, how to seselect the Radio button from htmlb.table.TableView?
    <hbj:tableView
                                       id="tbvCustomer"
                                       model="mcBean.csModel"
                                       design="ALTERNATING"
                                       headerVisible="TRUE"
                                       footerVisible="TRUE"
                                       navigationMode="BYPAGE"
                                       selectionMode="SINGLESELECT"                               
                                       fillUpEmptyRows="FALSE"
                                       headerText="Searchresults"
                                       visibleRowCount="10"
                                       onNavigate="CustomerSearchNavigate"
                                       visibleFirstRow="<%=mcBean.getCsVisibleFirstRow() %>">
    Problem: After searching and selecting the Customer in the table, then again we are searching for another customer. After that the searched customer is displaying in the Table. By default the table Radio button is selected. Because for first Customer we have selected the Radio button. How we can deselect the FRadio button while searching for another Customer.
    Thanks In Advance.
    Regards,
    Vijay.

    I think it is <2095>.
    In SmartForms, go to your text window. 
    Use the icon on the top left of the text window to switch to the old editor.
    INSERT -> CHARACTERS -> SAP ICONS. 
    Do a FIND on "radio".  It's called ICON_WD_RADIO_BUTTON_EMPTY.

  • How to merge two repositories using(MUD)

    hi all,
    how to merge two repositories using mude, for example i have sh rpd and paint rpd how to merge two repositories using Multi user development(mud), please don't give venkat forums link and oracle's training doc links.
    Is this possible? if it is possible please help me .
    Thanks
    Naresh

    Hi Naresh,
    What you could do is:
    1. do a ontime command line merge of both repository using the nqudmlexec tool
    2. In the mergerd repository created two project (sh and paint) and assign one bussiness model to each project.
    3. Make this the master repository for your MUD.
    4. Check the projects in and out.
    regards
    John
    http://obiee101.blogspot.com

  • Merge two XML files From java

    hi,
    i'm in need to merge two XML files from my java code please help me as soon......

    Rajesh42 wrote:
    hi,
    i'm in need to merge two XML files from my java code please help me as soon......Hello Rajesh42,
    While it is wonderful that you have discovered the magically code tags, please consider if it is the right time to use them. Code tags should only go round code. Note used to make your posts "stand out", or used to quote other people. Just code.
    As to your question, what have you tried, what are you stuck on?
    Mike

  • How to compare two views/tabels from two systems via RFC

    Hello
    How to compare two views/tabels from two systems via RFC. I know there is a transactio or program but which

    Hi Tina,
    You can use a trnasactions like SCMP, SADJ or SCU0 - all tools to do comparison of customizing objects across clients/systems using RFC.
    Details of these tools, their usage and functionalities are available in the Help Portal -
    [http://help.sap.com/saphelp_47x200/helpdata/en/70/1accb7fab511d18e0f0000e8a48612/frameset.htm]
    Best Regards,
    Rekha

Maybe you are looking for

  • How to switch frames using keyboard

    Hi, I'm new to Actionscript. Now using Actionscript 3.0 I have to switch next or previous frame in timeline using keyboard. I wrote ====================================================================================== stage.addEventListener(Keyboard

  • Preventing stripping style in rich text (rte)

    I would like to customize Rich Text so that it accepts and does not strip <style> tags I feel I could use the beautifier node (htmlRules>serializer>beautifier) like referenced here  : http://dev.day.com/docs/en/cq/current/widgets-api/output/CQ.form.r

  • RMAN-03002: failure of recover command

    Hi all, I am testing a new backup and restore mechanism of a 11.2 system in Linux. A third mirror of the disks from the database server has been split and mounted in a media server. An RMAN backup was taken then, on tape, using HP Data Protector. The

  • TS1410 My Mac is unable to detect an older version of the ipod shuffle, please advice

    My older version of ipod shuffle is not recognized in Mac

  • Import completed movie

    I'm trying to import a completed movie project from dv tape. iMovie 9.0.2 insists on importing it as a bunch of clips AND they're all in the wrong order. What a pain. Can anyone help with that? Thanks, Robin