ICEfaces
  1. ICEfaces
  2. ICE-1608

<ice:inputFile/> no longer supports the "cssFile" attribute

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.6DR#4
    • Fix Version/s: 1.6
    • Component/s: None
    • Labels:
      None
    • Environment:
      Win XP / Tomcat 5.5.17

      Description

      Back in 1.5.3, the <ice:inputFile/> component had a "cssFile" attribute, which enabled the developer to provide CSS files that would be applied to the rendered <iframe> page.

      InputFile.java has a getCssFile() method, like this:

          public String getCssFile() {
            return null;
          }

      But as you can see it doesn't return anything. In addition, it does not have a setCssFile() method.

      Being able to apply a CSS file to the rendered <iframe> page is critical in portlet environments. In the case of Liferay, there is a portal "theme" that is in the form of a CSS file, like this:

      http://localhost:8080/html/themes/desktop/css/main.css?companyId=1&languageId=en_US&themeId=desktop&colorSchemeId=01

      Without it, the <ice:inputFile/> component does not look like the containing portal page.


      Neil

        Issue Links

          Activity

          Hide
          Ken Fyten added a comment -

          The cssFile attribute has been deprecated in 1.6 as it does not follow the ICEfaces Comp. Suite CSS styling conventions.

          With 1.6, the ICEfaces theme styling is injected into the inputFile iframe automatically.

          We'll need to tackle the general portlet theme support in ICE-1408, which should also cover this case.

          Show
          Ken Fyten added a comment - The cssFile attribute has been deprecated in 1.6 as it does not follow the ICEfaces Comp. Suite CSS styling conventions. With 1.6, the ICEfaces theme styling is injected into the inputFile iframe automatically. We'll need to tackle the general portlet theme support in ICE-1408 , which should also cover this case.

            People

            • Assignee:
              Unassigned
              Reporter:
              Neil Griffin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: