Mobile Components
Tag camera


Renders a button to access the camera on supported clients, and allows uploading and storing an image from the camera or image gallery. The component will fallback to a input file type on unsupported browsers.


Tag Information
Tag Classorg.icefaces.mobi.component.camera.CameraTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
bindingnotruejavax.el.ValueExpressionUsing an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean.
buttonImagenotruejava.lang.ObjectThe image to be displayed on the button, instead of a text label. The value may resolve to a byte array, an instance of IceOutputResource or a String containing the URL of the image.
buttonLabelnotruejava.lang.StringThe label to be displayed on the button. Default = 'Camera'.
captureButtonImagenotruejava.lang.ObjectThe image to be displayed on the button on a successful image capture, instead of a text label. The value may resolve to a byte array, an instance of IceOutputResource or a String containing the URL of the image. This attribute is only applied if 'buttonImage' is specified.
captureMessageLabelnotruejava.lang.StringThe message to be displayed on the button on a successful image capture. Default = 'Photo Captured'.
disablednotruebooleanDisables this component, so it does not receive focus or get submitted. Default = 'false'.
idnotruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
immediatenotruebooleanFlag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. Default = 'false'.
maxheightnotrueintThe maximum allowed height of the image on those platforms where image cropping is supported. A value of 0 uses the whole height of the captured image. Default = 'Integer.MIN_VALUE'.
maxwidthnotrueintThe maxium allowed width of the image on those platforms where image cropping is supported. A value of 0 uses the whole width of the captured image. Default = 'Integer.MIN_VALUE'.
renderednotruebooleanReturn true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'.
stylenotruejava.lang.StringSets the CSS style definition to be applied to this component.
styleClassnotruejava.lang.StringSets the CSS class to apply to this component.
tabindexnotrueintThe tabindex of this component.
valuenotruejava.util.MapThe map object for the uploaded contents. Must resolve to a java.util.Map. The uploaded file will be available in the map with the key of "file".
valueChangeListenernotruejavax.el.MethodExpressionMethodExpression representing a value change listener method that will be notified when a new value has been set for this component. The expression must evaluate to a public method that takes a ValueChangeEvent parameter, with a return type of void, or to a public method that takes no arguments with a return type of void.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.