Re: a rule for formatting?
Re: a rule for formatting?
- Subject: Re: a rule for formatting?
- From: Theodore Petrosky <email@hidden>
- Date: Thu, 04 Dec 2014 10:50:35 -0500
I am looking at the formatter for date that is created when you make a new D2W app.
100 : (smartAttribute.className = 'com.webobjects.foundation.NSTimestamp' or (smartAttribute.valueFactoryMethod != null and smartAttribute.factoryMethodArgumentType = (java.lang.Number)'3')) => formatter = "%m-%d-%Y" [com.webobjects.directtoweb.Assignment]
is there a reason you choose ERDDelayedKeyValueAssignment?
If it were set up correctly, and the format that you choose was NFG, would it barf at you or fail silently?
this one is working for me:
100 : (pageConfiguration like '*Insertion' and propertyKey = 'jobNumber') => formatter = "###" [com.webobjects.directtoweb.Assignment]
Ted
On Dec 4, 2014, at 10:21 AM, James Cicenia <email@hidden> wrote:
> OK -
>
> I have tried all kinds of assignment regular and delayed in my rule for setting the format but nothing changes.
>
> 100 : (pageConfiguration = 'ListCustomerOrder' and propertyKey = 'totalSellPrice') => formatter = "$###,###,##0.00;0;($###,###,##0.00)" [ERDDelayedKeyValueAssignment]
>
> Is there another rule I am missing to actually ’turn-on’ formatting?
>
> Thanks
> James
> _______________________________________________
> 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
_______________________________________________
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