ICEfaces
  1. ICEfaces
  2. ICE-1267

Portlets: rationalize resource URLs for portlet compatibility

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: 1.6DR#5, 1.6
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Operating System: Mac OS X 10.0
      Platform: Macintosh

      Description

      Resources are frequently referred to by hard-coded paths. These paths are not necessarily valid
      in a portlet context and they should not be hard-coded. For instance:

      src/com/icesoft/faces/renderkit/dom_html_basic/TableRenderer.java:

      spacerImg.setAttribute(HTML.SRC_ATTR, base + "xmlhttp/css/xp/css-images/selection_spacer.gif");

      Initially assigning to Deryk to determine the correct path mechanism. The follow-on task will
      likely lie with the component team to uniformly apply that mechanism to all the components.

        Issue Links

          Activity

          Hide
          Adnan Durrani added a comment -

          Tree component is using the new mechanism to resolving path added by Deryk. -revision 13913

          Show
          Adnan Durrani added a comment - Tree component is using the new mechanism to resolving path added by Deryk. -revision 13913
          Hide
          Adnan Durrani added a comment -

          selectInputDate component is using the new path mechanism -revision 13914

          Show
          Adnan Durrani added a comment - selectInputDate component is using the new path mechanism -revision 13914
          Hide
          Adnan Durrani added a comment -

          Menu component is using the new path mechanism -revision 13916

          Show
          Adnan Durrani added a comment - Menu component is using the new path mechanism -revision 13916
          Hide
          Adnan Durrani added a comment -

          PanelPopup and PanelTabSet components are using the new path mechanism -revision 13917

          Show
          Adnan Durrani added a comment - PanelPopup and PanelTabSet components are using the new path mechanism -revision 13917
          Hide
          Deryk Sinotte added a comment -

          Marking as FIXED.

          We've refactored the code so that resource location resolution works in both portlet and servlet environments using a common API ViewHander.getResourceURL. Then changes were checked in and referred under the general portlet improvement case:

          http://jira.icefaces.org/browse/ICE-1478

          Show
          Deryk Sinotte added a comment - Marking as FIXED. We've refactored the code so that resource location resolution works in both portlet and servlet environments using a common API ViewHander.getResourceURL. Then changes were checked in and referred under the general portlet improvement case: http://jira.icefaces.org/browse/ICE-1478

            People

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

              Dates

              • Created:
                Updated:
                Resolved: