Access to WOComponents of a page
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