Appendix : Legacy Presto components : Mashables and Mashups : Mashups in EMML : Writing Mashups in EMML : Adding Metadata to Mashups : <presto:macro-meta> : <type>
<type>
Additional configuration to define the look or behavior of the block property for this input parameter. See Configure Strings, Numbers, Dates or Boolean Properties in Custom Blocks for links to more information.
Note:  
You may specify either <presto:type> or <uiconfig> or both for <presto:parameter>. If you omit both, Wires uses a default input field combined with the Path Selection button for this property. Users can enter a literal value in this field or use the Path Selection button to assign the value dynamically. See Default Custom Block With No Configuration for an example.
Can Contain
Allowed In
Attributes
Name
Required
Description
datatype
yes
Additional information that extends the base datatype for this input parameter.
*boolean = renders a selection list with Yes and No values. Returns true or false respectively.
*datetime = renders a calendar/time control to easily select dates or times. Use <datetimefield> for additional configuration.
*document = renders an input field but limits users to select results from another block using the Path Selection list. Use only when this input parameter is also a document type.
*enum = renders a selection list with a set of valid values for this property. You determine the list of valid values using <list> or <uiconfig>. See Limit Custom Block User Entries to a List of Values for more information.
*decimal = renders a single-line input field that only accepts decimal numbers.
*integer = renders a single-line input field that only accepts integer numbers.
*number = renders a single-line input field that only accepts numbers.
*password = renders a single-line input field that obscures user entries.
*path = renders a single-line input field that only allows users to select a node with the Path Selection list. Returns the XPath expression for the selected node as a string. You can limit the specific results or path that users see with <xpath>.
*string = renders a single-line input field that accepts text of any kind.
*textarea = renders a multi-line input field.
*url = renders a single-line input field that only accepts string beginning with valid URL protocols.
Copyright © 2013-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback