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

        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>

          People

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

            Dates

            • Created:
              Updated:
              Resolved: