Re: Manual syncing question
Re: Manual syncing question
- Subject: Re: Manual syncing question
- From: Miguel Arroz <email@hidden>
- Date: Fri, 15 Sep 2006 02:47:06 +0100
Hi!
I tested reset, it's not called. By the documentation it's only
called on stateless components. This is not a stateless component,
it's just a normal (statefull) component with auto-synchronization
turned off! :)
Yours
Miguel Arroz
On 2006/09/15, at 02:36, Gary Teter wrote:
If you do it this way, you'll also need:
public void reset() {
user = null;
super.reset();
}
On Sep 14, 2006, at 6:12 PM, Chuck Hill wrote:
public User user() {
if (user == null) user = (User)valueForBinding
(USER_BINDING_NAME);
return user;
}
Not one one, but one important line. Is that close enough? :-)
--
WireHose: Smart metadata and personalization for WebObjects.
http://www.wirehose.com/
"We have no sympathy for the lost souls
We've chosen the path of disgrace
We give this life to our children
And teach them to hate this place" -- Apocalyptica, Life Burns!
Miguel Arroz
http://www.ipragma.com
_______________________________________________
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