<sas:Image>

Generated the appropriate HTML 4.0/XHTML 1.0 INPUT or ANCHOR tag attributes to represent an image.

Syntax

<sas:Image
   [accessKey="java.lang.String"]
   [alignment="java.lang.String"]
   [alternateText="java.lang.String"]
   [borderWidth="int"]
   [customAttributes="java.lang.String"]
   [enabled="false|true"]
   [epilog="java.lang.String"]
   [height="int"]
   [heightPercentage="int"]
   [horizontalSpace="int"]
   [id="value"]
   [image="java.lang.String"]
   [instantiate="true|false"]
   [locale="java.util.Locale"]
   [name="java.lang.String"]
   [objectDataProperty="java.lang.String"]
   [onBlur="java.lang.String"]
   [onChange="java.lang.String"]
   [onClick="java.lang.String"]
   [onDblClick="java.lang.String"]
   [onFocus="java.lang.String"]
   [onKeyDown="java.lang.String"]
   [onKeyPress="java.lang.String"]
   [onKeyUp="java.lang.String"]
   [onMouseDown="java.lang.String"]
   [onMouseMove="java.lang.String"]
   [onMouseOut="java.lang.String"]
   [onMouseOver="java.lang.String"]
   [onMouseUp="java.lang.String"]
   [onSelect="java.lang.String"]
   [prolog="java.lang.String"]
   [ref="java.lang.String"]
   [render="true|false"]
   [scope="page|request|session|application"]
   [styleClassPrefix="java.lang.String"]
   [tabIndex="java.lang.String"]
   [target="java.lang.String"]
   [URL="java.lang.String"]
   [useAsFormElement="true|false"]
   [verticalSpace="int"]
   [width="int"]
   [widthPercentage="int"]>
      [<sas:StyleInfo .../>]
      [<sas:SetProperty ...>
         The value to set on the parent tag
      </sas:SetProperty>]
      [Additional <sas:SetProperty> tags...]
</sas:Image>

Attributes

accessKeyThe shortcut to apply to the Form control.
alignmentThe text alignment of the image.
alternateTextThe alternate text of the image.
borderWidthThe border width of the image.
customAttributesa list of attributes in the form of attribute="value", space delimited
enabledThe state of the Image element; "false" results in a disabled image.
epilogText that is output immediately after the last markup tag.
heightThe height of the image.
heightPercentageThe height percentage of the image.
horizontalSpaceThe horizontal spacing of the image.
idCase-sensitive name used to identify the object instance.
imageThe URL location of the image.
instantiateFlag that, if true, indicates that a new instance of the underlying class should be loaded if one cannot be found in PageContext. Must be used with an id attribute.
localeSpecifies the locale to use for this instance of the class.
nameValue assigned to the markup tag's name attribute.
objectDataPropertyValue assigned to the output tag's objectDataProperty attribute.
onBlurThe onBlur event handler to apply to the Form control.
onChangeThe onChange event handler to apply to the Form control.
onClickThe onClick
onDblClickThe onDblClick
onFocusThe onFocus event handler to apply to the Form control.
onKeyDownThe onKeyDown
onKeyPressThe onKeyPress
onKeyUpThe onKeyUp
onMouseDownThe onMouseDown
onMouseMoveThe onMouseMove value
onMouseOutThe onMouseOut event handler to apply to the Form control.
onMouseOverThe onMouseOver event handler to apply to the Form control.
onMouseUpThe onMouseUp
onSelectThe onSelect
prologText that is output immediately preceeding the first markup tag.
refThe variable String value that represents an object created earlier in the same scope.
renderFlag that, if true, indicates that the complete markup of the bean is output when the tag is closed. It also sets the the visible property on the underlying TransformationBean.
scopeThe scope (or page context) within which the reference is available.
styleClassPrefixThe styleClassPrefix
tabIndexThe tabindex to apply to the Form control.
targetThe target the image should use.
URLThe URL to which the image should be linked.
useAsFormElementSpecifies whether to use the form version or standard version of the image, "true" uses the form version.
verticalSpaceThe vertical spacing of the image.
widthThe width of the image.
widthPercentageThe width percentage of the image.

More Information

To view the documentation for the related TransformationBean, see com.sas.servlet.tbeans.form.BaseImage.

If you need to subclass the tag handler class for the sas:Image tag, extend com.sas.taglib.servlet.tbeans.form.ImageTag.