Mashups in Presto Wires : Customizing Wires : Configure Strings, Numbers, Dates or Boolean Properties in Custom Blocks : Passwords
Passwords
String properties for custom Wires blocks allow user entries, by default, but show the text of the entry. To obscure the actual text of a property that is a password, you can use the macro metadata element <type> in <parameter> with a datatype of password.
The metadata would look something like this:
<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">
...
</block>
<parameters>
<parameter name="aString">
<label>A password</label>
<type datatype="password"/>
</parameter>
...
</parameters>
</presto:macro-meta>
....
</macro>
...
</macros>
Copyright © 2006-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback