• 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: a rule for formatting?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: a rule for formatting?
      • From: James Cicenia <email@hidden>
References: 
 >a rule for formatting? (From: James Cicenia <email@hidden>)

  • Prev by Date: a rule for formatting?
  • Next by Date: Re: a rule for formatting?
  • Previous by thread: a rule for formatting?
  • Next by thread: Re: a rule for formatting?
  • Index(es):
    • Date
    • Thread