Martijn,

I understand the problem and agree with the approach. But may be we find a
better name than resetContents(). At least to me it is not obvious just from
the name, what the functionality would be. What about:
get/setResetPasswortAutomatically() or get/setDontRenderPasswort

Regards
Juergen

-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Martijn
Dashorst
Gesendet: Mittwoch, 24. November 2004 12:52
An: [EMAIL PROTECTED]
Betreff: RE: [Wicket-develop] [ wicket-Bugs-1072362 ] PasswordTextField
resets model value

The solution to this bug is IMO to add a property to the PassworldTextField
component called 'resetContents', with appropriate getter/setter pair.

The handleComponentTag method should then read the flag and depending on the
value reset the contents of the field, or fill it with the model value.

Anybody object to this?

Martijn
 

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens SourceForge.net
Verzonden: woensdag 24 november 2004 11:20
Aan: [EMAIL PROTECTED]
Onderwerp: [Wicket-develop] [ wicket-Bugs-1072362 ] PasswordTextField resets
model value

Bugs item #1072362, was opened at 2004-11-24 11:19 Message generated for
change (Tracker Item Submitted) made by Item Submitter You can respond by
visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1072362&group_i
d=119783

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martijn Dashorst (dashorst) Assigned to: Nobody/Anonymous
(nobody)
Summary: PasswordTextField resets model value

Initial Comment:
The PasswordTextField component resets the model value on rendering. This
should be made optional, in order to support entry forms for user
credentials when editing the userdata.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1072362&group_i
d=119783


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide Read honest & candid reviews
on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Wicket-develop mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide Read honest & candid reviews
on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Wicket-develop mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-develop


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Wicket-develop mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to