Re: Manual syncing question
Re: Manual syncing question
- Subject: Re: Manual syncing question
- From: Alexander Spohr <email@hidden>
- Date: Sat, 16 Sep 2006 14:16:57 +0200
i do it this way: get the user before you draw the html.
public void appendToResponse (WOResponse aResponse, WOContext
aContext) {
user = (User)valueForBinding(USER_BINDING_NAME);
super.appendToResponse(aResponse, aContext);
}
an if user might change and the parent wants to know:
public WOActionResults someAction() {
setValueForBinding(user, USER_BINDING_NAME);
return performParentAction((String)valueForBinding
(PARENT_ACTION_NAME));
}
atze
Freeport & Soliversum
Alexander Spohr
email@hidden
www.freeport.de
_______________________________________________
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