• 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 13:59:07 +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=LcErxYtCQHHaFWhy8Lq6h4d2cja4Cp40ejba+3NztCQ=; b=Bv4sz387mvHWIGHJLO9NZuPM3xoOm/I62eZjC+DE8yV2C24K0XVHzBeQnCFmjYiCFF4GtOv25+4qjJOvChJstdFgFHquUJUKfBRx8psxAJ/GiviHrAs0YU6b6/g4U6b0i+DxDp7aUpiX51gmMbHhBAl+8jJi3L6RqbvQUfUvsyu6dFY7RZzXGqVhDifQKRPVDh3Bdv3I8pWsRAm2XJ2664BCTgYEX3YGdfsSjV+M60NjYpyXCeKDi06NeyT4mobYBdFWsu+a60FoDJ2TRgYEQFRRigzLwRV2VQ/CT+fm/QTp/KEPM9Pt1BYZzv2oH/T07wsUXKe0puA5mOqGivHqCg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G3ZEEKR4SYAhcc32Ve1/XGraHKo/bnpbJK/MRVVULyLPKI7wyoKIG5aaA5YDHtKQ3FIV2TYtRjkHLsyt9Iwcs/CHxmVhM0py0OT8ppu0kXlwDKLe464kC7xt/z8s2rJD7hxXCzMHmfYyumAMCW8TEkOCJXNI47d0WQX0byGRl7M/N59Y+X9ld71qZ8GmlnE89nywcmma4Lb4fTDq5QWQ3KTauzXVlXvNAJADKytew1eB2R+gqjvn/Y2luCUUQLXcczWGRkjYnuGn5Ll9lJMKix8eUZ4w75ogVPmAKT8vO/UlssivKo5BB9QkuZJriZlmLAO+4naWBlUPOJ0FCKZCvw==
  • Thread-topic: Access to WOComponents of a page

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

 _______________________________________________
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: "Morris, Mark 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>)

  • Prev by Date: Re: Problem with a few apps in WOMonitor
  • Next by Date: Re: Access to WOComponents of a page
  • Previous by thread: Re: Access to WOComponents of a page
  • Next by thread: Re: Access to WOComponents of a page
  • Index(es):
    • Date
    • Thread