Hi Chris,

Try this:

<t:form id="form" t:object="bean" t:model="model">
  <t:parameter t:name="password">
    <t:label t:for="password" />
    <t:passwordfield t:id="password" t:value="bean.password" />
  </t:parameter>
</t:form>

And see the section on Property Editor Overrides:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/beaneditform.html

And the component reference for BeanEditForm:
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html#orgapachetapestrycorelibcomponentsbeaneditform

Hope this helps. :)

-Filip

Chris Campbell skrev:
I have a BeanEditForm for a UserBean that has a password field.

I gather that I am supposed to be able to override the BeanEditForm
input for the password so that it renders with type="password" so
that the text is not visible on the screen. So I do the following:

<t:form id="form" object="bean" model="model">
  <t:passwordfield id="password" value="bean.password"/>
</t:form>

but it gets rendered as

<input id="password" name="password" type="text" value="">

Can anyone tell me what I am doing wrong? Thanks.

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to