WOToOneRelationship vs ERXToOneRelationship weirdness
WOToOneRelationship vs ERXToOneRelationship weirdness
- Subject: WOToOneRelationship vs ERXToOneRelationship weirdness
- From: Markus Ruggiero <email@hidden>
- Date: Sat, 04 May 2019 11:19:02 +0200
ERXToOneRelationship is based on WOToOneRelationship. That is a nice update to
the original but it behaves kinda weird in the context with Ajax stuff. Weird
in the sense that triggering an update container might reset the selection and
the use has to click a second time. I had a case where the selected value did
never stick. It was there when the object was read from the DB but as soon as
the user cklicked on the popup the selection was reset and could not be
restored at all. Could that be that ERXToOneRelationship has bindings for
onChange etc which WOToOneRelationship does not have? WOToOneRelationship lacks
a title binding, that was my main reason to use ERX... in the first place.
What do I miss here?
I have since added a passthrough title binding (title = ^title) to
WOToOneRelationship in my Wonder sources.
Thanks for any insight
---markus---
_______________________________________________
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