> On Jul 25, 2019, at 12:21 AM, André Rothe via Webobjects-dev 
> <webobjects-dev@lists.apple.com> wrote:
> 
> Hi Chuck,
> 
>> If you are trying to clear it after a failed validation attempt, perhaps
>> there is simply a bug
>> here: 
>> https://github.com/molequedeideias/wonder/blob/00e813f91664a1df1a84902e03175e4a34cf7d0f/Frameworks/Misc/ERCaptcha/Sources/er/captcha/ERCaptcha.java#L94
>> And after that should be:
>> _response = null;
> 
> That's right, I try to reset the TextField of ERCaptcha after wrong
> input.

I can see the appeal, but that is the wrong way to do this.


> The idea was, to fix this problem with a simple call of
> setResponse(), so I don't need to bother with creating/updating WO
> frameworks at the moment (I'm still an absolute beginner in WO).

That component has bug in it.  The best way is to get the bug fixed, either by 
asking the author or submitting a pull request and updating your frameworks (I 
assume this is in Wonder proper somewhere).  If that is not possible, then 
subclassing is the right approach. 

Chuck


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to