ICEfaces
  1. ICEfaces
  2. ICE-10746

mobi:camera - add image button support

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: MOBI-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4.1, mobi:camera

      Description

      Customer request to have the mobi:camera optionally work with a graphic image instead of rendering a button with a label.

      This should also be applied to ICEfaces-4 for mobi:camera.

      In the old ice:pushButton we had an "image" attribute that when specified with a URL to an image resource, would cause the button to render as a clickable image. We could do the same thing here, possibly call the attribute "imageURL" ?


        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #45746 Thu Jul 09 18:58:30 MDT 2015 art.zambrano ICE-10746 modified showcase demo to optionally use images instead of labels in mobi:camera
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/camera/CameraBean.java
          Commit graph ADD /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/css/images/photos.png
          Commit graph ADD /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/css/images/camera.png
          Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/camera/camera-example.xhtml
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #45745 Thu Jul 09 17:23:30 MDT 2015 art.zambrano ICE-10746 fix to keep label span inside the button after capturing image
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.camera/camera.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #45738 Thu Jul 09 11:27:34 MDT 2015 art.zambrano ICE-10746 added 'buttonImage' and 'captureButtonImage' attributes to mobi:camera
          Files Changed
          Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/util/MobiJSFUtils.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camera/CameraRenderer.java
          Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.util/component.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.camera/camera.js
          Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camera/CameraMeta.java

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Judy Guglielmin
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: