Re: Access to WOComponents of a page
Re: Access to WOComponents of a page
- Subject: Re: Access to WOComponents of a page
- From: Chuck Hill via Webobjects-dev <email@hidden>
- Date: Thu, 25 Jul 2019 21:15:16 -0700
> On Jul 25, 2019, at 12:21 AM, André Rothe via Webobjects-dev
> <email@hidden> 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden