ICEfaces
  1. ICEfaces
  2. ICE-1153

ice: components wrong applicationbase in portlets

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Operating System: Mac OS X 10.0
      Platform: Macintosh

      Description

      getApplicationBase() in

      com/icesoft/faces/component/ext/taglib/Util.java

      assumes an HttpServletRequest for deriving the path to load component resources, such as images. For
      instance, when running in a portlet context, request.getURI() returns null, even if the request is an
      instance of HttpServletRequest (PortletRequest instances are frequently subclasses of ServletRequest
      instances)

        Activity

        Hide
        Ted Goddard added a comment -

        The following change has been committed to the 1.5 branch and the head:

        svn commit src/com/icesoft/faces/component/ext/taglib/Util.java -m "initial support for ice:
        components in portlets (ICE-1153)"
        Sending src/com/icesoft/faces/component/ext/taglib/Util.java
        Transmitting file data .
        Committed revision 12786.

        Two things are missing: support for pages in subfolders and URL structuring for IE caching ("./"). We
        may want to find a more JSF-friendly way to use relative URLs (such as a different implementation of
        ViewHandler.getResourceURL()).

        Show
        Ted Goddard added a comment - The following change has been committed to the 1.5 branch and the head: svn commit src/com/icesoft/faces/component/ext/taglib/Util.java -m "initial support for ice: components in portlets ( ICE-1153 )" Sending src/com/icesoft/faces/component/ext/taglib/Util.java Transmitting file data . Committed revision 12786. Two things are missing: support for pages in subfolders and URL structuring for IE caching ("./"). We may want to find a more JSF-friendly way to use relative URLs (such as a different implementation of ViewHandler.getResourceURL()).
        Hide
        Ted Goddard added a comment -

        Verified ICEfaces 1.5.2 with helloworld-icefaces-seam-portlet.

        Show
        Ted Goddard added a comment - Verified ICEfaces 1.5.2 with helloworld-icefaces-seam-portlet.

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: