• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Manual syncing question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Manual syncing question
      • From: Gary Teter <email@hidden>
References: 
 >Manual syncing question (From: Miguel Arroz <email@hidden>)
 >Re: Manual syncing question (From: Chuck Hill <email@hidden>)
 >Re: Manual syncing question (From: Gary Teter <email@hidden>)

  • Prev by Date: Re: Manual syncing question
  • Next by Date: Re: Manual syncing question
  • Previous by thread: Re: Manual syncing question
  • Next by thread: Re: Manual syncing question
  • Index(es):
    • Date
    • Thread