Picture
This widget displays an image located in a directory defined at runtime, based on assignment settings.
XHTML Specification: <x-subst
type="value">
For more information, see <x-subst type="WidgetType"> .
Widget Properties
Property |
Description/More Information |
---|---|
Exclude the field if it does not need to be sent to the browser. |
Description
It is not possible to specify a source image for
this control. Instead, the location of the source image is determined at run time, using the
assignment file settings for the Uniface Server. The name of the source image is then included in
the <img>
tag in the HTML source file. If you want to use a specific image
or use an image as a hyperlink, you must use the image HTML control.
When the field definition is copied to the layout, the XHTML source code similar to the following:
<x-subst type="value" name="PIC.MY_ENTITY.MY_MODEL"> <img src="" name="PIC.MY_ENTITY.MY_MODEL"> </x-subst>