You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by dwi ardi irawan <pe...@gmail.com> on 2009/02/27 16:43:35 UTC

q: passwordField ?

i need a little help here...
i have a passwordField here but it can't showed the value of my database. it
showed empty
but when i changed it into TextField, it showed the database value...

<tr valign="top">
                <td><t:label for="passwordField"/></td>
                <td>&nbsp; :</td>
                <td><textarea t:type="TextField" t:id="passwordField"
value="user.password" validate="required,minlength=3" size="30"
label="Password" /></td>
            </tr>

can someone help me ?

-- 
http://dwiardiirawan.blogspot.com
"cos everyone could be extraordinary...lighten up !"

Re: q: passwordField ?

Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
For security reasons, PasswordField does not outputs its value.
By the way, you shouldn't store unencrypted passwords in your database.

-- 
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: q: passwordField ?

Posted by dwi ardi irawan <pe...@gmail.com>.
sorry i just learn how to use it....
then how i can make a feature change passsword when PasswordField does not
outputs its value
???



-- 
http://dwiardiirawan.blogspot.com
"cos everyone could be extraordinary...lighten up !"

Re: q: passwordField ?

Posted by Howard Lewis Ship <hl...@gmail.com>.
This is by design.  Also, a password field doesn't update its property
if it gets a null value from the user. Read the docs.

On Fri, Feb 27, 2009 at 7:43 AM, dwi ardi irawan
<pe...@gmail.com> wrote:
> i need a little help here...
> i have a passwordField here but it can't showed the value of my database. it
> showed empty
> but when i changed it into TextField, it showed the database value...
>
> <tr valign="top">
>                <td><t:label for="passwordField"/></td>
>                <td>&nbsp; :</td>
>                <td><textarea t:type="TextField" t:id="passwordField"
> value="user.password" validate="required,minlength=3" size="30"
> label="Password" /></td>
>            </tr>
>
> can someone help me ?
>
> --
> http://dwiardiirawan.blogspot.com
> "cos everyone could be extraordinary...lighten up !"
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org