• 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: ERPPieChart - items, nameKey, valueKey were already bound, but eclipse still warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERPPieChart - items, nameKey, valueKey were already bound, but eclipse still warning


  • Subject: Re: ERPPieChart - items, nameKey, valueKey were already bound, but eclipse still warning
  • From: Q <email@hidden>
  • Date: Sun, 4 May 2008 20:30:04 +1000



On 04/05/2008, at 7:23 PM, Yung-Luen Lan wrote:

Hi,

Here is my ERPPieChart.wod:

MyChart: ERPPieChart {
	items = hashes;
	nameKey = "Brand";
	valueKey = "Quality";
}

Although I've already supplied items, nameKey and valueKey, eclipse
still give me an error "Either items, nameKey and valueKey or dataset
must be bound."
(hashes return a HashMap)

Any idea? I use WO 5.4 on Leopard with Eclipse 3.3 and the latest
Project Wonder.

It's not a wolips problem, the API file for ERPPieChart is wrong.

It is :
<validation message="Either items, nameKey and valueKey or dataset must be bound">
<or>
<and>
<unbound name="items"/>
<unbound name="nameKey"/>
<unbound name="valueKey"/>
</and>
<unbound name="dataset"/>
</or
</validation>


I think it should be something like:

<validation message="Either items, nameKey and valueKey or dataset must be bound">
<or>
<and>
<or>
<unbound name="items"/>
<unbound name="nameKey"/>
<unbound name="valueKey"/>
</or>
<unbound name="dataset"/>
</and>
<and>
<or>
<bound name="items"/>
<bound name="nameKey"/>
<bound name="valueKey"/>
</or>
<bound name="dataset"/>
</and>
</or>
</validation>




Regards,
yllan
_______________________________________________
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



-- Seeya...Q

Quinton Dolan - email@hidden
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806



_______________________________________________
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


References: 
 >ERPPieChart - items, nameKey, valueKey were already bound, but eclipse still warning (From: "Yung-Luen Lan" <email@hidden>)

  • Prev by Date: ERPPieChart - items, nameKey, valueKey were already bound, but eclipse still warning
  • Next by Date: Re: How to get rid of ?wosid=
  • Previous by thread: ERPPieChart - items, nameKey, valueKey were already bound, but eclipse still warning
  • Next by thread: Re: Problem on WOLips
  • Index(es):
    • Date
    • Thread