partially answering my own question: it doens't happen when both
passwordfields are changed from type: passwordField to type: textField.
Perhaps this is a bug in passwordField?
Kind regards,
Britske
Britske wrote:
>
> I've got a beaneditform which displays a userprofile, with among other
> things 2 passwordsfields.
> When displaying an existing userprofile all fields except the password
> fields are rendered, (the password fields remain empty), although values
> for the password-fields exists in the bound userprofile.
>
> These password fields as exactly the fields that I overwrite using the
> parameter-construction.
> Anyone knows why this happens?
>
> relevant snippets:
>
> private User user;
> @Persist("flash") private User userOld;
> public void onActivate(Object[] list){
> if(isUserExists()){
> user = getSessionModel().getUser();
> userOld = user.clone();
> }
> }
>
> //template
> <t:beaneditform t:id="beanEditForm" object="user"
> submitlabel="prop:LabelForSuccess">
> <t:parameter name="password">
> <t:label for="password"/>
> <t:passwordfield t:id="password" value="user.password"/>
> </t:parameter>
> <t:parameter name="passwordagain">
> <t:label for="passwordagain"/>
> <t:passwordfield t:id="passwordagain"
> value="user.passwordagain"/>
> </t:parameter>
> </t:beaneditform>
>
> Thanks a lot.
>
--
View this message in context:
http://www.nabble.com/T5%3A-beaneditform%3A-properties-don%27t-get-populated-although-model-is-bound-tp18328072p18328137.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]