Hello;
I was able to resolve this by flattening the relationship. Actually
I totally rebuilt my EO Model and allowed EoModeler to join the many
to many tables. This took care of the problem.
Thanks everyone for all your help.
Don
On Dec 10, 2007, at 1:03 PM, Chuck Hill wrote:
On Dec 9
On Dec 9, 2007, at 10:45 AM, Don Lindsay wrote:
Hello;
When I use the following settings I can save and the listbox shows
the correct number of rows and the correct selected items.
ToManyRelationship: WOToManyRelationship {
sourceEntityName = "Agents";
destinationDisp
On 10/12/2007, at 2:19 PM, Don Lindsay wrote:
But then if I de-selected everything from a wotomany it would
result in an error?
Not sure I follow what you're suggesting here. But jumping ahead...
I'd hazzard a guess that your problem stems from you trying to use
WOToManyRelationship with a
But then if I de-selected everything from a wotomany it would result
in an error? I am not able to duplicate that with the other
wotomany. I can deselect all items and not experience the error.
Don
On Dec 9, 2007, at 10:13 PM, Lachlan Deck wrote:
On 10/12/2007, at 1:28 PM, Don Lindsay wro
On 10/12/2007, at 1:28 PM, Don Lindsay wrote:
Hello Lachlan;
I know there is no data in the TrainingOrgAssoc table for the
user. Does a row have to exist in a relationship entity before
using a WOToManyRelationship?
I believe so - otherwise it won't be of much use to a user. You can
wr
Hello Lachlan;
I know there is no data in the TrainingOrgAssoc table for the user.
Does a row have to exist in a relationship entity before using a
WOToManyRelationship?
Don
On Dec 9, 2007, at 7:23 PM, Lachlan Deck wrote:
On 10/12/2007, at 11:07 AM, Don Lindsay wrote:
I have this one wo
On 10/12/2007, at 11:07 AM, Don Lindsay wrote:
I have this one working. But now I have implemented another
wotomanyrealationship. The structure is exactly the same ag the
mgtOfc except it is for training. when I try to load the page with
that wotomany on it I get the follow error trace.
Hello;
I have this one working. But now I have implemented another
wotomanyrealationship. The structure is exactly the same ag the
mgtOfc except it is for training. when I try to load the page with
that wotomany on it I get the follow error trace.
dwtm
Error: java.lang.NullPointerExc
On 10/12/2007, at 5:45 AM, Don Lindsay wrote:
When I use the following settings I can save and the listbox shows
the correct number of rows and the correct selected items.
Great.
ToManyRelationship: WOToManyRelationship {
sourceEntityName = "Agents";
destinationDisplay
On 9 Dec 2007, at 16:50, Don Lindsay wrote:
Here is the Code:
import com.webobjects.foundation.*;
import com.webobjects.appserver.*;
import com.webobjects.eocontrol.*;
import com.webobjects.eoaccess.*;
public class editAgent extends
com.psgs.dodig.dwtm.AbstractSubComponent {
/** @Type
Here is the Code:
import com.webobjects.foundation.*;
import com.webobjects.appserver.*;
import com.webobjects.eocontrol.*;
import com.webobjects.eoaccess.*;
public class editAgent extends
com.psgs.dodig.dwtm.AbstractSubComponent {
/** @TypeInfo Agents */
public Agents agent;
Hi Don,
On 09/12/2007, at 7:44 PM, Don Lindsay wrote:
Agents is a single row.
Yes, but is the signature of the method referred to by the key
'agent' returning an NSArray or Agent?
i.e., is it:
public NSArray agent() {...} // wrong
or
public Agent agent() {...} // correct
Just to clarify,
Hello;
Agents is a single row. mgtOfc is a relationship key. Even when I do:
sourceObject: agent
sourceEntityName: "agents"
relationshipKey: "mgtOfc"
destinationDisplayKey = "orgs.name"
The listbox does not show on the screen when the screen is rendered
in the application.
Sorry for bein
On 09/12/2007, at 12:16 PM, Don Lindsay wrote:
I want to use a WOToManyRelationship control.
I put in the following
datasource:
sourceObject: agents
sourceEntityName: "Agents"
relationshipkey:"mgtOfc"
sourceObject should be bound to a key that returns an
EOEn
Sorry, I meant it only contains a single row of the Agents entity.
Don
On Saturday, December 08, 2007, at 08:57PM, "Don" <[EMAIL PROTECTED]> wrote:
>The agents variable is a single agent. I have renamed my variables
>to make the code more readable and checked that it is a single Agent
>entit
The agents variable is a single agent. I have renamed my variables
to make the code more readable and checked that it is a single Agent
entity.
thanks,
Don
On Dec 8, 2007, at 8:28 PM, Mike Schrag wrote:
>> datasource:
>> sourceObject:agents
> sourceObject is expecting a sing
On Dec 8, 2007, at 12:02 PM, Don Lindsay wrote:
Hello;
I turned debugging on and got the stack trace.
dwtm
Error: java.lang.ClassCastException:
com.webobjects.eocontrol._EOCheapCopyMutableArray
Reason: com.webobjects.eocontrol._EOCheapCopyMutableArray
Stack trace:
FileLin
datasource:
sourceObject: agents
sourceObject is expecting a single EO, not an array of EO's ... You're
getting a ClassCastException because it's trying to cast your agents
array to an EO.
ms
___
Do not post admin requests to the list. T
I m making myself crazy working on this. I have an Entity Named
Agents, WHich has a tomany relationship to an Entity Named
ManagedOrgAssoc, which has a toOne relationship to a table called
organizations.
So an agent can have multiple organizations that they manage. The
entity ManagedOrg
Hello;
I turned debugging on and got the stack trace.
dwtm
Error: java.lang.ClassCastException:
com.webobjects.eocontrol._EOCheapCopyMutableArray
Reason: com.webobjects.eocontrol._EOCheapCopyMutableArray
Stack trace:
FileLine# Method Package
WOToManyRelationship.java 345
Hello;
I have a stupid question. The customer wants to see a filtered list
of options in the WOToManyRelationship listing.I have added a
default fetch specification to the entity in the EO Model but for
some reason it is not applying in the WOToManyRelationship listing.
Am I missing
Hello Chuck;
All I get is :
Application: dwtm
Error: java.lang.ClassCastException:
com.webobjects.eocontrol._EOCheapCopyMutableArray
Reason:
Stack trace:
FileLine# Method Package
NA : Non applicable, JIT activated
No stack trace at all. I don't know why.
Don
On Dec
On Dec 8, 2007, at 9:26 AM, Don Lindsay wrote:
Hello;
I recently picked up an old application from about a year ago.
When I click save on any of my edit pages I get a classcastexception
in WOComponentRequestHandler while handing
java.lang.ClassCastException:
com.webobjects.eocontrol
On Dec 8, 2007, at 8:26 AM, Don Lindsay wrote:
Hello;
I recently picked up an old application from about a year ago.
When I click save on any of my edit pages I get a
classcastexception in WOComponentRequestHandler while handing
java.lang.ClassCastException:
com.webobjects.eocontrol
Sorry, dont mean to innundate you all. I have found that if I even
show the woToManyRelationship and try to save without selecting
anything I also get the error.
The page I am working on has WORepitition for editing multiple
records. It also has two columns that have woconditionals in the
I have some more information, on the page in question I have a
woToManyRElationship. The only time I get this error is if I select
anything in this control. Otherwise everything saves normally.
Don
On Dec 8, 2007, at 11:26 AM, Don Lindsay wrote:
Hello;
I recently picked up an old applica
Hello;
I recently picked up an old application from about a year ago.
When I click save on any of my edit pages I get a classcastexception
in WOComponentRequestHandler while handing
java.lang.ClassCastException:
com.webobjects.eocontrol._EOCheapCopyMutableArray.
The code that is exec
27 matches
Mail list logo