ListBox Search with AS 2.0

This is getting me crazy, although I know there should be a
solution since I found one in Actionscript 1.0; however, I would
like to use AS 2.0.
I have a listbox component that loads XML labels and values
successfully; I added a search field to filter results (or to
search the labels loaded in the listbox). I tried a method for
string search, but it works only with Text Area and not ListBox!
any one can help me with a code in actionscript 2.0 PLEASE !
I'd appreciate anyone can help me in this issue.
Thank you

ok, I already figured a way out to do so in AS 2.0.

Similar Messages

  • How to use ADF Query search with EJB 3.0

    Hi,
    In ADF guide http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_search_bc.htm#CIHIJABA
    The steps to create query search with ADF Business Components says:
    "+From the Data Controls panel, select the data collection and expand the Named Criteria node to display a list of named view criteria.+"
    But with EJB, I'm not able to find Named Criteria node. Can we use ADF query search component with EJB? If yes, can you please show me some example, tutorial etc.?
    Thanks
    BJ

    For EJBs you'll need to implement the query model on your own.
    An example of how the model should look like is in the ADF Faces components demo.
    http://jdevadf.oracle.com/adf-richclient-demo/faces/components/query.jspx
    Code here:
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html

  • How do i change the setting so that when i type something in the address bar, it searches with google. it's started using yahoo and i hate yahoo, i'm even considering leaving firefox

    somethings i type something in the address bar, like 'paypal', mozilla used to go straight to that website, which was helpful... then it started searching with google, this i was not too upset about... however now it has started searching with yahoo, this i am upset about, and i would like to change this, however i do not know how?

    1. Use  free  AdwareMedic by clicking “Download ” from here
        http://www.adwaremedic.com/index.php
        Install , open,  and run it by clicking “Scan for Adware” button   to remove adware.
        Once done, quit AdwareMedic by clicking AdwareMedic in the menu bar and selecting
        “Quit AdwareMedic”.
    2. Safari > Preferences > Extensions
         Turn those off and relaunch Safari to test .
         Turn those on one by one and test.
    3. Safari > Preferences >  Search > Search Engine :
        Select your preferred   search engine.
    4. Safari > Preferences > General > Homepage:
         Set your Homepage.

  • How to enhance the standard search with custom field?

    Hi all,
    I would like to know the general optimal procedure to enhance the standard searches like Opportunity search or Lead search.
    I've gone through some of the threads here. Some suggest, to add the new field using AET and copy the IMPL class of the search and then code the custom logic. Some say, append the new field to the structure of the search object and then implement the BADI.
    I'm actually a bit confused to understand the correct procedure.
    Can someone please help me with a generic procedure to enhance the standard search with a custom field?
    Thanks in advance.

    Hi Maren,
    Once I have got the same development. I have followed the below steps, please check with this. Let me know for further inputs.
      Add new field using Append structure of type ‘XXX’ in search
      Create BADI implementation for Enhancement spot ‘ES_CRM_RF_Q1O_SEARCH’ and include filter ‘BTQOPP’
      Put your logic in BADI implementation – SEARCH method
      Add it in WebUI configuration
      Remove the operator if required
    Regards,
    Swadini Sujanaranjan

  • Searching with in a SharePoint 2013 Document Library

    Hi,
    i want to search document library by passing values from Search box to Search Results webpart. I m not able to search with in the document library although i have configured content source and result sources. 
    With Regards,
    Jaskaran Singh

    You can try using a web form html webpart in a web part page instead.
    Use Designer to add additional search columns and you should be able to create something usable.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to customize quick query to search with SQL in contain keyword

    I want to build simple query using quick query component. But it will search with SQL equal keyword. How can I customize it to use contain keyword instead. That means, I enter 'sc' to return 'scott'.

    Not sure if the technique described here http://tompeez.wordpress.com/2011/08/21/extending-viewcriteria-to-use-sql-contains-4/ can be used for quick query, but you can try ...
    Timo

  • How to search with multiple constraints in the new java API?

    I'm having a problem using the new MDM API to do searches with multiple constraints.  Here are the classes I'm trying to use, and the scenario I'm trying to implement:
    Classes:
    SearchItem: Interface
    SearchGroup: implements SearchItem, empty constructor,
                 addSearchItem (requires SearchDimension and SearchConstraint, or just a SearchItem),
                 setComparisonOperator
    SearchParameter: implements SearchItem, constructor requires SearchDimension and SearchConstraint objects
    Search: extends SearchGroup, constructor requires TableId object
    RetrieveLimitedRecordsCommand: setSearch method requires Search object
    FieldDimension: constructor requires FieldId object or FieldIds[] fieldPath
    TextSearchConstraint: constructor requires string value and int comparisonOperator(enum)
    BooleanSearchConstraint: constructor requires boolean value
    Scenario:
    Okay, so say we have a main table, Products.  We want to search the table for the following:
    field IsActive = true
    field ProductColor = red or blue or green
    So the question is how to build this search with the above classes?  Everything I've tried so far results in the following error:
    Exception in thread "main" java.lang.UnsupportedOperationException: Search group nesting is currently not supported.
         at com.sap.mdm.search.SearchGroup.addSearchItem(Unknown Source)
    I can do just the ProductColor search like this:
    Search mySearch = new Search(<Products TableId>);
    mySearch.setComparisonOperator(Search.OR_OPERATOR);
    FieldDimension myColorFieldDim = new FieldDimension(<ProductColor FieldId>);
    TextSearchConstraint myTextConRed = new TextSearchConstraint("red",TextSearchConstraint.EQUALS);
    TextSearchConstraint myTextConBlue = new TextSearchConstraint("blue",TextSearchConstraint.EQUALS);
    TextSearchConstraint myTextConGreen = new TextSearchConstraint("green",TextSearchConstraint.EQUALS);
    mySearch.addSearchItem(myColorFieldDim,myTextConRed);
    mySearch.addSearchItem(myColorFieldDim,myTextConBlue);
    mySearch.addSearchItem(myColorFieldDim,myTextConGreen);
    the question is how do I add the AND of the BooleanSearchConstraint?
    FieldDimension myActiveFieldDim = new FieldDimension(<IsActive FieldId>);
    BooleanSearchConstraint myBoolCon = new BooleanSearchConstraint(true);
    I can't just add it to mySearch because mySearch is using OR operator, so it would return ALL of the Products records that match IsActive = true.  I tried creating a higher level Search object like this:
    Search topSearch = new Search(<Products TableId>);
    topSearch.setComparisonOperator(Search.AND_OPERATOR);
    topSearch.addSearchItem(mySearch);
    topSearch.addSearchItem(myActiveFieldDim,myBoolCon);
    But when I do this I get the above "Search group nesting is currently not supported" error.  Does that mean this kind of search cannot be done with the new MDM API?

    I'm actually testing a pre-release of SP05 right now, and it still is not functional.  The best that can be done is to use a PickListSearchConstraint to act as an OR within a field.  But PickList is limited to lookup Id values, text attribute values, numeric attribute values and coupled attribute values.  It works for me in some cases where I have lookup Id values, but not in other cases where the users want to search on multiple text values within a single field.

  • Personalized Simple Search with new messageLovInput - Search does not work

    I have currently set an Message LOV Input into a Simple Search Panel for IcxPorRcvSrchPG.
    I have got the LOV bringing back the correct values, but when I hit the GO button the Search does not work.
    Can someome please help me on how I am able to get the search working in the Simple Search Panel.
    Details of VO's are as follows:
    xxReceiveItemsDueVO (extended from ReceiveItemsDueVO)
    xxReceiveMyItemsVO (extended from ReceiveMyItemsVO )
    xxReceivePurchaseItemsVO (extended from ReceivePurchaseItemsVO)
    xxReceiveReqItemsVO (extended from ReceiveReqItemsVO)
    Extended Attribute I am looking to search with is xxWono.
    Current search items are working 100% with extended VO's, but when I try and search with new item, I am having no luck. The search is acting as though the new item has not even been created.
    Additional Lov Details are as follows:
    Level: Site
    Item Style: Message Lov Input
    ID: xxWONumSearch
    Data Type: VARCHAR2
    External LOV: /oracle/apps/icx/lov/webui/WorkOrderLovRN
    Prompt: Work Order Number
    Search Allowed: False
    Search Criteria: False
    Lov Map
    ID: xxWipEntityName
    Criteria Item: xxWONumSearch
    LOV Region: WipEntityName
    Programmatic Query: False
    Required: False
    Return Item: xxWONumSearch
    Framework version: 11.5.10.6RUP
    Is there a way of doing this through Personalization?
    With the version of framework I am not able to add a simpleSearchMapping through Personalization.
    Can someone please advise?
    Thanks
    Lee

    When I generate and then view the help, it looks perfect!  I changed the name of the project folder since the information is proprietary.  I have several pictures including the parent folder and the only 3 folders that are generated.  I cannot find the Webhelp output folder.  I think this is what you need to see.

  • IFS Searching with other Search Engines

    Is it possible to set up iFS searching with or without interMedia) that would work with a search engine for static pages, like Infoseek?
    From an "end-users" point of view, I would like to have them search for a document, some of which may be stored in the database, but others are html pages used for the site.

    You would have to write a custom program which would submit searches to IFS and to your Infoseek search engine, and then combine the results for the end user.
    Or you could use iFS and Intermedia to index the static HTML pages.

  • JSF, encoding,  do not working search with non english words!

    All my pages UTF-8, Database charset set UTF-8, My search with russian words does not working, How can I improve it?

    Update: It seems to be related to the themeLinks in the JSP. I got it working for a second by adding in a missing themelinks link... but it's not working anymore. Huh.
    Ideas?

  • Search with "Current Node + All Subfolders" not functioning correctly

    Hi,
    We are having an issue with the search function of SCCM 2012 Admin Console. We have built multi-level folder structure to SCCM which matches our organizational unit structure in AD.
    The issue occurs when trying to search with "Current Node + All Subfolders" option in a folder to get listing of all collections nested in the structure. As a result we get incomplete list of collections and majority of them are not showing
    up. Sometimes the console even crashes when trying to do this kind of search. Note that this behaviour only occurs when searching inside a folder, not in the device collections root node.
    We managed to trace the SQL query in the above situation from SMSProv.log, and it is as follows:
    select  all SMS_Collection.SiteID,SMS_Collection.CollectionType,SMS_Collection.CollectionVariablesCount,SMS_Collection.CollectionComment,SMS_Collection.CurrentStatus,SMS_Collection.HasProvisionedMember,SMS_Collection.IncludeExcludeCollectionsCount,SMS_Collection.IsBuiltIn,SMS_Collection.IsReferenceCollection,SMS_Collection.LastChangeTime,SMS_Collection.LastMemberChangeTime,SMS_Collection.LastRefreshTime,SMS_Collection.LimitToCollectionID,SMS_Collection.LimitToCollectionName,SMS_Collection.LocalMemberCount,SMS_Collection.ResultClassName,SMS_Collection.MemberCount,SMS_Collection.MonitoringFlags,SMS_Collection.CollectionName,SMS_Collection.PowerConfigsCount,SMS_Collection.RefreshType,SMS_Collection.ServiceWindowsCount from vCollections AS SMS_Collection  where (SMS_Collection.SiteID
    in (select  all Folder##Alias##810314.InstanceKey from vFolderMembers AS Folder##Alias##810314 
    where (Folder##Alias##810314.ObjectTypeName = N'SMS_Collection_Device'
    AND Folder##Alias##810314.ContainerNodeID in
    (16777237,16777374,16777384,16777385,16777375,16777376,16777377,16777378)))
    AND SMS_Collection.CollectionType = 2) order by SMS_Collection.CollectionName
    From this we noticed that not all ContainerNodeIDs are searched, but a list of only 8 ContainerNodeIDs. These ContainerNodeIDs remain the same if the search is done again in the same folder. The same behaviour repeats also in other folders with a different
    list of ContainerNodeIDs.
    For clarification I'll attach a picture which shows our folder structure with ContainerNodeIDs and ParentContainerIDs. We have also marked the containers which were present in SQL statement. From this you can clearly see there should have been far more ContainerNodeIDs
    than listed in the SQL query. Is this a bug in the admin console or could this be a problem with our site database? Is anyone else experiencing similar issues? We have written a custom
    powershell script that reads containers from SMS_ObjectContainerNode WMI-class recursively and is able to return complete list of folders and their subfolders, so we assume that our site database and WMI on site server is functioning correctly.
    We noticed this on CU2 (could have been present also earlier) and updating to CU3 did not fix the problem. Currently we are running SCCM 2012 SP1 CU3 with one primary site. All components besides distribution point is running on the site server. Distrubution
    point is running on a separate server. Our SQL server is running on the site server.
    Best Regards,
    Juha-Matti

    Sorry for the very long delay. I created the ticket in the autumn of last year and just received the final verdict to this issue.
    Microsoft support said they were able to reproduce the problem and that they contacted the product group about this issue. It turns out that this behaviour is by design (wait, what?) and since it is by design there is nothing they
    can/will do about it.
    So the only choice is to request a tailored customization for SCCM2012, which probably in this case (as it is by design) would cost.
    I feel a bit puzzled: how can it be by design if it clearly does not work?

  • When highlighting text and searching with Google, even though my default browser is Chrome, it searches with Safari.  How do I change that?

    Using iMac and Maverick OS.  I have Chrome as my default browser.  I find that going to System Preferences/General under default browser, I note that Chrome is chosen as default, yet the browser "above the line" is Safari and Chrome, while checked off is "below the line".  In other words, the top listed browser is Safari which is unchecked with a line underneath, even though all the other browsers are listed below the line and only Chrome has a check mark. 
    When I am on a website and I select words to search in Google, it always searches with Safari instead of Chrome.  How do I change that?

    Thanks for your response.  I think it was my error in that I did not define the problem properly.  Indeed Chrome is my default browser.  And Maverick does not have a "next line" to default to Google.  I can do that in the Chrome settings. 
    My problem is that when I am in another application.....and it is apparently an application native to Maverick....for example Contacts or Calendar, Reminders, Notes, etc., if I highlight a word or phrase, and right click and choose "search with Google", it defaults to Safari.  How do I change that?

  • Google is set as my search engine but whenever I search something in the address bar it searches with Yahoo! How do I get rid of Yahoo! as my search engine when it is not even set to be my search engine in the first place?

    Google is set as my search engine but whenever I search something in the address bar it searches with Yahoo! How do I get rid of Yahoo! as my search engine when it is not even set to be my search engine in the first place?

    1. Use  free  AdwareMedic by clicking “Download ” from here
        http://www.adwaremedic.com/index.php
        Install , open,  and run it by clicking “Scan for Adware” button   to remove adware.
        Once done, quit AdwareMedic by clicking AdwareMedic in the menu bar and selecting
        “Quit AdwareMedic”.
    2. Safari > Preferences > Extensions
         Turn those off and relaunch Safari to test .
         Turn those on one by one and test.
    3. Safari > Preferences >  Search > Search Engine :
        Select your preferred   search engine.
    4. Safari > Preferences > General > Homepage:
         Set your Homepage.

  • Verity Error - Not letting user search with words NOT,AND,OR, etc. Why??

    I've meticulously created collections of the music on my ecommerce music site.  I am manually stripping off offending characters in the submitted search criteria with this code:
    Trim(REReplaceNoCase(URLDecode(URL.searchcriteria),"[()<>##""'@]"," ","all"))
    Then, if the user has ticked for an "exact word" search, I'm adding double quotes around it, otherwise, leaving it without.  Then submitting it to the right collection for a search with this code (I've substituted ZZZ and XXX for my protection).
    <CFSEARCH NAME="ZZZ" COLLECTION="XXX" type="simple" CRITERIA="#cleanedcriteria#" maxrows="300">
    When a user does not tick "exact match" but types in any phrase that includes any of the Verity operators, they get the following error:
    If you are using type="explicit", you must use Verity Query Language operators such as "<WORD>" or "<STEM>", or surround your search term with quotes. See the documentation for details.
    Pass Me Not
    will throw the error. but
    "Pass Me Not"
    which is passed when someone ticks "exact match" does just fine.
    From what I've read, the simple search is supposed to assume the <WORD> and <MANY> operators, but it's like that's being ignored.  What am I doing wrong, and/or how can I configure this so that my users can type terms, submit, and find what they're looking for?

    I think I finally understand, and am posting the solution here for others' benefit.
    Apparently the simple search is in fact behaving properly and will recognize AND OR NOT as operators instead of part of the search string.  The work around for this is to enclose those words in double quotes.  So that's what I've done.  If the user has not specified an "exact match" search (where I enclose the entire string in double quotes), then I single out these three words and put double quotes around them.  It appears to work beautifully.
    QED, and am happy to have had a complete uninterrupted discussion with myself.
    <cfset cleanedcriteria = ReplaceNoCase(cleanedcriteria,"and","""and""","all")>
    <cfset cleanedcriteria = ReplaceNoCase(cleanedcriteria,"not","""not""","all")>
    <cfset cleanedcriteria = ReplaceNoCase(cleanedcriteria,"or","""or""","all")>

  • How to combine a content search with an attribute search with the API

    Hi
    I have been working with searches in Content Services using the API and I have successfully set up the search over the contents of a document and inside of the Category attributes of the document.
    My problem comes when I try to combine this 2 kinds of search, that is when I want to find all the documents that cointain the text "test" and at the same time contain other text into their category attributes.
    What I do is to build 2 SearchExpression's one for the content search and the other for the attributes search and then joining them in a third SearchExpression object using the FdkConstants.OPERATOR_AND. When I search using only the first or the second SearchExpression everything works fine. But when I do the search using the third SearchExpression an ORACLE.FDK.ParameterError:ORACLE.FDK.InvalidSearchExpression
    exception id raised.
    The code I'm using is like this:
    private SearchExpression getMainSE(String contentQuery, CategoryInfo catInfo)
         SearchExpression contentSE = null;
         SearchExpression catSE = null;
         SearchExpression mainSE = null;
         if(contentQuery != null)
              contentSE = this.setupSE4Contents(contentQuery);
         if(catInfo != null)
              catSE = this.setupSE4Category(catInfo);
         if(contentSE != null && catSE != null)
              mainSE = new SearchExpression();
              mainSE.setLeftOperand(FdkConstants.OPERATOR_AND);
              mainSE.setLeftOperand(catSE);
              mainSE.setRightOperand(contentSE);
         else
              mainSE = contentSE != null ? contentSE : catSE;
         return mainSE;
    CategoryInfo is one class made by my own that contains the categoryId of the document and a List of the attributes where I want to search. mainSE is the SearchExpression that is returned.The portion of code that appears to be having problems is this:
    if(contentSE != null && catSE != null)
         mainSE = new SearchExpression();
         mainSE.setLeftOperand(FdkConstants.OPERATOR_AND);
         mainSE.setLeftOperand(catSE);
         mainSE.setRightOperand(contentSE);
    And finally I only execute the search using the mainSE returned by the function:
    // Define search options
    NamedValue[] nv = WsUtility.newNamedValueArray(new Object[][] {
         { Options.FOLDER_RESTRICTION,
              folder != null ? new Long(folder.getId()) : null },
         { Options.SEARCH_VERSION_HISTORY, Boolean.TRUE } });
         SearchExpression mainSE = this.getMainSE(contentQuery, catInfo);
         try
              // Search documents
              NamedValue[] result = sem.search(mainSE, nv, null);
              // etc....
    Is this the correct way to combine a content search with an attribute search???
    I know that this is possible since I have seen that it can be done in the Collaboration Suite UI.
    I hope yoy can help me...
    Thanks in advance

    Not sure if this is a typo (while pasting code on the forum) or is the cause of the problem you describe.
    Shouldn't mainSE.setLeftOperand(FdkConstants.AND) be replaced by mainSE.setOperator(FdkConstants.AND) ?
    Ravikiran

Maybe you are looking for

  • Unable to pass variables from IRPT to on demand MDO in MII v12.2

    Hi all, Here is what I am trying to achieve - to pass an order input value from front end and fetch the results through on demand MDO. STEP 1: Created a BLS transaction with input parameter order and tested it to get Output XML - SUCCESSFUL. STEP 2:

  • Cash Receipts and Payment for Daily Z program

    HI Client requriement for Daily Cash book like that cash Receipts and Payment for day wise display one report .Is any SAP standed report is there? How to deveop to g report with abap... Any standed report copy? Regards prasad

  • Color wrong when printing to Canon i9950 from CS5 apps and Acrobat, Win7 x64

    When printing from InDesign CS5 on Win 7 x64 to Canon i9950 using the  Canon ICM profiles (MP1, PR1, PR2, SP1) the colour output is completely  wrong! I disable the printer driver in the print prefs  (set to "manual") and under "color management" cho

  • Trouble with loading external mp3 files

    I apologize for the length of the post. I hope this is clear of what I am trying to explain. My problem deals with getting "undefined" when I press a button to load an external mp3 files. The following is what my XML childNode looks like: <option pho

  • Mass Receipt Printing (T-Code FPREPTM) - To be tracked in CORRHIST??

    Hi Experts, For Mass Receipt Printing(T-Code FPREPTM), with a specific BP/CO/CA, after the button 'Schedule Program run' is pressed, we need to create an entry in Transaction CORRHIST. Can anyone please suggest how this could be achieve? Thanks a lot