Search Highlight Error

I am using Calvin Ly's method for highighting search using
RoboHelpHTML X5. Everything works well until I get to the topic.
Yes, the search words highlight but Help freezes as I get a
Microsoft Internet Explorer error message. The IE error message is:
Internet Explorer cannot open the Internet site
http:/xprodapp1:9999/ptsmrhelp/PTSMR_ICMS.html
Note: PTSMR_ICMS.html is the home page.
Thank You!

1)Thanks for your reply Peter. I answered your questions in
<< parens>> within your answer below.
2)If I cannot resolve the problem, would removing the js file
allow Help to work (I know I won't get the search highlight).
Nothing to do with the script. Open the js file in a text
editor to see what it contains.<<Nothing that I see but I'll
look it over some more in case I missed something>> I've not
seen any problems like this reported regarding the use of this
script. Have you followed the instructions from my
site?<<Yes>
I notice you have an html extension. RH uses htm and I don't
know if Calvin's script will work with html. Try it in a test
project using just htm files. <<It did not seem to make a
difference>>

Similar Messages

  • Error 'this.node.parentNode is null or not an object' with search highlight in certain topics

    goto
    http://www.afas.nl/profithelp/2_8_2/SE/index.htm
    Click 'zoeken' (search)
    Be sure that 'Zoekresultaten markeren' (search highlight) is
    checked
    Type 'activa'
    Click the topic 'activa'
    An error is displayed in the bottom left corner:
    'this.node.parentNode is null or not an object'
    If search highlight is not used, the error is not displayed.
    Any ideas?

    I think I have it, but it's almost unbelieveable.
    In the activa topic, the word is highlighted up to a point.
    Coming to the next instance of activa, you have this code:
    <li class=p-BulletedList><p
    class=BulletedList><b><span style="font-weight:
    normal;">V:</b> v</span>aste activa waarop wordt
    afgeschreven (Dit is de standaard waarde) . . . </p>
    Note the superfluous <b> and </b> tags,
    especially with the <span> calling for normal font-weight.
    Suppose this is a valid string. Because the opening tags are
    <b><span . . .>,
    the closing sequence should be
    </span>...</b>
    I'm not sure exactly why the error does what it does.
    Perhaps this is a simple html error that happens to come in
    an awkward place, or
    Because the browser expects </span> first, it treats
    </b> as text, so the <b> never gets closed, which
    confuses the search highlight script.
    I've run into something like this before. Repeated
    application, changes and deletion of font attributes in
    approximately the same place sometimes results in confused tags.
    Similarly, when you apply a build tag to styled text, and perhaps
    change the font attribute, opening and closing tags get confused.
    It may depend on the precise locations where you started and ended
    your highlights during editing.
    You'd expect this to be a harmless html error, but in this
    case, it breaks the highlight code, I believe.
    You're in a better position to test this than I am, so I
    await your results.
    Harvey

  • RH9 Search highlighting color won't stick

    When you use the Search feature and select "Highlight search results" the default color is gray. The word or phrase you're searching for displays in gray in all the topics in your search results.
    From a usability standpoint, gray is a really bad color for highlighting. People are used to yellow, so if they saw that they would know what it means. Other colors would also send the correct message. But I kept getting emails from people asking me what's wrong with the online help because their screen was peppered with gray splotches.
    So I went in and changed the highlighting color in the Webhelp > Search > Search Options dialog. All was well, until the next time I compiled the project. The color choice reverted to gray. Apparently you must go in and make your color choice EVERY TIME you update a project. If Adobe had chosen any color but gray as the default, I'd just leave it.
    This is a problem because my project consists of one parent and about 20 child projects. I went in and changed the search highlighting color in all 21 projects, only to learn that the ones I'd since updated were displaying their highlights in gray. So users were getting blue highlights in some search results topics, and gray in others. It shouldn't do this.
    If there's a fix, please advise.
    Thank you!

    Hi there
    Hopefully Peter won't mind my offering another possible suggestion.
    Try creating a new Single Source Layout. Just right-click the Single Source Layouts pod and create a new layout. My thought here is that perhaps the file holding the recipe for that layout may have somehow become a bit corrupt and creating a new SSL recipe may make things finally "stick".
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Weird characters in search highlight

    I tried using Calvin Ly's search highlight technique. It
    works fine for a while and then mu users get weird little square
    characters displaying in bulleted lists in their browsers. Has
    anyone else experienced this problem? Know of a fix? If I do not
    use the search highlight (just plain search) I don't have this
    problem.
    RH HTML X5
    Thanks in advance.

    As a matter of fact, I ran into this sitation yesterday (a
    tiny square box above all list items).
    I did the only thing that occurred to me: I deleted six image
    map hyperlinks on a workflow graphic, and then re-created them.
    All fixed! I have no idea if this'll help you or not.
    Good luck,
    Leon

  • WebHelp Search Highlighting Revisited (RH7)

    I like RH7's built-in search highlighting feature,
    particularly after applying Adobe's update to 7.02.001 (see P.
    Grainge's item 32 under Using RoboHelp 7, the fix/replacement for
    whtopic.js). However, I swear that my current project is behaving
    differently from my initial trial using RH7 demo (with the fix,
    using IE v6). Perhaps I hadn't noticed it before,
    but the entire phrase or sentence or paragraph (this varies)
    containing each found and highlighted
    word
    is displayed bolded!
    Was this intended? Has anyone else noticed this? Did I
    unknowingly toggle some setting or corrupt a style? It's quite
    distracting and my customer doesn't like it. I did verify that the
    whtopic.js file in the generated WebHelp files collection does
    contain the fix.
    I thought it might be related to whether the found word (or
    any other in the surrounding original text) was bolded, but this
    happens in paragraphs even where I have not used any bolding. I'm
    puzzled -- or is this a "feature"?
    Thanks as always to this helpful and responsive community!
    Steve Peterson

    Aha! Persistence pays off. I found and removed "font-weight:
    bold;"
    and "font-style: normal" from the definition of style "span"
    in my master style sheet, leaving "span"'s definition empty. RH7's
    Format / Styles editor window now shows "span + " as the definition
    of "span" under Character.
    The highlighting feature now works as it should, simply
    highlighting the found item(s) as formatted. Starting to get the
    hang of Styles, I guess...
    Cheers!
    Steve

  • Hide search highlight once in a topic?

    Hi all,
    RH version: 11.0.0.179
    SSL: Multiscreen HTML5 - Desktop screen profile only
    IE version: 9
    Is there a built-in widget/thing to add a button to a topic to hide the search highlighting? To be clear, I want the search highlight on, but I want users to be able to turn it off once they have found the topic they need. I've done a little searching in the help and online, so I suspect there isn't, but want to make sure.
    If there isn't a built-in function, does anyone know if there is a way to add my own button/javascript? I can read other's code and do a little bit of scripting, but only really basic stuff.
    Thanks for your help

    The widget does the highlighting by reading the url. You will find ?rhsearch=searchstring added to the URL. Once the highlighting is applied, you can remove it with lots of JavaScript. An easier solution may be to create a button to reload the page without the highlight option in the url. A button could do:
    document.location = location.protocol + '//' + location.host + location.pathname
    Kind regards,
    Willam

  • Please correct the highlighted error and try again

    Body

    We cannot post within next 2 minutes after posting.
    Sometimes, there could be some invalid html.
    You can see the highlighted error which explains the problem, correct it and post again.
    Hope this helps.
    -------------------If this post helped you, click on accept as solution.------------------
    -----------------------------Appreciate by clicking on white star.----------------------------

  • Search highlights from external highlight server

    In Acrobat Reader 9, under Edit > Preferences > Search, the "Enable search highlights from external highlight server" option is by default set to false. For those of us who use third party search engines to search PDF files on the web, this is a disaster. The only way to enable hit highlighting in this situation is to have users change their settings manually, which is a lot to ask of people who are not tech savvy.
    Does anyone know of a solution to this problem? Would Adobe change the default settings to true in future versions? Is there some kind of workaround?
    Thanks,
    Simon

    Why did Adobe change the defaut? I am installing dtSearch and it works great in Adobe 8 and below. But Adobe changed version 9 changed and so now the hits do not show and the "Jump to next Hits" and "Jump to previous Hits" does not show on the Adobe toolbar.
    My problem is that this makes dtSearch look bad - like their search page is no good.
    If I create web pages using dtSearch, the users will not know enough to set the Enable search highlights from external highlight server.
    Even if I put a big note on the web page, I know that people will not read it and they will think that the web page is buggy.
    I sure wish Adobe would put this back and make Enable search highlights from external highlight server the default.

  • Case-insensitive Search-Highlighting doesn't work..

    Hi,
    I've got a poblem using the character-highlighting in report regions...
    There are some html-tags in the searched data, perhaps this can cause some problems?
    They work, but they don't highlight case-insensitive...
    Where could be the error?
    Message was edited by:
    tensai

    Lucky enough the forum itself works again ;)
    Keep cool, otherwise they "improve" again the forum and it will be down for a whole week!
    In any case, this kind of posts should be directed to the Members Feedback forum... (Community Feedback (No Product Questions)

  • Search report - error-no data found when printing to csv format

    Hi all,
    I have a search report,
    I have 4 select list and two text field and two date field to search for the result.
    I have even put the computation for the select list items in
    on load - before header ie setting the items to default value.
    Still when i try to print it in the csv format , and try to open the excel, it is saying "no data found" error
    Please, Could any one give me a solution to solve this bug?
    Note: Ordinary report is getting printted in the csv format.
    Thanks in advance
    bye
    Srikavi

    Hi Denes and Scott,
    sorry, only when i select the values for all the 4 select list
    csv is working. default values are not restored in the session.
    How to restore the values in the session state after pressing the search button.
    i have set the default values for the select list and the query is working fine
    but when i see the session from the toolbar the default values are not present.
    but when i see the debug from the toolbar the values are set properly.
    @Denes
    In your example the session is showing the values of the select list and check box
    The same way i did, but in "session" values are not seen so again no data found is seen when printing csv .
    Bye
    Srikavi

  • Is there a way to NOT have the data from a formatted search highlighted

    Hi all,
    I have a formatted search that returns a big chunk of data, some comments that are then added to. When the fs is fired, it returns the data, but all of the data is highlighted so when the user starts typing they overwrite the data that was just returned. I know they could just hit the right arrow key or click their mouse at the end, but they don't do that half of the time. I also know they could use ctrl-z or undo when they do this, but they don't do that either. It would just be nice if they could fire the fs and when the data is returned, the cursor would be at the end of the data.
    Any thoughts?

    I don't think there are any options for you to change default system behavior like this.  What you may do is to change your FMS logic to get only one record if possible. Post your query here if you can.
    Thanks,
    Gordon

  • Wdr:select_options and highlight Error Message with a Link to Inputfield

    Hi,
    I have created a InputField on a View using WDR_SELECT_OPTIONS. I want to validate this Input Field and give
    Error Message, when User fill it with wrong Values. How can we achieve this and important is to mark it on Screen WITH a RED STAR. ( e.g. highlighted )
    Thanks!
    Best Regards
    Beserithan Malabakan

    I've not tried it with select options before, but you might wan to have a look at setting the REPORT_ATTRIBUTE_ERROR_MESSAGE method of the message object.  This way the message gets attached to any UI element bound to the context attribute you issue the message for. But as I type this and think about it some more; I see where the problem lies.  The Select Options component doesn't follow an approach of cross component context binding.  It dynamically generates its own context.
    If I had a little more time I would test this out; but it might be worth your while to research.  When you initialize the Select-Options, you normally get access to the interface controller:
    data: l_ref_cmp_usage type ref to if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_select_options( ).
      if l_ref_cmp_usage->has_active_component( ) is initial.
        l_ref_cmp_usage->create_component( ).
      endif.
    * get a pointer to the interface controller of the select options
    *component
      wd_this->lv_wd_select_options =
           wd_this->wd_cpifc_select_options( ).
    * init the select screen
      wd_this->lv_sel_handler =
           wd_this->lv_wd_select_options->init_selection_screen( ).
    This interface controller (LV_WD_SELECT_OPTIONS in my case). Has a GET_API method that returns the component controller.  In turn you might be able to access the context of the Select-Options directly. Its a crazy idea, but worth a try.

  • Search Help Error while Publishing Query in Explorer

    Hi All,
    We have upgraded BW from version 3.1 to BI 7.0. SP level is 15. When we publish query in Explorer, selection screen appears, we get error in selecting variable(Fiscal Year/Period) entries from search help. After selecting a value from a list of possible entries, the format is changed on the screen.
    For example:
    If we select 002.2002 for variable FiscalYear/Period, we get
    002 02 i.e. it is truncating 20 from 2002.
    Now, we have to manually enter the values.
    While executing query in BEx analyser, no such error occurs.
    What will be the solution?
    Regards,

    887188 wrote:
    Hi,
    I have added the below query in the EBS dataset to retrieve only unique applications as APPLICATION_NAME column has some duplicate data. I imported data to DB.
    select distinct(APPLICATION_NAME) as NAME from APPLICATIONIs there any table in OIM schema which you have named APPLICATION? AFAIK, applications from EBS are imported into Lookups in OIM and you will have to query lookup to get the Application name in OIM.
    But, when I try to filter on application I get below error
    Internal Exception: java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
    Error Code: 936
    Call: select distinct(APPLICATION_NAME) as NAME from APPLICATION WHERE UPPER ( DISTINCT(APPLICATION_NAME) ) like UPPER('%%') The UPPER ( DISTINCT(APPLICATION_NAME) ) like UPPER('%%') clause here is wrong. What are you trying to achieve through this query?
    >
    >
    -Bikash

  • Search Feature error RoboHelp 10

    RoboHelp 10.  Opened project in Window 7.   When Webhelp is generated Search feature not working.  Error: Failed to initialize database. It was working in Windows XP.
    What do I do?

    Hi there
    Seems a similar thread had the same issue. See if the thread linked below has any value in helping fix this:
    Click here to view
    Of particular note, I think there were some PDF files in Baggage that caused the issue.
    Cheers... Rick

  • Search Box Error: LockFailedException Illegal hex characters

    When I enter any data into the JDeveloper Search Box (top right hand side of the IDE) the IDE throws up an error and wants to exit telling me that the system is unstable.
    This is a new install of Oracle JDeveloper 11g Release 1 11.1.1.2.0, everything worked fine in the previous version of JDeveloper I was using.
    I've tried restarting JDev and rebooting my PC, but the problem persists. It seems to be a problem with projects converted from the previous JDev version as well as for new projects.
    The Details of the error message are:
    19/11/2009 2:54:27 PM oracle.ideimpl.searchbar.index.IndexProvider searchProject
    SEVERE: Failed to search project AdminConsole.jpr
    oracle.ide.index.LockFailedException: java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: ".j"
         at oracle.ideimpl.index.IndexRoot.lock(IndexRoot.java:319)
         at oracle.ideimpl.index.IndexImpl.lock(IndexImpl.java:161)
         at oracle.ideimpl.searchbar.index.IndexProvider.searchProject(IndexProvider.java:272)
         at oracle.ideimpl.searchbar.index.IndexProvider.search(IndexProvider.java:178)
         at oracle.ideimpl.searchbar.BaseController$SearchTask.run(BaseController.java:213)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: ".j"
         at java.net.URLDecoder.decode(URLDecoder.java:173)
         at java.net.URLDecoder.decode(URLDecoder.java:83)
         at oracle.ide.util.PatternFilter.matchesImpl(PatternFilter.java:285)
         at oracle.ide.util.PatternFilter.matches(PatternFilter.java:138)
         at oracle.ide.util.PatternFiltersOptimizer$VanillaEvaluator.matches(PatternFiltersOptimizer.java:118)
         at oracle.ide.util.PatternFiltersOptimizer.getMatchingFilter(PatternFiltersOptimizer.java:184)
         at oracle.ide.util.PatternFilters.findMatchingFilter(PatternFilters.java:145)
         at oracle.ide.util.PatternFilters.isIncluded(PatternFilters.java:164)
         at oracle.ide.util.IntersectedFilters.isIncluded(IntersectedFilters.java:145)
         at oracle.ideimpl.index.file.AbstractFileTable.filePassesFilters(AbstractFileTable.java:706)
         at oracle.ideimpl.index.file.DirFileTable.updateDir(DirFileTable.java:368)
         at oracle.ideimpl.index.file.DirFileTable.processQueue(DirFileTable.java:288)
         at oracle.ideimpl.index.file.DirFileTable.fullUpdate(DirFileTable.java:201)
         at oracle.ideimpl.index.file.DirFileTable.updateFileTable(DirFileTable.java:136)
         at oracle.ideimpl.index.file.AbstractFileTable.update(AbstractFileTable.java:379)
         at oracle.ideimpl.index.file.AbstractFileTable$FileTableUpdater.call(AbstractFileTable.java:914)
         at oracle.ideimpl.index.file.AbstractFileTable$FileTableUpdater.call(AbstractFileTable.java:903)
         ... 5 more
    oracle.ide.index.LockFailedException: java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: ".j"
    o.ii.index.IndexRoot.lock(IndexRoot.java:319)
    o.ii.index.IndexImpl.lock(IndexImpl.java:161)
    o.ii.searchbar.index.IndexProvider.searchProject(IndexProvider.java:272)
    o.ii.searchbar.index.IndexProvider.search(IndexProvider.java:178)
    o.ii.searchbar.BaseController$SearchTask.run(BaseController.java:213)
    j.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    j.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    j.util.concurrent.FutureTask.run(FutureTask.java:138)
    j.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    j.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    j.lang.Thread.run(Thread.java:619)
    Caused by:
    java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: ".j"
    j.net.URLDecoder.decode(URLDecoder.java:173)
    j.net.URLDecoder.decode(URLDecoder.java:83)
    o.i.util.PatternFilter.matchesImpl(PatternFilter.java:285)
    o.i.util.PatternFilter.matches(PatternFilter.java:138)
    o.i.util.PatternFiltersOptimizer$VanillaEvaluator.matches(PatternFiltersOptimizer.java:118)
    o.i.util.PatternFiltersOptimizer.getMatchingFilter(PatternFiltersOptimizer.java:184)
    o.i.util.PatternFilters.findMatchingFilter(PatternFilters.java:145)
    o.i.util.PatternFilters.isIncluded(PatternFilters.java:164)
    o.i.util.IntersectedFilters.isIncluded(IntersectedFilters.java:145)
    o.ii.index.file.AbstractFileTable.filePassesFilters(AbstractFileTable.java:706)
    o.ii.index.file.DirFileTable.updateDir(DirFileTable.java:368)
    o.ii.index.file.DirFileTable.processQueue(DirFileTable.java:288)
    o.ii.index.file.DirFileTable.fullUpdate(DirFileTable.java:201)
    o.ii.index.file.DirFileTable.updateFileTable(DirFileTable.java:136)
    o.ii.index.file.AbstractFileTable.update(AbstractFileTable.java:379)
    o.ii.index.file.AbstractFileTable$FileTableUpdater.call(AbstractFileTable.java:914)
    o.ii.index.file.AbstractFileTable$FileTableUpdater.call(AbstractFileTable.java:903)
    j.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    j.util.concurrent.FutureTask.run(FutureTask.java:138)
    j.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    j.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    j.lang.Thread.run(Thread.java:619)
    About
    Oracle JDeveloper 11g Release 1 11.1.1.2.0
    Studio Edition Version 11.1.1.2.0
    Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
    Copyright © 1997, 2009 Oracle and/or its affiliates. All rights reserved.
    IDE Version: 11.1.1.2.36.55.36
    Product ID: oracle.jdeveloper
    Product Version: 11.1.1.2.36.55.36
    Version
    Component     Version
    =========     =======
    ADF Business Components     11.1.1.55.36
    Java(TM) Platform     1.6.0_14
    Oracle IDE     11.1.1.2.36.55.36
    Versioning Support     11.1.1.2.36.55.36

    :) yeah it's a super useful search box especially with projects with lots of files nested down in some deep packages ;p
    The interesting thing is I'm not searching for .j.
    The same error message comes up regardless of what I search for.
    For example:
    MyFile.txt
    or
    FuBar
    both return the same error and both report errors list .j and Illegal hex characters.... it must be some weird config thing under the hood that got munted during the install.
    Edited by: T-Syd on Nov 20, 2009 9:36 AM

Maybe you are looking for