In the following code, why doesn't the password field show *'d out letters?

If you run it, you can see that ispassword is "true" for the correct field. Is it a data type problem? Is the string "true" not evaluating as true?

Thanks,

Dave



<canvas>

<class name="form_text">

   <attribute name="label" value="not set" type="string"/>

   <attribute name="ispassword" value="false" type="boolean"/>

      <hbox spacing="2">

         <view width="120" valign="middle">
           <text align="right" text="${parent.parent.parent.label}"/>
         </view>

         <edittext width="200" height="24"
            password="${parent.parent.ispassword}"/>

        <text text="${parent.parent.ispassword}"/>

      </hbox>

</class>

<simplelayout/>

<form_text label="Username"/>

<form_text label="Password" ispassword="true"/>

<button x="120" text="Submit"/>

</canvas>



Reply via email to