MyFaces Tomahawk
  1. MyFaces Tomahawk
  2. TOMAHAWK-302

Problem w/ InputSuggestAjax popup suggestion list

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      Win2K, IE 6.0.2800, MyFaces Nightly Build

      Description

      The InputSuggestAjax popup div that contains the list of suggestions is misaligned, missing mouse rollovers and items are not clickable. Look at the sandbox example.

        Activity

        Hide
        Chris Barlow added a comment -

        screenshot of InputSuggestAjax popup div issue

        Show
        Chris Barlow added a comment - screenshot of InputSuggestAjax popup div issue
        Hide
        Martin Marinschek added a comment -

        I don't see what you see obviously you are missing the styles for inputSuggestAjax, and this might be due to the fact that your extensionsFilter is not setup properly.

        What I do see is that obviously a recent fix to the inputSuggestAjax CSS has introduced another problem - MYFACES-705 is connected to this. I asked Volker if he would change his patch, if he doesn't, we'll need to revert the patch for this bug. Please keep me updated on this problem!

        regards,

        Martin

        Show
        Martin Marinschek added a comment - I don't see what you see obviously you are missing the styles for inputSuggestAjax, and this might be due to the fact that your extensionsFilter is not setup properly. What I do see is that obviously a recent fix to the inputSuggestAjax CSS has introduced another problem - MYFACES-705 is connected to this. I asked Volker if he would change his patch, if he doesn't, we'll need to revert the patch for this bug. Please keep me updated on this problem! regards, Martin
        Hide
        Mike Kienenberger added a comment -

        Chris,

        Can you confirm whether you're seeing errors like this when you first load the page? If so, does the problem "clear up" after you've resubmitted or reloaded the page? I'm seeing a general issue where the page resources aren't being found when a session is first created (by prepending the

        Show
        Mike Kienenberger added a comment - Chris, Can you confirm whether you're seeing errors like this when you first load the page? If so, does the problem "clear up" after you've resubmitted or reloaded the page? I'm seeing a general issue where the page resources aren't being found when a session is first created (by prepending the
        Hide
        Mike Kienenberger added a comment -

        Ok. I can't seem to post the same errors errors into the web page.

        But if you have resource loading errors somewhat like this with a semicolon before jsession, you could be having the same problem.

        org.apache.myfaces.component.html.util.MyFacesResourceLoader.serveResource(MyfacesResourceLoader.java:144)
        Unable to find resource resource/date.js jsessionid=460q0o5pdbm8f
        for component calendar.HtmlCalendarRenderer. Check that this file is
        available in the classpath in sub-directory /resource of the
        package-directory.

        Show
        Mike Kienenberger added a comment - Ok. I can't seem to post the same errors errors into the web page. But if you have resource loading errors somewhat like this with a semicolon before jsession, you could be having the same problem. org.apache.myfaces.component.html.util.MyFacesResourceLoader.serveResource(MyfacesResourceLoader.java:144) Unable to find resource resource/date.js jsessionid=460q0o5pdbm8f for component calendar.HtmlCalendarRenderer. Check that this file is available in the classpath in sub-directory /resource of the package-directory.
        Hide
        sean schofield added a comment -

        I wonder if this is the same problem I am having with tree2? I am getting ClassNotFound for classes during the resource loading process. Both Chris and I are running through JBuilder (regular mode - not debug.) I suspect there is a flaw in the classloader stuff of MyFaces. It should be able to handle running through an IDE.

        Show
        sean schofield added a comment - I wonder if this is the same problem I am having with tree2? I am getting ClassNotFound for classes during the resource loading process. Both Chris and I are running through JBuilder (regular mode - not debug.) I suspect there is a flaw in the classloader stuff of MyFaces. It should be able to handle running through an IDE.
        Hide
        Mike Kienenberger added a comment -

        Sean,

        I guess it's possible. Try changing the first line of

        org.apache.myfaces.component.html.util.AddResource.serveResource()

        from

        String uri = request.getRequestURI();

        to

        String uri = request.getContextPath() + request.getServletPath() + request.getPathInfo();

        and see if it makes a difference.

        Show
        Mike Kienenberger added a comment - Sean, I guess it's possible. Try changing the first line of org.apache.myfaces.component.html.util.AddResource.serveResource() from String uri = request.getRequestURI(); to String uri = request.getContextPath() + request.getServletPath() + request.getPathInfo(); and see if it makes a difference.
        Hide
        Matthias Weßendorf added a comment -

        hi. is there any update on this topic?

        Show
        Matthias Weßendorf added a comment - hi. is there any update on this topic?
        Hide
        Martin Marinschek added a comment -

        This should be fixed by Mike's suggestion, which has already been implemented.

        Show
        Martin Marinschek added a comment - This should be fixed by Mike's suggestion, which has already been implemented.

          People

          • Assignee:
            Mike Kienenberger
            Reporter:
            Chris Barlow
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development