Re: NestedElement weirdness

2007-05-09 Thread Peter Reilly
Yes, they need to be static for addX(Y) to work. The createX() method can be used for non static inner classes. Peter On 5/9/07, Matt Benson <[EMAIL PROTECTED]> wrote: This probably isn't your whole problem, but right off the bat you generally need to make your inner types static. HTH, Matt

Re: NestedElement weirdness

2007-05-09 Thread Matt Benson
This probably isn't your whole problem, but right off the bat you generally need to make your inner types static. HTH, Matt --- Kevin Jackson <[EMAIL PROTECTED]> wrote: > Hi all, > > I've just spent a hugely frustrating 2 hours or so > trying to get a > simple nested element to work within a ta

NestedElement weirdness

2007-05-09 Thread Kevin Jackson
Hi all, I've just spent a hugely frustrating 2 hours or so trying to get a simple nested element to work within a task. -addElementName(ObjectType t) fails (task doesn't support nested element) -addConfiguredElementName(ObjectType t) fails -createElementName works Here's pretty much the exact c