synchronizesVariablesWithBindings()
synchronizesVariablesWithBindings()
- Subject: synchronizesVariablesWithBindings()
- From: WebObjects TORAcom <email@hidden>
- Date: Tue, 21 Aug 2012 13:19:45 -0500
Hi List,
I am trying to implement best practices in our applications, we want to take control of component's binding syncrhonization.
First of all I understand that we should override the synchronizesVariablesWithBindings function like this:
public boolean synchronizesVariablesWithBindings() { return false; }
But where in the request - response loop should be the better place to synchronize our bindings, a lot of time ago (years) somewhere in the internet I found info that recommends Pull binding's values in the takeValuesFromRequest(WORequest r, WOContext c) method and Push binding's values in the appendToResponse(WOResponse r, WOContext c). I am not sure about that, so we have been working with the automatic synchronization of our bindings.
Thanks in advance.
Miguel Torres.
|
_______________________________________________
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