Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Difficulty setting up an enumeration



man sdef

Christiaan

On 15 Nov 2007, at 2:43 PM, Paul Bruneau wrote:

On Nov 14, 2007, at 9:25 PM, Philip Aker wrote:

Hi Paul,

I think your sdef portion should look a little closer the following:

<suite name="Shipping Orders" code="Ship" description="Shipping order classes">
<enumeration name="shipping states" code="SHPS">
<enumerator name="on time" code="ONTM" description="On time."/>
<enumerator name="almost late" code="ALLT" description="Almost late."/>
<enumerator name="late" code="LATE" description="Late."/>
<enumerator name="on time promised" code="OTPR" description="On time (promised)."/>
<enumerator name="late promised" code="LTPR" description="Late Promised."/>
</enumeration>
<class name="product order" code="Prod" description="A product order.">
<cocoa name="ProductOrder"/>
<property name="shipping status" code="STAT" type="shipping states" description="The shipping status of an order.">
<cocoa key="shippingStatus"/>
</property>
</class>
</suite>

Dear Philip-

Moving my enumeration out of my class tag and into the suite was the key! Thank you so much, I am in your debt! Is it documented anywhere that specifies where in the sdef such things are allowed?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-implementors mailing list (Applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-implementors/ email@hidden


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-implementors mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-implementors/email@hidden

This email sent to email@hidden
References: 
 >Difficulty setting up an enumeration (From: Paul Bruneau <email@hidden>)
 >Re: Difficulty setting up an enumeration (From: Philip Aker <email@hidden>)
 >Re: Difficulty setting up an enumeration (From: Paul Bruneau <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.