Details
-
Type: Improvement
-
Status: Closed
-
Priority: 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
-
Assignee Priority:P1
-
Support Case References:Support Case 13464:- https://icesoft.my.salesforce.com/5007000001G9ug2
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
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" ?
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
- blocks
-
MOBI-1143 mobi:camera - add image button support
- Open
Activity
Ken Fyten
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Project | ICEmobile [ 10060 ] | ICEfaces [ 10021 ] |
Key |
|
|
Issue Type | New Feature [ 2 ] | Improvement [ 4 ] |
Affects Version/s | EE-3.3.0.GA_P03 [ 11572 ] | |
Affects Version/s | 4.0 [ 11382 ] | |
Affects Version/s | EE 1.3.1.GA_P03 [ 11970 ] | |
Affects | Documentation (User Guide, Ref. Guide, etc.) [ 10003 ] | |
Component/s | MOBI-Components [ 10270 ] | |
Component/s | Faces [ 10062 ] |
Ken Fyten
made changes -
Affects Version/s | EE-3.3.0.GA_P03 [ 11572 ] |
Ken Fyten
made changes -
Fix Version/s | 4.1 [ 11375 ] |
Ken Fyten
made changes -
Assignee | Ken Fyten [ ken.fyten ] | Arturo Zambrano [ artzambrano ] |
Environment | icemobile | 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. |
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" ? |
Affects | Documentation (User Guide, Ref. Guide, etc.) [ 10003 ] | Documentation (User Guide, Ref. Guide, etc.),Sample App./Tutorial [ 10003, 10001 ] |
Assignee Priority | P1 [ 10010 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #45738 | Thu Jul 09 11:27:34 MDT 2015 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/util/MobiJSFUtils.java
MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camera/CameraRenderer.java MODIFY /icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.util/component.js MODIFY /icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.camera/camera.js MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camera/CameraMeta.java |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #45745 | Thu Jul 09 17:23:30 MDT 2015 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.camera/camera.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #45746 | Thu Jul 09 18:58:30 MDT 2015 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/camera/CameraBean.java
ADD /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/css/images/photos.png ADD /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/css/images/camera.png MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/camera/camera-example.xhtml |
Liana Munroe
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Ken Fyten
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Carmen Cristurean
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Arturo Zambrano
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
r45738: added 'buttonImage' and 'captureButtonImage' attributes to mobi:camera.
These attributes work just like 'buttonLabel' and 'captureMessageLabel'. Initially, the image specified by 'buttonImage' will be shown. When, an image has been successfully captured by the device's camera, the image specified by 'captureButtonImage' will be shown.
These attributes take precedence over the text labels. 'captureButtonImage' only works if 'buttonImage' is specified as well (i.e. can't mix labels and images).
The image resource specified in these attributes can be either a byte array, an instance of IceOutputResource or a URL to a local or external image.