ICEfaces
  1. ICEfaces
  2. ICE-3714

outputResource should not render as a div

    Details

    • 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

        Paul van Rossem created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 1.8.3 [ 10211 ]
        Ken Fyten made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Salesforce Case []
        Fix Version/s 2.1 [ 10241 ]
        Fix Version/s EE-1.8.2.GA_P04 [ 10280 ]
        Affects [Documentation (User Guide, Ref. Guide, etc.)]
        Assignee Priority P3
        Assignee Adnan Durrani [ adnan.durrani ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 1.8.3 [ 10211 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25905 Tue Oct 11 20:03:16 MDT 2011 adnan.durrani Fix for ICE-3714 (outputResource should not render as a div)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/CSS_DEFAULT.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/outputresource/OutputResourceRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25906 Tue Oct 11 20:14:38 MDT 2011 adnan.durrani Fix for ICE-3714 (outputResource should not render as a div) icefaces 2
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/outputresource/OutputResourceRenderer.java
        Commit graph MODIFY /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/CSS_DEFAULT.java
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Adnan Durrani added a comment - - edited

        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">
        .iceOutRsr

        { display:inline; }

        </style>

        Show
        Adnan Durrani added a comment - - edited 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"> .iceOutRsr { display:inline; } </style>
        Adnan Durrani made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.1-Beta2 [ 10294 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Adnan Durrani
            Reporter:
            Paul van Rossem
          • Votes:
            13 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: