Yes, I realised after I sent it that I had omitted to say that I had already created the EOGenericRecord custom class, named "Idea" through EOModeller. "Idea" is the entity and "value" is the attribute. I have gone back and corrected a few lines of code but I am now just have one remaining error:

Idea.java:121: cannot resolve symbol
symbol  : method setValue (java.math.BigDecimal)
Build failed for target "BigIdeaD2W" using build style "Development" (1 error)

This is from:

public void awakeFromInsertion (EOEditingContext ec) {
super.awakeFromInsertion(ec);
if (value() == null) {
setValue(new BigDecimal("500"));
}
}
}

Any thoughts?

Yes, read the error message, this is quite clear and means: The class Idea.java -and- and of its super classes has no method named 'setValue(BigDecimal)'. Whats so complicated about this? 

Regards, David

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to