Re: WOPupUpButton Question
David LeBer <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
On 6-Jul-06, at 4:16 PM, Jeff Dunnett wrote:
> Hello Everyone,
>
> I was wondering if anyone out there could give me a bit of a hand.
> I have a WOPopUpButton that has a list bound to it. The button has
> an object for the binding item called aEvent and a object for the
> selection binding called aSelectedEvent. I also have various
> strings on the component with various fields from aSelectedEvent
> bound to them. I was wondering if there is any way once a user
> selects an option from the WOPopUpButton to call a method that will
> updated the strings on the page in addition to doing some other
> things behind the scenes?
>
> Thanks for you help in advance?
>
> Regards,
> Jeff
Change your aSelectedEvent ivar to a setter/getter pair:
private Object theSelectedEvent;
public Object aSelectedEvent() {
return theSelectedEvent;
}
public void setASelectedEvent(Object event) {
theSelectedEvent = event;
// Do some stuff here
}
--
;david
--
David LeBer
Codeferous Software
'co-defer-ous' adj. producing or containing code
site: http://www.codeferous.com
blog: http://david.codeferous.com
_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
smime.p7s
(application/pkcs7-signature, 2.3 KB) - not displayed