Adding a custom RHS value to a D2JC component?
Adding a custom RHS value to a D2JC component?
- Subject: Adding a custom RHS value to a D2JC component?
- From: Eric Hermanson <email@hidden>
- Date: Tue, 18 Mar 2003 22:13:10 -0800
I would like to add a key to EOOneValueEnumerationController that will
define the 'filterKey' the controller should use to restrict the list.
I thought that if I simply added a rule with the proper LHS qualifier
that the EOXMLArchiver process would pass the resulting RHS value to my
custom controller class. It does not.
I realized I might have to create a full-fledged 'widgetController' and
the associated ".wo" package, and then add my new custom key to the
WOXMLNode bindings (i.e. filterKey = d2wContext.filterKey). However,
when I tried this WO complained that it could not find the matching
WOComponent class. My controller class is of course a subclass of
eoapplication.EOController, not WOComponent. So how does Apple get
their D2JC "wo" components plugged in if they're not subclasses of
WOComponent?
Anyway, maybe there's an easier way to pass a custom key to my
controller? Are the RHS values placed into the D2WContext such that
the controller code has access to them by calling a certain method?
Thank You,
Eric
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.