Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Codeblock
valueOnSelect=text,display=id-text text[,image=global,codeSetImg,png]

following key-value properties are allowed for codeset enumeration:

keyvaluescomment
valueOnSelecttext, id

Defines the value which will be displayed in the input field on selection.

displaytext, id, id-text, text-idDefines how the codeset will be rendered in the selection list.
image (optional)form/global, [imageName], [fileType]

Defines how the image source will be handled

form: takes the actual form's image location as base
global: takes the general image location as base (e.g. "_images")
imageName: pattern of the image name (e.g. "state")
fileType: type of the image file (e.g. "png")

image=global,codeSetImg,png -> images/codeSetImg_20.png

For layouting the widget there are several CSS Classes applied to the component to format it to your needs. To apply images to a single entry there is a div rendered with a special class applied: [codesetname]_[id]