Hi Owen,
In your validationFailedWithException() method, add this:
public void validationFailedWithException(java.lang.Throwable exception,
java.lang.Object value, java.lang.String keyPath) {
// add to array of error messages
// try to force the value
try {
// value = the Object para
Hi!
The contexts are locked. The problem is that it's not the same
context - it's a different context per thread, with local copies of
the same objects.
Synchronizing solves the sample problem, but as my real problem is
much more complex than this example, it starts to get a little...
Hi!
Related to my previous question: is there a way to force the
processing/merging of changes from the object store? Waiting for the
end of the R-R cicle is not enough, and the processRecentChanges
method doesn't do it. reaultAllObjects seems to be working, but I
don't trust it enough,
On Aug 1, 2007, at 8:47 AM, Miguel Arroz wrote:
Hi!
Related to my previous question: is there a way to force the
processing/merging of changes from the object store?
ec.unlock();
ec.lock();
Assuming you have only locked it once.
Chuck
Waiting for the end of the R-R cicle is not enoug
HI Miguel,
You sure do know how to have fun with WO!
On Jul 31, 2007, at 4:41 PM, Miguel Arroz wrote:
Hi!
I'm trying to understand what's the best way to do something here.
Imagine that I need to get a object from the database, modify
some attribute based on itself and save it again.
On Aug 1, 2007, at 5:00 AM, Miguel Arroz wrote:
Hi!
The contexts are locked. The problem is that it's not the same
context - it's a different context per thread, with local copies of
the same objects.
Synchronizing solves the sample problem, but as my real problem
is much more comp
On Aug 1, 2007, at 10:12 AM, Miguel Arroz wrote:
Hi!
On 2007/08/01, at 17:02, Chuck Hill wrote:
On Aug 1, 2007, at 8:47 AM, Miguel Arroz wrote:
Hi!
Related to my previous question: is there a way to force the
processing/merging of changes from the object store?
ec.unlock();
ec.lock
On Jul 31, 2007, at 6:51 PM, Lachlan Deck wrote:
On 31/07/2007, at 2:42 AM, Chuck Hill wrote:
On Jul 29, 2007, at 8:35 PM, Lachlan Deck wrote:
On 28/07/2007, at 1:04 AM, Chuck Hill wrote:
No. Has your model changed and the Java not been regenerated?
Good suggestion double checking..
Hi!
On 2007/08/01, at 17:02, Chuck Hill wrote:
On Aug 1, 2007, at 8:47 AM, Miguel Arroz wrote:
Hi!
Related to my previous question: is there a way to force the
processing/merging of changes from the object store?
ec.unlock();
ec.lock();
Isn't that dangerous?
Yours
Miguel Arroz
On Jul 31, 2007, at 8:36 PM, Lachlan Deck wrote:
That's something I'm working on at the moment actually... something
like...
public String validateRqfJustification(String newState) throws
NSValidation.ValidationException
{
if ( newState != null ) {
if (newState.le
Hi!
On 2007/08/01, at 18:14, Chuck Hill wrote:
You sure do know how to have fun with WO!
My software development cycle is a really weird thing. I'm a very
pessimistic guy, and I always assume everything will screw up. So I
start to think on all the ramifications I can get. When concurre
Hi!
On 2007/08/01, at 18:22, Chuck Hill wrote:
No, why would it be dangerous. The thread won't return from ec.lock
() until the EC is locked again. While it is blocked, it is not
doing anything else that might affect the EC.
Yeah, it's safe from an EC point of view. I must think if it's
On Jul 31, 2007, at 7:18 PM, Owen McKerrow wrote:
Hi All,
I have an attribute in an entity that has a width of 1500 char. I
have over ridden the validate method for it inside the entities
java class.
public String validateRqfJustification(String newState) throws
NSValidation.Valid
This is killing me and it's holding up my entire project.
I have written a simple WO app and it works fine when i build and run
it. But I want it to wo works with JavaServer Pages and so I am
deploying it in a servlet. A simple Hello World app works fine. But
as soon as I try to access a db
Turn it off! See attached!
Miguel Arroz wrote:
btw, apple, you *could* do that popping up a little less stressful!
<> ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
It is probably a classpath problem: lack of JDBC driver or lack of
EOF plugin. Try adding the attached class and see if it tells you
anything useful.
Chuck
EOFJDBCConnectionAnalyzer.java
Description: Binary data
On Aug 1, 2007, at 11:28 AM, Daniel Brajkovic wrote:
This is killing me
Has anyone done any EMMA ( http://emma.sourceforge.net/ ) source code
coverage integration with WebObjects based applications and frameworks?
--
Dov Rosenberg
Inquira
Knowledge Management Experts
http://www.inquira.com
___
Do not post admin requests
Figured it out. Had to comment out a section in the web.xml file. It
works now. Thanks.
On Aug 1, 2007, at 1:42 PM, Chuck Hill wrote:
It is probably a classpath problem: lack of JDBC driver or lack of
EOF plugin. Try adding the attached class and see if it tells you
anything useful.
C
Can you post what was wrong so that others can benefit from it in
the future?
Thanks
Chuck
On Aug 1, 2007, at 1:34 PM, Daniel Brajkovic wrote:
Figured it out. Had to comment out a section in the web.xml file.
It works now. Thanks.
On Aug 1, 2007, at 1:42 PM, Chuck Hill wrote:
It is p
Sure, sorry about that. After one builds his application and creates
his .jsp file per Apple's docs, one of the products in the Servlet
Resources->WEB-INF folder will be a doc called web.xml. In it you
will find the following:
The data source to be used by EOF. If there are
multip
You can simulate OL, by listening to merge notifications. If it
affects a modified object you can later on refuse to save.
Pierre
On Aug 1, 2007, at 7:18 PM, Chuck Hill wrote:
On Aug 1, 2007, at 5:00 AM, Miguel Arroz wrote:
Hi!
The contexts are locked. The problem is that it's not the
Hi there,
Is anyone else experiencing problems with the Safari 3.0.2/3.0.3 beta
and WOFileUpload? I have the following in my wod file (fileData is an
NSData object and filePath is a String):
"$uploadFile" />
When the user clicks on the submit button, Saf
I should also mention... my enctype is set to "multipart/form-data",
and I get a stack trace that says:
[2007-08-01 19:59:46 MDT]
:
Exception occurred while handling request:
java.lang.IllegalStateException:
No form data left
for WOFileUpload!
Clark
The problem comes in when the modifications are made and saved after
your editing context has been locked in the RR loop. I tricked ;-)
Mike into looking at this today with. Looks like tigers lurk here.
Maybe Mike will comment.
Chuck
On Aug 1, 2007, at 2:34 PM, Pierre Bernard wrote:
24 matches
Mail list logo