Value from a Subcomponent
Value from a Subcomponent
- Subject: Value from a Subcomponent
- From: email@hidden
- Date: Wed, 8 Mar 2006 02:00:47 +0000
Hi folks,
I have a page with a WODisplayGroup that users can sort on the basis of
three separate individual keys. However, initial tests suggest that
people don't really find the default images of a WOSortOrder component
particularly intuitive. (I'm not sure why, but the displayKey tooltip
doesn't even display anything for me).
So I want to display some additional indication next to whichever
WOSortOrder was the last they clicked on. The DG doesn't seem to know
which WOSortOrder was used (asking it for its sortOrderings() seems to
show the previous sortOrder, not that which is currently in effect). From
my reading today it seems that it should be possible for the parent
component to get hold of the values in the subcomponent. But a
WOSortOrder does not seem to hold any information about it's current
state. I then had a look at ERXSortOrder and that does have information
that could be useful if I could get at it (it has fields SortedAscending,
SortedDescending, and Unsorted). But I don't know how to get that
information from the sub-component.
I feel I need to learn a lot more about bindings, synchronizing values,
parent-child communication, and the API editor. Just about the only
resource I've been able to find on this, is in Chuck and Sacha's book. But
I still can't figure things out.
Am I going about this the wrong way?
Regards,
Bernard Devlin
_______________________________________________
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