Hi all,
Okay, something might have changed with the model plist (with an
update from WOLips or something) but I can't see it :-/
The data is being received via soap (and correctly applied to the
instance, as I've checked both the incoming and after setting the
value doing a valueForKey on
On Apr 19, 2007, at 9:45 PM, Peter Vandoros wrote:
Hi Steven,
See comments below.
This works great also. The KitQuantities are visibly represented
on the page, they are definitely in the database, and I can even
print out the snapshot for the items for both editing contexts as
they
Hi Steven,
See comments below.
This works great also. The KitQuantities are visibly represented on
the page, they are definitely in the database, and I can even print
out the snapshot for the items for both editing contexts as they are
created, and everything is perfect. If I were to qui
How could Class Cast Exception happen in the first place? (though both
subclass from Template..)
Indeed, yes. Both are inherited from a common superclass.
I am migrating the data from FrontBase into MySQL. All the data and primary
key are created through EOF *perfectly* , then I attempted t
Mark,
On Apr 19, 2007, at 8:54 PM, Steven Mark McCraw wrote:
Ok, I spent the evening scouring every framework and the
application to make 100% certain that I am not violating any EOF
commandments, and although it is always possible that I missed
something somewhere, I am pretty darn sure
Ok, I spent the evening scouring every framework and the application
to make 100% certain that I am not violating any EOF commandments,
and although it is always possible that I missed something somewhere,
I am pretty darn sure I am clean. Furthermore,
DebugGroupMultithreading isn't spitti
Hi group,
For those how don't receive the JDJ Newsletter here is an article I
found that I think is very cool...
http://java.sys-con.com/read/363691.htm
Now we need to introduce this guy to WebObjects. I think he would
freak and I bet he is completely unaware of Core Data's history.
--
R
On Apr 19, 2007, at 12:54 PM, Steven Mark McCraw wrote:
Hey Chuck,
/Library/Receipts tells me I'm on the 5.3.3 update.
I have been running with DebugGroupMultithreading for a few days
now, and nothing seems to have changed, so I assumed everything was
ok there, but it could just be that I
Hey Chuck,
/Library/Receipts tells me I'm on the 5.3.3 update.
I have been running with DebugGroupMultithreading for a few days now,
and nothing seems to have changed, so I assumed everything was ok
there, but it could just be that I set things up wrong. I just added
the following lines t
Also, are you on the latest WO version?
On Apr 19, 2007, at 12:33 PM, Steven Mark McCraw wrote:
Hi Chuck,
Thanks for the response. I'm 99.9% sure that I'm locking properly,
and the only EOF commandment I might possibly be breaking is the
one that says:
"Don't change the behavior of met
On Apr 19, 2007, at 12:33 PM, Steven Mark McCraw wrote:
Hi Chuck,
Thanks for the response. I'm 99.9% sure that I'm locking properly,
Enable NSLog group DebugGroupMultithreading and be certain.
and the only EOF commandment I might possibly be breaking is the
one that says:
"Don't chang
Hi Chuck,
Thanks for the response. I'm 99.9% sure that I'm locking properly,
and the only EOF commandment I might possibly be breaking is the one
that says:
"Don't change the behavior of methods that EOF uses. For example, do
not override to-many relationships to return a sorted list of
Ok -
I just did that now have ((Navigation)context()) which was a
refactoring snap from ((Session)session())
I assume this will be more efficient as I am still having generic
hangs from my Session faced version
of this application.
Thanks
James Cicenia
On Apr 19, 2007, at 12:08 P
You might consider passing informations through worequest.userInfo
dictionary as an alternative to bindings.
From a sub component, you can still do bindings like " value =
context.request.userInfo.theKeyToSomethingINeed; ".
- jfv
Le 07-04-19 à 13:37, James Cicenia a écrit :
A navigation obj
Frank,
go to your EOModel and switch off the diamond on the relationship
from A to B, then
go to your EOModel and switch off the diamond on the relationship
from C to B, then
try again.
The fetches should be gone.
Your only problem now: you need to do a fetch to get all Bs belinging
to an
A navigation object is a nice idea which is what I was using the
session for... so I can pass one.. but still...
is there would be a way to just grab the bindings in the child
component programatically so I don't have
to manually bind dozens of component contents with their children's
bindi
I have to do that for a Web site (www.acaiq.com). In the DA, I
create a Navigation object where I store the stuff that I need and I
send the Navigation object via bindings to components.
Hello -
I need a refresh here. I am trying to convert my catalog type
application to be
all DA in th
On Apr 19, 2007, at 9:46 AM, James Cicenia wrote:
Hello -
I need a refresh here. I am trying to convert my catalog type
application to be
all DA in the front end.
However, what is the best way to get at the values from the
contained content
within the component content ??
I have a few
On Apr 19, 2007, at 7:42 AM, Frank Stock wrote:
Ken,
I have a many to many relation.
A<->>B<<->C
Primary keys are A.pk,B.pk,C.pk
The select statements are (after the 2
addObjectToBothSidesOfRelationshipWithKey)
select t0. from B where A.pk= ;
select t0 from B where C.pk =
It sounds to me like ProjectExecutionTemplate and
ProjectActorRoleTemplate both share a common EO superclass. __ALL__
objects in an EO inheritance hierarchy need a unique PK. Not just
unique in their table, unique across ALL tables in the hierarchy.
EOF should do this by default, if you
On Apr 19, 2007, at 9:45 AM, Steven Mark McCraw wrote:
Hi all,
I've been working all morning trying to debug cryptic EOF
exceptions, and as per the usual with that, am getting nowhere. I
can almost replicate some of them, but the behavior is inconsistent
and therefore very frustrating.
This pretty much means one of two things:
1. You are not locking properly
http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Using_EOF/
Context_and_Database_Locking
2. You are violating EOF commandments
http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Using_EOF/
The_EOF_Commandmen
Hello -
I need a refresh here. I am trying to convert my catalog type
application to be
all DA in the front end.
However, what is the best way to get at the values from the contained
content
within the component content ??
I have a few wrappers that get switched in from page. I need those
Hi all,
I've been working all morning trying to debug cryptic EOF exceptions,
and as per the usual with that, am getting nowhere. I can almost
replicate some of them, but the behavior is inconsistent and
therefore very frustrating. Almost all of them seem to hinge in some
way or other o
Hi Dov,
Am 19.04.2007 um 16:40 schrieb Dov Rosenberg:
We have been using the SharedEditingContext for a couple of years
and have
finally gotten it pretty stable and useful. Here are some things we
did:
I'm using the SharedEditingContext (SEC) a lot myself, so here are my
2 cents:
1. Ma
On 19.04.2007, at 08:40, Dov Rosenberg wrote:
We have been using the SharedEditingContext for a couple of years
and have
finally gotten it pretty stable and useful.
And this all was worth it? I use an application wide normal editing
context if I want to cache some stuff at the application
Hi all,
I've been seeing a lot of exceptions/warnings in the logs for one of
my applications lately, and all seem to have something to do with an
unexpected snapshot state. I'm not really sure what causes this, or
where to look next. Has anyone seen these before?
The first appears just
Ken,
I have a many to many relation.
A<->>B<<->C
Primary keys are A.pk,B.pk,C.pk
The select statements are (after the 2
addObjectToBothSidesOfRelationshipWithKey)
select t0. from B where A.pk= ;
select t0 from B where C.pk = ;
This doesn't make sense to me why these sele
We have been using the SharedEditingContext for a couple of years and have
finally gotten it pretty stable and useful. Here are some things we did:
1. Make sure to set the reference to the SharedEditingContext to null on ANY
regular editing context that you create i.e. Doing
_wec.setSharedEditingC
I say this because, I had the same problem, and I passed 2 DAYS trying every
thing before make an NSLog.out.appendln("Value "+property) (this is your
case) and see a beatiful "Value null" output
2007/4/19, Frank Stock <[EMAIL PROTECTED]>:
Hi,
Why is WO fetching all the data and the filtering:
On 19 Apr 2007, at 14:57, Frank Stock wrote:
Ken,
what I don't understand is why all the relation-rows are fetched,
not just the selection thats needed?
A <--- B
A has an array fault; if you touch it, EOF will go to the database to
get all B belonging to A.
If you do a.addObjectToB
2007/4/19, Frank Stock <[EMAIL PROTECTED]>:
Hi,
Why is WO fetching all the data and the filtering:
NSMutableArray qbind;
qbind=new NSMutableArray();
qbind.addObject(property);
aQual = EOQualifier.qualifierWithQualifierFormat("(property=%@)",qbind);
fs = new EOFetchSpecification("Property",a
Frank,
Are you saying that you end up with more records in the relationship
than you'd expect, or that the query is selecting a larger group than
you'd expect? Is it possible the destination entity is set to 'Cache
in Memory' on the inspector? If your to-many relationship has a
qualifie
Ken,
what I don't understand is why all the relation-rows are fetched, not
just the selection thats needed?
Frank
Op 19-apr-07, om 14:37 heeft Ken Anderson het volgende geschreven:
Frank,
There must be a large number of objects in the relationship you're
adding to. In that case, you mi
property is a VARCHAR(255), not locked
Op 19-apr-07, om 15:41 heeft Ken Anderson het volgende geschreven:
How is property defined in the model (the attribute property, not
the entity Property) ?
On Apr 19, 2007, at 9:26 AM, Frank Stock wrote:
Hi,
Why is WO fetching all the data and the fil
Good one! That's most likely it.
On Apr 19, 2007, at 9:38 AM, Stefan Klein wrote:
Hi Frank,
did you set the 'Cache in memory' flag in your eomodel for your
entity?
Stefan
Frank Stock schrieb:
Hi,
Why is WO fetching all the data and the filtering:
NSMutableArray qbind;
qbind=new NSM
How is property defined in the model (the attribute property, not the
entity Property) ?
On Apr 19, 2007, at 9:26 AM, Frank Stock wrote:
Hi,
Why is WO fetching all the data and the filtering:
NSMutableArray qbind;
qbind=new NSMutableArray();
Hi Frank,
did you set the 'Cache in memory' flag in your eomodel for your entity?
Stefan
Frank Stock schrieb:
Hi,
Why is WO fetching all the data and the filtering:
NSMutableArray qbind;
qbind=new NSMutableArray();
qbind.addObject(property);
aQual = EOQualifier.qualifierWithQualifierFormat
Hi,
Why is WO fetching all the data and the filtering:
NSMutableArray qbind;
qbind=new NSMutableArray();
qbind.addObject(property);
aQual = EOQualifier.qualifierWithQualifierFormat("(property=%
@)",qbind);
fs = new EOFetchSpeci
On 19 Apr 2007, at 13:37, Ken Anderson wrote:
Frank,
There must be a large number of objects in the relationship you're
adding to. In that case, you might want to just add it to the
other side. Is it a relationship that you use often? If so, you
might want to consider changing how it
Frank,
There must be a large number of objects in the relationship you're
adding to. In that case, you might want to just add it to the other
side. Is it a relationship that you use often? If so, you might
want to consider changing how it works so that there's not such a
large group of
// Note: this is where it's useful Mike :-)
addObjectToBothSidesOfRelationshipWithKey( aClient, key );
:) Just for the record, I'm not saying
addObjectToBothSidesOfRelationshipWithKey is wrong or not useful in
any way .. I'm saying with some decent eogenerator
HI,
I did test it with addTo and that just gives me
the same result!
Thanks,
Frank Stock
Op 19-apr-07, om 13:30 heeft Shravan Kumar.M het volgende geschreven:
Hello Frank,
When there is a one-to-many or many-to-many it is advised not use
addObjectToBothSidesOfRelationshipWithKey instead
Hello Frank,
When there is a one-to-many or many-to-many it is advised not use
addObjectToBothSidesOfRelationshipWithKey instead use the individual
addTo() methods. When we use
addObjectToBothSidesOfRelationshipWithKey , it tries to fault the
objects in the relationship and that is what y
Hi,
When I do this:
bpObject = new BlockProperty();
ec.insertObject(bpObject);
bpObject.setValue(value);
bpObject.addObjectToBothSidesOfRelationshipWithKey(bObject,"block");
bpObject.addObjectT
Hi Flor
Very, very helpful. I have tried JFormDesigner and like what I see
so far. It is lightweight, quick, converts JBuilder format files and
looks to do the trick. My only worry is that it does seem to have a
small user base and is vulnerable with just one developer, that said
JBuild
2007/4/19, Cheong Hee (Datasonic) <[EMAIL PROTECTED]>:
Row 206 is the error where I did the object enumeration after
the fetched:
ProjectExecutionTemplate anObject =
(ProjectExecutionTemplate)enumerator.nextElement();
So you do :
EOFetchSpecification fs = new
EOFetchSpeci
Hi Giles,
We are doing exactly the same thing (WO + raw Swing). I am using
JFormDesigner for some year and a half now, or so, and I have nothing
but high praises for it. During that time I have been keeping up with
Swing GUI designers, but did not find a better one. I can not say
anythin
Row 206 is the error where I did the object enumeration after the fetched:
ProjectExecutionTemplate anObject =
(ProjectExecutionTemplate)enumerator.nextElement();
- Original Message -
From: Daniele Corti
To: Cheong Hee (Datasonic)
Cc: WO-Apple-Dev
Sent: T
2007/4/19, Cheong Hee (Datasonic) <[EMAIL PROTECTED]>:
I have an application that is using this fetch defined in
"getAllObjects":
.etc
Everything "seems" working, however when fetch this particular table, this
message has thrown out :: It was complaining the class cast exce
On 19/04/2007, at 5:57 PM, Fabian Peters wrote:
Am 19.04.2007 um 08:42 schrieb Lachlan Deck:
just wanting to clarify the do's/don'ts...
I'm getting "Cannot obtain globalId for an object which is
registered in an other than the databaseContext's active
editingContext..."
Ok, so the objec
I have an application that is using this fetch defined in "getAllObjects":
EOFetchSpecification fs = new
EOFetchSpecification("ProjectExecutionTemplate", nameQualifier, null, true,
true, sortOrdering);
NSArray foundList = context.objectsWithFetchSpecification(fs);
.et
Hi Lachlan,
Am 19.04.2007 um 08:42 schrieb Lachlan Deck:
Hi all,
just wanting to clarify the do's/don'ts...
I'm getting "Cannot obtain globalId for an object which is
registered in an other than the databaseContext's active
editingContext..."
Ok, so the object you're trying to establish
53 matches
Mail list logo