Hello all,Maybe you can help me out with another question...I am working on a
blog app as my first app... I have 3 major outstanding issues the major one
that I am most lost on is... my tag system does not increment the tag counts
right away... the only way the tag area shows the correct number
hi marc,
don't know if it solves completely your problem but try to set the
default fetch timestamp lower:
// default is one hour see for discussion
// http://www.wodeveloper.com/omniLists/webobjects-dev/2002/April/msg00743.html
EOEditingContext.setDefaultFetchTimestampLag(sec * 2);
hope that h
Mac,
Since it seems you're doing a new fetch every time the main page is
displayed, I cannot fathom a good reason why you're not seeing all
the tags. Have you determined whether or not the fetch is actually
returning all the expected objects? I would do a couple of things:
1) Make sure
On Jun 4, 2007, at 10:14 PM, Mac Campbell wrote:
Hello all,
Maybe you can help me out with another question...
I am working on a blog app as my first app... I have 3 major
outstanding issues the major one that I am most lost on is... my
tag system does not increment the tag counts right a
yEOEnterpriseObject newTag =
EOUtilities.createAndInsertInstance(ec, "Tags");
newTag.takeValueForKey(tempString, "desc");
newEntry.addObjectToBothSidesOfRelationshipWithKey(newTag, "tagss");
}> CC: [EMAIL PROTECTED]> From: [EMAIL PROTECTED]> Subject
brutal ugly and hard to read.
newTag.setDesc(tempString);
newEntry.addObjectToBothSidesOfRelationshipWithKey
(newTag, "tagss");
}
Still not sure what is wrong, but it lies elsewhere.
Chuck
> CC: [EMAIL PROTECTED]
> From: [EMAIL PROTECTED]
> Subject: Re: My first web app... (still)
> Date: Tue, 5 Jun 2
selectedTag =
EOUtilities.createAndInsertInstance(ec, "Tags");
selectedTag.takeValueForKey(tempString, "desc");
}
newEntry.addObjectToBothSidesOfRelationshipWithKey
(selectedTag, "tagss");
Chuck
> CC: webobjects-dev@lists.apple.co
that was extrermly
helpful.Mac> CC: [EMAIL PROTECTED]> From: [EMAIL PROTECTED]> Subject: Re: My
first web app... (still)> Date: Tue, 5 Jun 2007 20:06:59 -0700> To:
webobjects-dev@lists.apple.com> > > On Jun 5, 2007, at 7:46 PM, Mac Campbell
wrote:> > >>
s and many to many
relationships... and really all along it was just a gaping hole in
my logic! :o|
Thanks Chuck that was extrermly helpful.
Mac
> CC: [EMAIL PROTECTED]
> From: [EMAIL PROTECTED]
> Subject: Re: My first web app... (still)
> Date: Tue, 5 Jun 2007 20:06:59 -0700