Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.2
-
Fix Version/s: 2.1-Beta2, 3.0, EE-1.8.2.GA_P04
-
Component/s: ICE-Components
-
Labels:None
-
Environment:any
-
Assignee Priority:P3
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
The <ice:outputResource> component should not render as a <div> ... </div> section as that prevents it to be used inside normal text flow.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Div allows to render outputResource component uniformly regardless of if it was rendered as a button or a link, in addition to that it helps outputResource component to render/unrender dynamically.
Removing the div would break the backward compatibility, and would require a change to existing applications.
To provide the solution we have added a default style class to the outputResource component named as "iceOutRsr". It doesn't contain any style information, but would allow you to set display inline at application level (e.g.)
<style type="text/css">
{ display:inline; }.iceOutRsr
</style>