ICEfaces
  1. ICEfaces
  2. ICE-1408

Support standard portlet themes in ICEfaces components

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.4, 1.6DR#3
    • Fix Version/s: 1.7DR#3, 1.7
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      All
    • Affects:
      Compatibility/Configuration
    • Workaround Exists:
      Yes
    • Workaround Description:
      Manually adjust the theme stylesheet.

      Description

      Portlet styling has special requirements. A customer has sent in some changes to one of our existing theme stylesheets that allows his ICEfaces application to be properly displayed in a portlet. I'll include his changes in this case. We'll need to discuss styling requirements for portlets in a more holistic sense when proper support is added to the main framework.
      1. xp-portlet.css
        51 kB
        Neil Griffin
      2. xp.css
        47 kB
        Deryk Sinotte
      1. screenshot-1.jpg
        248 kB

        Issue Links

          Activity

          Hide
          yip.ng added a comment -

          Screenshot showing alternating table row classes and background images after applying the suggested fix.

          Show
          yip.ng added a comment - Screenshot showing alternating table row classes and background images after applying the suggested fix.
          Hide
          Neil Griffin added a comment -

          The attached file is easily diff'able with today's trunk. I deleted some hard coded font colors and some other items that shouldn't be present it portlets.

          Show
          Neil Griffin added a comment - The attached file is easily diff'able with today's trunk. I deleted some hard coded font colors and some other items that shouldn't be present it portlets.
          Hide
          Neil Griffin added a comment -

          In addition to the xp-portlet.css that I just attached, I recommend adding the following entries as well:

          .iceDatTbl

          { margin: 0px; }

          .iceOutConStat

          { margin: 0px; }

          .iceSelOneMnu

          { padding: 1px 1px 1px 1px; }

          .iceInpTxt

          { margin: 0px; }

          .iceOutLbl

          { padding: 1px 4px 1px 0px; }

          .icePnlTbSet

          { background: transparent; }
          Show
          Neil Griffin added a comment - In addition to the xp-portlet.css that I just attached, I recommend adding the following entries as well: .iceDatTbl { margin: 0px; } .iceOutConStat { margin: 0px; } .iceSelOneMnu { padding: 1px 1px 1px 1px; } .iceInpTxt { margin: 0px; } .iceOutLbl { padding: 1px 4px 1px 0px; } .icePnlTbSet { background: transparent; }
          Hide
          Ken Fyten added a comment -

          Please review Neil's suggestions with Adnan as required.

          Show
          Ken Fyten added a comment - Please review Neil's suggestions with Adnan as required.
          Hide
          Adnan Durrani added a comment -

          I do not t see any problems with it.

          Show
          Adnan Durrani added a comment - I do not t see any problems with it.

            People

            • Assignee:
              Unassigned
              Reporter:
              Deryk Sinotte
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: