I've wondered myself, so I just had a sniff around some API files.
e.g. ERXEditDateJavascript.api contains the following:
<binding name="dateformat" defaults="Date Format Strings"/>
… and offers the right hand side completion of exactly that in the wod editor
- date format strings. Changing this to:
<binding name="dateformat" defaults="Numbers Format Strings"/>
has the expected effect - number format completion choices.
I guess these come from somewhere in WOLips, not sure if they're configurable.
Will keep digging.
Sharpy..
On 16/11/2012, at 8:14 AM, Johnny Miller <[email protected]> wrote:
> Hi,
>
> I would like to add code completion to a component the way in WOString it
> will give you a list of suggested number or date formats for the respective
> binding.
>
> How do you declare this in your component?
>
> Thanks in advance,
>
> Aloha,
> Mr. Johnny Miller
> Web Development Manager
> Kahalawai Media Company
> Lahaina, HI 96761
> tel: (808) 661-7962 | mobile: (808) 283-0791
> website | e-mail
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/getsharp%40gmail.com
>
> This email sent to [email protected]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
