<div dir="ltr">I will vote for a new type of item. I am just concerned that our customers will ask for more in the future besides hiding the text (Even how to hide the text could have a couple ways).<div><br></div><div>I can see this item is doing more than just hiding text.  It will likely connect to some server for password verification, and handle things like security policy, etc.</div><div><br></div><div>Yumin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 1, 2016 at 10:12 AM, John Tourtellott <span dir="ltr"><<a href="mailto:john.tourtellott@kitware.com" target="_blank">john.tourtellott@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I would vote for modifying StringItemDefinition to add either a boolean flag (IsPassword) or maybe a "type" enumeration with 2 choices (Text, Password). To me, the closest analog is the html <input> element, which has a "type" attribute that can be set to <i>many</i> different values -- e.g., button, checkbox, color, date, file, hidden, radio, url -- as well as"password" and the default "text". As for the many other "type" choices, the ones relevant to simulation preprocessing are already handled differently in SMTK; so I would go for the boolean flag.<br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 1, 2016 at 8:36 AM, David Thompson <span dir="ltr"><<a href="mailto:david.thompson@kitware.com" target="_blank">david.thompson@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> We have a use case where we need prompt the user for a password in order to launch jobs.  ...<br>
<span>> In order to provide support I can either add a "role" parameter to the string item indicating it is a password or create a special item/item def.<br>
</span>> ...<br>
> Any comments?<br>
<br>
If adding a "role" adjective to items, I would add it to the base Item time instead of just to String. It will be handy elsewhere just like in HTML5 (where roles are used by browsers to modify touchscreen keyboards depending on whether numbers, e-mail, or URLs are being entered[1]).<br>
<br>
        David<br>
<br>
[1]: <a href="http://html5tutorial.info/html5-contact.php" rel="noreferrer" target="_blank">http://html5tutorial.info/html5-contact.php</a><br>
<div><div>_______________________________________________<br>
Cmb-users mailing list<br>
<a href="mailto:Cmb-users@computationalmodelbuilder.org" target="_blank">Cmb-users@computationalmodelbuilder.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/cmb-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/cmb-users</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Smtk-developers mailing list<br>
<a href="mailto:Smtk-developers@smtk.org">Smtk-developers@smtk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/smtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/smtk-developers</a><br>
<br></blockquote></div><br></div>