• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Access to WOComponents of a page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Access to WOComponents of a page


  • Subject: Re: Access to WOComponents of a page
  • From: "Morris, Mark via Webobjects-dev" <email@hidden>
  • Date: Thu, 25 Jul 2019 14:00:18 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=experian.com;dmarc=pass action=none header.from=experian.com;dkim=pass header.d=experian.com;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Lg6fiqEOAwNP5Wj2wWNmdITWORY/XAcm6u2vEH8Q+As=; b=joCDsUF8APzM3iCDSmDKA4qujOBRO0B5j608dcL0Jh6l+GUvhFlTYnxt4pNPSpGv5jCBVCl8Vq5sov4Otz+VbbsUDKrQNDFV0bIEiL9FqkMqD4VN8k/+6mYMzGTcXnCGl2Smz3WyuL2tSKP6S6/cKZMFWdZ+jJDCNRyq3+U0jk4/J4vBNB0CDX8LAEwXl57vy1WGAJh+znQV+eaPSY1K2ZxmO1XC+gg6HENbfI8foctuIznVHhbBpg2H7g3KQZ2t5mTfmHZguuJL7kB8DA6vuyO306czZyMLoR8RojALv1fG3yzQKXo+nK5Yb5Znn9zRITgrgVIn4wYcGH9CwR358g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ck+JVRWBqGy0rVUcn6PPmS9bcy64uhK4/XvOBAmyPsFNGWdWmC63Fs1AyIfzMnk2r2jU6w06WXNm5TXm32TzxGABUDGQFY4YjZgO7X6Ayh5rTd9QcxFfKZOkF0nDqN8NZ8kXN+UPq/G6xqtQzBN4f6xiE1uV0aq7RPew5kLSJ80xf6W9YWeWovLWKiqQRe5lTDb/GTcxqbh2FFu6nur3yF5nFzlP365nE00kkOm0x1OJKLlv0Sng51SNzo+OIMrjb38RN/N39kwjEhVe0M/RBL9K9Oh4nYm0dveGoxRbOl6gr2h3FYTmvaoq3ZN62ANGnqXBCxxphDYH/NZ569m3kw==
  • Thread-topic: Access to WOComponents of a page

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
<email@hidden<mailto:email@hidden>> 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
<email@hidden<mailto:email@hidden>> 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@hidden<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden<mailto:email@hidden>


 _______________________________________________
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

  • Follow-Ups:
    • Re: Access to WOComponents of a page
      • From: André Rothe via Webobjects-dev <email@hidden>
References: 
 >Access to WOComponents of a page (From: André Rothe via Webobjects-dev <email@hidden>)
 >RE: Access to WOComponents of a page (From: GILQUIN Pierre via Webobjects-dev <email@hidden>)
 >Re: Access to WOComponents of a page (From: André Rothe via Webobjects-dev <email@hidden>)
 >Re: Access to WOComponents of a page (From: "Morris, Mark via Webobjects-dev" <email@hidden>)

  • Prev by Date: Re: Access to WOComponents of a page
  • Next by Date: Modern instructions for setting up an environment?
  • Previous by thread: Re: Access to WOComponents of a page
  • Next by thread: Re: Access to WOComponents of a page
  • Index(es):
    • Date
    • Thread