Of course, this is just an example, replace the class name with your superclass class name. ;-)
On Jul 25, 2019, at 8:59 AM, Morris, Mark <mark.mor...@experian.com<mailto:mark.mor...@experian.com>> wrote: Hi André, If you still want to go the subclass route, try adding this in your subclass (to get it to use the superclass’s WO template): @Override public WOElement template() { return ERXComponentUtilities.inheritTemplateFrom(ContractCodeMapping.class.getSimpleName(), session().languages()); } Regards, Mark On Jul 25, 2019, at 2:32 AM, André Rothe via Webobjects-dev <Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>> wrote: Hi, This way I have tried too, but I did not know, which page name I have to use. I'll try this with the class again. public WOComponent generateCapcha(){ { ERCaptcha captcha = pageWithName(ERCaptcha.class); captcha. setResponse(""); return captcha; } But probably action can be used in your case. You can try the subclass way. You could override appendToResponse in your PSDCaptcha to do what you want... After I have created the subclass, the Captcha was not longer visible. I will check that again, or I'll go the longer way: fixing the bug within the framework. There are more problems within the framework, it runs only with Java 1.5. Thanks André _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com<mailto:Webobjects-dev@lists.apple.com>) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/mark.morris%40experian.com This email sent to mark.mor...@experian.com<mailto:mark.mor...@experian.com>
_______________________________________________ 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