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 
<[email protected]<mailto:[email protected]>> 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      
([email protected]<mailto:[email protected]>)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/mark.morris%40experian.com

This email sent to [email protected]

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

This email sent to [email protected]

Reply via email to