• 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: WORepetition error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WORepetition error


  • Subject: Re: WORepetition error
  • From: Arturo PĂ©rez <email@hidden>
  • Date: Mon, 26 Apr 2004 16:05:51 -0400

On Apr 26, 2004, at 3:36 PM, Randall Perry wrote:

I've passed an NSArray, logInfo, of EO objects from a Direct Action to a
result page. The result page has a WORepetition with the NSArray as list,
and and EO Object, logInfoItem, as the list item.


I'm getting this error when the page loads:

java.lang.IllegalArgumentException: While trying to invoke the set method
"public void ResultPage.setLogInfoItem(Log)" on an object of type ResultPage
we received an argument of type
com.webobjects.eocontrol._EOCheapCopyMutableArray. This often happens if you
forget to use a formatter.


What's this mean?

I get that most often when I have a WOTextfield bound to something that's not a string. It appears in your case that you're passing the array that you got back from your fetchspec instead of an item/element of that array.
----
WO in philadelphia - wanna cheesesteak with that?
Please visit webobjects.meetup.com.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.



References: 
 >WORepetition error (From: Randall Perry <email@hidden>)

  • Prev by Date: Re: Fetching from related object
  • Next by Date: database slowness weirdness
  • Previous by thread: WORepetition error
  • Next by thread: Re: WORepetition error
  • Index(es):
    • Date
    • Thread