Appendix : Legacy Presto components : Mashables and Mashups : Mashups in MashZone NextGen Wires : Customizing Wires : Update Labels and Icons for Custom Blocks in Wires : Property Labels
Property Labels
For property labels in custom blocks, you must add the macro metadata element <parameters> to <presto:macro-meta> and then add <parameter> with <label> to define the label for a specific property:
<macros xmlns="http://www.open-mashup.org/schemas/v1.0/EMML"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.openmashup.org/schemas/v1.0/EMML/..
/schemas/EMMLPrestoSpec.xsd"
domain="myBlocks">

<macro name="helloWorld"
xmlns:presto="http://www.jackbe.com/v1.0/EMMLPrestoExtensions"
xmlns:macro="http://www.openmashup.org/schemas/v1.0/EMMLMacro">
<presto:macro-meta>
<block usage="Wires">
<label>Hello world!</label>
</block>
<parameters>
<parameter name="aString">
<label>Your name</label>
</parameter>
</parameters>
</presto:macro-meta>
....
</macro>
...
</macros>
The name attribute in <parameter> must match the name of the macro input parameter that this configuration should apply to.
Copyright © 2013-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback