Highlight matching word in AutoSuggest

I am using AutoSuggestBehavior component to implement type-ahead feature with inputText component. I am wondering if it is possible to highlight the matching letters in the suggested items.
Here is an example:
Say I have following LOV items:
Oracle Application Server
Oracle JDeveloper
My Oracle Support
Now when I type "Oracle", it should highlight (bold) the text "*Oracle*" within the suggested item. So the suggested items would look like this:
Oracle Application Server
Oracle JDeveloper
My Oracle Support
Is that possible? Is there any custom solution for this?
Thanks!

Hi,
haven't tried, but in a similar use case for tables, I did parse the return values and added HTML markup to it. For example, you can add <b></b> around the string and see if it renders in bold. I think I used a tag that allowed me to use CSS for the color coding. Give it a try, maybe it works for you
Frank

Similar Messages

  • Highlight matching tags, braces, etc in CS5

    The most important feature to me while editing any kind of website code is the ability to quickly see matching tags, names, braces, etc. If I'm not mistaken in Dreamweaver CS4 when you highlighted any "word" in code view, whether it was an html tag or value, css class, javascript variable, etc it would instantly highlight all the instances of the same word throughout the document.
    Does CS5 not have this ability? Can you not get it to highlight matching opening { and closing } braces either?
    The ability to quickly see usage of certain code in this way without going through the extra step(s) to perform a search is so vital to me. How do you handle situations like these where you want to see everywhere that a code is used or to see which braces line up to each other? As in, is there a tool or view preferences that help with this?
    Thanks

    function(){return A.apply(null,[this].concat($A(arguments)))}
    If I'm not mistaken in Dreamweaver CS4 when you highlighted any "word" in code view, whether it was an html tag or value, css class, javascript variable, etc it would instantly highlight all the instances of the same word throughout the document.
    No, Dreamweaver has never done that. CS4 or any other version.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    Does CS5 not have this ability? Can you not get it to highlight matching opening { and closing } braces either?
    DW does not highlight tags but it does offer tools such as balance braces, select parent tag and others in the Coding Toolbar.

  • Why can I not highlight single words in a pdf document with Adobe Reader for Android?

    I, like other users I have seen, am unable to highlight single words or phrases in pdf files.  I am using a Galaxy Note 10.1 tablet.

    Hi,
    Welcome to Adobe forums.
    Please see : http://helpx.adobe.com/acrobat/kb/print-comments-acrobat-reader.html
    I hope this will help you.
    Please let me know, if you need any more help on this.
    ~ Aditya

  • How to highlight specific words in the Reader

    Hi!
    I am new to the Acrobat SDK and could need some guidance on how to solve the following problem:
    I need a plug-in that is able to highlight specific words in a pdf file (e.g. by underlining it or changing the background color) and offers a context menu with futher actions when the user clicks on a highlighted word. The first step would be searching the text to find the word that should be marked. I think that should not be that hard but how can I highlight specific words? I first thought of annotations but I need it in the Reader and I should not change the pdf file itself (just the view of it).
    The idea is similar to the skype plug-in for Firefox or IE. The skype plug-in highlights phone numbers. We need to highlight specific words.
    Thanks for every hint on how to achieve this!
    Fabian

    >The documentation says that AVPageViewHilightText is supposed to use >the current color set with AVPageViewSetColor - so it should work. >What version of Acrobat are you working with?
    Yes that how understood the documentation too. I tried the following:
    //Define red
    red.space = PDDeviceRGB;
    red.value[0] = ASInt32ToFixed(1);
    red.value[1] = 0;
    red.value[2] = 0;
    // highlight
    AVPageViewSetColor(pageView, &red);
    PDTextSelect pdTextSelect = PDDocCreateTextSelect(pdDoc, pageNum, &bbox);
    AVPageViewHighlightText(pageView, pdTextSelect);
    I am using Acrobat 7.0.9.
    >Drawing an image would be done with AVPageViewDrawCosObj
    >- which means you'll need to bring the image in as a PDF
    > object and then render it.
    Oh I should have seen that. Thanks for the hint!!
    >Interesting, there should be a way to get transparency,
    > but I am not seeing it at the moment.
    As far as I understood it, it is possible to set the color to transparent but thats not what I am looking for. I would like to have a way of changing the alpha channel of the color.
    Thanks!
    Fabian

  • I just downloaded Pages. When typing on a blank document, I am unable to highlight certain words.  My daughter usesbitbfor homework and needs to highlight her spelling words.  I've read disucssions and it says gonto the a and enter fill and cg

    I just started using Pages and am trying to figure out how I can highlight certain words in sentences.  I have read some of the discussions and they have said to go to the "a" on the top bar.  When using a blank document, the letter "a" doesn't show up and there isn't an option to fill in or use shadowing.  Help!

    At the top of the screen in Page there is an "I" next to the Media Icon. If you tap that "I" icon - you bring up a menu that has Style as one of the options. Tap Style and you can change the color of the text and use all of the preinstalled Styles available in the app.
    If you swipe all the way to the bottom of the Styles menu- there is a Text Options listed. Tap on that and you can select different sizes, fonts, and text colors.

  • I want to highlight various words in a pages document with a yellow or black box behind the text

    I want to use a highlighter in Pages. I know how to do it in steps.. but would like a shortcut to highlight various words throughout the document with a yellow or black box behind the text.. help

    I got another idea. Create a style with the text and background colour you want. You can apply a short cut for that style. Beware that the styles is only for that particular document but you can import styles or you can use Save as Template and keep it as a template.

  • When composing an email, how do I highlight a word in yellow (NOT change the font color, just highlight)?

    On Windows when composing an email,  I would often highlight a word or sentence in yellow. I don't seem to have this option on my Mac Book Air toolbar as I did when I had on my laptop. How can I add this feature to my toolbar? I don't want to change the font color, just want to highlight a word within the email.
    Thank you,

    Browder-41 wrote:
    How to I copy a Word document into an email without losing the design and colors in the document.  When I copy and paste I only get the typed words.  No design or color.
    You may or may not be able to do this based on which e-mail client or webmail platform you're using.  In your email options, you'll want to have the option to paste it as rich-text or HTML.  If you only have the option for plain text then you're out of luck.

  • How do I add a note or highlight a word in a pdf file in iBooks?

    How do I add a note or highlight a word in a pdf file in iBooks?
    iBooks version 3.1 on iPad 4 running iOS 6.1.3.

    That functionality in iBooks is limted to ebook files and is not available for standard PDFs. Try Adobe Reader.

  • Matching words

    Hi all,
    i have this table , i want to retrieve words that match my word that i used it for search not all characters should match i mean how can i match words without match end of words by 3 or 4 characters that in case of my word more that 5 characters
    create table string_test (id number(9),words varchar2(50));
    insert into string_test  values(1,'Egypt');
    insert into string_test  values(2,'Egyption');
    insert into string_test  values(3,'introduction');
    insert into string_test  values(4,'introduce');
    insert into string_test  values(5,'wellcome');
    insert into string_test  values(6,'comeback');expected results:
    if i search for "introduction"
    the results should be
    3-introduction
    4-introducewhen i search for "Wellc"
    5) results wellcome
    rules:
    when i search for word,i wanst to show all words that match my word by less number of  letters from end by 3 or 4
    (this only if my words more than 4 characters).
    regards                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Ayham wrote:
    when i search for word,i wanst to show all words that match my word by less number of letters from end by 3 or 4
    (this only if my words more than 4 characters).This is the first step on the path which will lead you to re-inventing Oracle Text. [url http://docs.oracle.com/cd/E11882_01/text.112/e24435/overview.htm#CCAPP9001]Find out more.
    Cheers, APC

  • How do you highlight typed words for a calendar event

    how do you highlight typed words for a calendar event on ical?

    See this plugin in for APEX 4.x applications..:http://www.apex-plugin.com/oracle-apex-plugins/dynamic-action-plugin/clarifit-report-instant-search_98.html
    Next time please help us help you.. Post the following information:
    APEX Version
    Database Version
    Browser Version
    Thank you,
    Tony Miller
    Webster, TX
    On the road of life...There are 'windshields', and there are 'bugs'
    (splat!)
    "Squeegees Wanted"
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Double clicking does not highlight entire word in javascript console

    when using javascript console - it fails to highlight entire word if it contains underscores.
    Here is some sample text as it appears in console :
    ERROR - ReferenceError: curr_msg_stream is not defined
    if I double clicked on msg which appears in middle of word : curr_msg_stream
    it fails to highlight entire word ... it will only highlight msg .... google chrome behaves correctly on this

    when using FF this bad behaviour also happens on HTML textfields

  • Count occurrences of matched words

    All,
    Does anyone know the syntax or algorithm to count the occurrences of matched words that where compared from two separate columns or tables? Below is a simple example of the type of comparison I would like to perform. I found the function regexp_count, but it only works in 11g. Unfortunately, I have Oracle 10g. Any help would be greatly appreciated. Thanks
    i.e.
    drop table compare_matched_words;
    create table compare_matched_words (
    query_id number,
    query_string1 varchar2(80),
    query_string2 varchar2(80)
    insert into compare_matched_words values (1, 'oracle 255','oracle1 255');
    insert into compare_matched_words values (2, 'larry or ellison','larry or');
    insert into compare_matched_words values (3, 'oracle and text','and');
    insert into compare_matched_words values (4, 'market1 share','market share');
    insert into compare_matched_words values (5, 'larry or',' larry or ellison');
    insert into compare_matched_words values (6, 'oracle1 255','oracle 255');

    Issue is not in 11g. Before you can solve the task you need to split QUERY_STRING1 and QUERY_STRING2 into words and then compare words for same QUERY_ID. To split string into words use something like:
    select  query_id,
            regexp_substr(query_string1,'\w+',1,column_value) query_string1_word
      from  compare_matched_words t,
            table(
                  cast(
                       multiset(
                                select  level
                                  from  dual
                                  connect by level <= length(regexp_replace(regexp_replace(QUERY_STRING1,'\w+','A'),'[^A]'))
                               ) as sys.OdciNumberList
    SQL> /
               QUERY_ID QUERY_STRING1_WORD
                      1 oracle
                      1 255
                      2 larry
                      2 or
                      2 ellison
                      3 oracle
                      3 and
                      3 text
                      4 market1
                      4 share
                      5 larry
               QUERY_ID QUERY_STRING1_WORD
                      5 or
                      6 oracle1
                      6 255
    14 rows selected.
    SQL> Now:
    select  t1.query_id,
            t1.query_string1,
            t2.query_string2,
            count(*) matchin_word_count
      from  (
             select  query_id,
                     query_string1,
                     regexp_substr(query_string1,'\w+',1,column_value) query_string1_word
               from  compare_matched_words t,
                     table(
                           cast(
                                multiset(
                                         select  level
                                            from  dual
                                           connect by level <= length(regexp_replace(regexp_replace(query_string1,'\w+','A'),'[^A]'))
                                        ) as sys.OdciNumberList
            ) t1,
             select  query_id,
                     query_string2,
                     regexp_substr(query_string2,'\w+',1,column_value) query_string2_word
               from  compare_matched_words t,
                     table(
                           cast(
                                multiset(
                                         select  level
                                            from  dual
                                           connect by level <= length(regexp_replace(regexp_replace(query_string2,'\w+','A'),'[^A]'))
                                        ) as sys.OdciNumberList
            ) t2
      where t2.query_id = t1.query_id
        and t2.query_string2_word = t1.query_string1_word
      group by t1.query_id,
               t1.query_string1,
               t2.query_string2
      order by t1.query_id
               QUERY_ID QUERY_STRING1                  QUERY_STRING2                   MATCHIN_WORD_COUNT
                      1 oracle 255                     oracle1 255                                      1
                      2 larry or ellison               larry or                                         2
                      3 oracle and text                and                                              1
                      4 market1 share                  market share                                     1
                      5 larry or                        larry or ellison                                2
                      6 oracle1 255                    oracle 255                                       1
    6 rows selected.
    SQL> SY.

  • Returning Count of Matching Words Rather than Score

    I'm using the SCORE function that will return a number representing the relevance of the matching search result; however, what the users really want is a COUNT of the number of search results returned within the document. For a search on the word "cat" this would return the number of times the word "cat" appears in the document. Ideally, if the user searched for "(dog and cat) within sentence", the COUNT would be of the number of times both dog and cat occur within sentences in the document; however, it would be acceptable to count the number of matching words in the document individually.
    Does Oracle Text have any way to return this COUNT directly within the results Oracle Text query? I can use a CTX_DOC.MARKUP call to mark the document up and the count the instances of the markup strings, but that's going to be a lot slower than if Oracle supports this out-of-the-box on the original query syntax.

    Yes (in 10g onwards), you need to use a query template with <score algorithm="COUNT"/>
    See here:
    http://www.oracle.com/technology/products/text/x/10g_tech_overview.html#qry_cscore
    Though the example there is a bit confusing since it has algorithm="SCORE" - the option for normal scoring.

  • How to highlight one word?

    Hi
    Is it possible to highlight one word with iWeb?
    So far I am able to only highlight a whole paragraph.

    I tried this and it appears to work. In iWeb open and the page you want to add the highlight go to the bottom of the page and choose shapes. The rectangle will work. This will show up in the middle of your page. Drag it down and reshape it over the word you want to highlight. Click on the inspector icon on the bottom right of the page and highlight the shapes icon. Click on the color fill and choose bright yellow (or what ever you like). The word you want to highlight will be "hidden" behind the yellow rectangle. Choose the opacity function in the same window as the color fill and move it to check if the rectangle is where you want it placed. With the yellow rectangle highlighted go up to the menu bar on the top of your screen and choose arrange- move to back. Bingo. Sounds hard but its not. Just verbose to describe.
    imac   Mac OS X (10.4.8)  

  • How to automatically highlight / bold words in a JTable cell?

    how do i do it?
    i have an Object called Data (where toString() is the same as getDataName()).
    and i want the JTable to either highlight or bold specific words (using the bold HTML tags) that are present in a SortedSet.
    i do not want the dataName to be changed by directly manipulating the Object because the Data Objects were taken from the DB and i need the Objects and the records to be synchronised, and because the words in the SortedSet itself are subject to changes (add/edit/remove).
    thanks.

    Edit: removed
    db
    Cross posted
    http://www.java-forums.org/awt-swing/47138-how-automatically-highlight-bold-words-jtable-cell.html
    Edited by: Darryl Burke

Maybe you are looking for

  • Mail To Mail Scenario

    Hi I have a scenario in which i will read mail from a mailbox and forward it to another mailbox. I have done this. But the problem is with the PDF attachment. I can read a text file as attachment and sent to another mailbox as attchment. But i cannot

  • JVM crash in netbeans 5.0 using JPDA

    It happens almost all the time when I use netbeans 5.0 (jdk1.5.0_06-b05) attaching a remote java process with jpda. And the hotspot err file looks like below. I am not sure if this is due to Windows XP upgrade by the IT guys of my company. Thanks alo

  • OWB on windows - load in linux database

    Hello, Now that I have understood that I need to create a repository owner in the database where I load my data, I'm facing another problem : Using the repository assistant from windows, I have tried to create a repository owner on a linux database,

  • Driver in Jar classpath

    my application is in App.jar when running from command line >java -jar App.jar it is not finding the JDBC:MYSQL driver even though in the JAR manifest there is Class-Path: .......\mysql-connector-java-3.2.0-alpha-bin.jar as an absolute path from root

  • How can I convert a indesign cs4 document to a cs3 or cs3?

    Also is there a way to get indesign cs3 or cs2 for free or free trial?