Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8RC1
-
Component/s: Framework, Sample Apps
-
Labels:None
-
Environment:portals portlets
-
Affects:Sample App./Tutorial
Description
The layout and styling of the Component Showcase portlets is off in testing of Liferay. It was originally thought that is was due to theme/style changes in the latest Liferay (5.2.1) but now looks as though it's due to a recent change in ICEfaces.
Activity
Deryk Sinotte
created issue -
Deryk Sinotte
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Component/s | Framework [ 10013 ] | |
Component/s | Sample Apps [ 10010 ] | |
Fix Version/s | 1.8 [ 10161 ] | |
Assignee Priority | P1 | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Deryk Sinotte
made changes -
Attachment | Component Showcase styling issues.jpg [ 11542 ] |
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Affects | [Sample App./Tutorial] | |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8RC2 [ 10163 ] | |
Fix Version/s | 1.8 [ 10161 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8 [ 10161 ] | |
Assignee Priority | P1 |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
It appears that the regression is due to changes made in
ICE-4070. The simplifying of the code for getting resource URLs means that the outputStyle component was no longer retrieving the necessary stylesheet. This is what we had for each portlet that used to work:<ice:outputStyle href="./css/showcase_style.css"/>
The D2DViewHandler.getResourceURL() method used to correct for this relative URL but no longer does. Changing the portlets to use an absolute URL appears to fix the issue:
<ice:outputStyle href="/css/showcase_style.css"/>