• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem adding key with WebObjects Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem adding key with WebObjects Builder


  • Subject: Re: Problem adding key with WebObjects Builder
  • From: Rick Hoge <email@hidden>
  • Date: Fri, 12 Aug 2005 22:42:15 -0400


If I do this, the following lines of code are added to my Session.java source:

    /** @TypeInfo Author */
    protected (null) authorList;


Replacing (null) with NSArray fixes the problem... if anyone could answer the following questions I'd be grateful:


- is (null) just wrong, the result of a bug in WO Builder? Is there something else I might have done incorrectly to cause this?
- is NSArray the correct thing to use?


Anyway my Authors example is working nicely now and I'm gleefully adding and deleting books and authors (ok so it's Friday night and I should get a life:)

Rick




And when I build, this generates the following error message:

Session.java:17: illegal start of type
    protected (null) authorList;
              ^
Session.java:17: <identifier> expected
    protected (null) authorList;


I have to confess my knowledge of Java is very limited, otherwise I could probably figure this out more easily on my own. On the other hand I have been naively expecting that these tools would generate good Java (recent posts make it clear that the Xcode 2.1/WO 5.3, which I'm using, is pretty buggy...)


Thanks for any suggestions,

Rick




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Problem adding key with WebObjects Builder
      • From: "Clive Roberts" <email@hidden>
    • Re: Problem adding key with WebObjects Builder
      • From: Michael Holtermann <email@hidden>
References: 
 >Problem adding key with WebObjects Builder (From: Rick Hoge <email@hidden>)

  • Prev by Date: Problem adding key with WebObjects Builder
  • Next by Date: unsubscribe
  • Previous by thread: Problem adding key with WebObjects Builder
  • Next by thread: Re: Problem adding key with WebObjects Builder
  • Index(es):
    • Date
    • Thread