ICEfaces
  1. ICEfaces
  2. ICE-4389

Make it configurable so the dataExporter component can renderer an image for the link that creates a file

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 1.8.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      dataExporter + img

      Description

      Make it configurable so the dataExporter component can renderer an image for the link that creates a file.

        Issue Links

          Activity

          Adnan Durrani created issue -
          Adnan Durrani made changes -
          Field Original Value New Value
          Assignee Adnan Durrani [ adnan.durrani ]
          Adnan Durrani made changes -
          ICEfaces Forum Reference http://www.icefaces.org/JForum/posts/list/12499.page#49527
          Salesforce Case []
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 1.8.1 [ 10170 ]
          Assignee Priority P3
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #18803 Fri Apr 24 15:56:57 MDT 2009 adnan.durrani Fix for ICE-4389 (Make it configurable so the dataExporter component can renderer an image for the link that creates a file )
          - New attribute added "clickToCreateFileImage"
          - Exposed existing "image" attribute as well, that can be used for download link.
          Files Changed
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/dataexporter/DataExporterRenderer.java
          Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-dataExporter-props.xml
          Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/dataexporter/DataExporter.java
          Adnan Durrani made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          Adnan Durrani added a comment -
          • New attribute added "clickToCreateFileImage":
            The image path that will be used to display an image for create file link instead of text. The text assigned to "clickToCreateFileText" will be assigned to "alt" and "title" property of the image.
          • Exposed existing "image" attribute as well, that can be used for download link:
            The image path that will be used to display an image for download file link instead of text.

          Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\dataexporter\DataExporter.java
          Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\dataexporter\DataExporterRenderer.java
          Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-dataExporter-props.xml
          Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\dataexporter\DataExporterRenderer.java
          Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-dataExporter-props.xml
          Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\dataexporter\DataExporter.java
          Completed: At revision: 18803

          Show
          Adnan Durrani added a comment - New attribute added "clickToCreateFileImage": The image path that will be used to display an image for create file link instead of text. The text assigned to "clickToCreateFileText" will be assigned to "alt" and "title" property of the image. Exposed existing "image" attribute as well, that can be used for download link: The image path that will be used to display an image for download file link instead of text. Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\dataexporter\DataExporter.java Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\dataexporter\DataExporterRenderer.java Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-dataExporter-props.xml Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\dataexporter\DataExporterRenderer.java Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-dataExporter-props.xml Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\dataexporter\DataExporter.java Completed: At revision: 18803
          Adnan Durrani made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Ken Fyten added a comment -

          This feature will need to change to accomodate the suggested changes in ICE-4390.

          Specifically:

          1. The new "clicktoCreateFileImage" attribute should be removed altogether as there will no longer be a "clickToCreateFileText" link to render it in.

          2. The "image" attribute should be renamed "labelImage" and the TLD description expanded to something more complete, like this:

          "A URL to an image file that will be rendered instead of the "label" text as the link to trigger data export file generation and download. The text assigned to "label" attribute will be assigned to "alt" and "title" property of the image."

          Show
          Ken Fyten added a comment - This feature will need to change to accomodate the suggested changes in ICE-4390 . Specifically: 1. The new "clicktoCreateFileImage" attribute should be removed altogether as there will no longer be a "clickToCreateFileText" link to render it in. 2. The "image" attribute should be renamed "labelImage" and the TLD description expanded to something more complete, like this: "A URL to an image file that will be rendered instead of the "label" text as the link to trigger data export file generation and download. The text assigned to "label" attribute will be assigned to "alt" and "title" property of the image."
          Ken Fyten made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Affects [Documentation (User Guide, Ref. Guide, etc.)]
          Assignee Priority P3 P2
          Ken Fyten made changes -
          Link This issue depends on ICE-4390 [ ICE-4390 ]
          Adnan Durrani made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Adnan Durrani added a comment -

          The "image" attribute can be use for this purpose.

          Show
          Adnan Durrani added a comment - The "image" attribute can be use for this purpose.
          Ken Fyten made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Hide
          Ken Fyten added a comment -

          With the change to the dataExporter in ICe-4390 so that only a single click is required to generate and download an export file, this JIRA is no longer relevant. The existing 'image' attribute can be used to display an image instead of a text link to initiate the download.

          Show
          Ken Fyten added a comment - With the change to the dataExporter in ICe-4390 so that only a single click is required to generate and download an export file, this JIRA is no longer relevant. The existing 'image' attribute can be used to display an image instead of a text link to initiate the download.
          Ken Fyten made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Assignee Priority P2
          Resolution Invalid [ 6 ]
          Hide
          Kevin Potts added a comment - - edited

          I'm using the image attribute, but ICE Faces adds a blue border around my gif image. What can I use to elimanate the border?

          Show
          Kevin Potts added a comment - - edited I'm using the image attribute, but ICE Faces adds a blue border around my gif image. What can I use to elimanate the border?
          Hide
          Adnan Durrani added a comment -

          try adding this rule:

          <style>
          .iceDatExp img

          { border:none; }

          </style>

          Show
          Adnan Durrani added a comment - try adding this rule: <style> .iceDatExp img { border:none; } </style>
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Adnan Durrani
              Reporter:
              Adnan Durrani
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: