• 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
Access to WOComponents of a page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Access to WOComponents of a page


  • Subject: Access to WOComponents of a page
  • From: AndrĂ© Rothe via Webobjects-dev <email@hidden>
  • Date: Wed, 24 Jul 2019 11:53:03 +0200

Hi,

How I can access the WOComponent objects of a page? I use different WOComponents in a "Main WO" and I try to access the classes behind the components from Main.java to call some public methods on them. In example I would like to call ERCaptcha.setResponse("") on the component which is named as "captcha" within my page.

captcha : er.captcha.ERCaptcha {
  validated = ...
  resetText = ...
}

I have tried to subclass the components and override some methods there, but it won't work as expected.

capcha : PSDCaptcha {
  validated = ...
  resetText = ...
}

public class PSDCaptcha extends ERCaptcha {
....
}

Is there a map of all defined components in "Main WO" which I can access from i.e. context()?

Thank you
André
_______________________________________________
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: Chuck Hill via Webobjects-dev <email@hidden>
    • RE: Access to WOComponents of a page
      • From: GILQUIN Pierre 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: Problem with a few apps in WOMonitor
  • Next by thread: RE: Access to WOComponents of a page
  • Index(es):
    • Date
    • Thread