I noticed that component had overridden my R2 date components recently too. Did 
someone up the priority on the rule for that thing or something?  I only had to 
waste a few minutes fixing it, but it was annoying just the same. Collectively 
the time spent on these nasty surprises adds up.

Committers, please be more considerate when updating default rule priorities. 
Thank you.

Ramsey

On Jan 18, 2013, at 6:50 PM, Theodore Petrosky wrote:

> thank you, thank you  this was the issue.
> 
> and it is a ERD2WDisplayDateOrNull
> 
> I can not believe I lost a whole day banging my head on this rock.
> 
> Ted
> 
> --- On Fri, 1/18/13, Jean Pierre Malrieu <[email protected]> wrote:
> 
>> From: Jean Pierre Malrieu <[email protected]>
>> Subject: Re: help with D2W target
>> To: "WebObjects Development" <[email protected]>
>> Date: Friday, January 18, 2013, 5:10 PM
>> I don't think it's the same problem
>> you are having, but I recently had a pb with date
>> formatters.
>> Did you check the property component which is used for your
>> date attribute? I realised that for the date prototype
>> (don't know with datetime), in some situations, I had a
>> String component swapped in by the default rules
>> (ERDDisplayString or something). This component does not
>> properly format dates (I guess it expects a "dateFormatter"
>> and I provided a "formatter" by means of the rule
>> system–just a guess). Once I added a rule to switch in a
>> date component (ERDDisplayDateOrNull, or something like
>> that), formatting started working. Not sure this is your
>> problem, but check the component on the not-working case.
>> 
>> JPM
>> 
>> Le 18 janv. 2013 à 17:15, Theodore Petrosky a écrit :
>> 
>>> I made the rule 155 and 160 priority and no change.
>>> 
>>> when there is a to-many, is there a key to target the
>> to-many List? maybe there is something there?
>>> 
>>> --- On Fri, 1/18/13, Theodore Petrosky <[email protected]>
>> wrote:
>>> 
>>>> From: Theodore Petrosky <[email protected]>
>>>> Subject: Re: help with D2W target
>>>> To: "Jesse Tayler" <[email protected]>
>>>> Cc: "WebObjects Development" <[email protected]>
>>>> Date: Friday, January 18, 2013, 10:51 AM
>>> 
>>> 
>>>> 2013-01-30 00:00:00 Etc/GMT
>>>> 
>>>> that's what I get on the page. No formatting at
>> all.
>>>> 
>>>> this rule has a priority of 150
>>>> 
>>>> I will push it up some more and see.
>>>> 
>>>> Ted
>>>> 
>>>> 
>>>> --- On Fri, 1/18/13, Jesse Tayler <[email protected]>
>>>> wrote:
>>>> 
>>>>> From: Jesse Tayler <[email protected]>
>>>>> Subject: Re: help with D2W target
>>>>> To: "Theodore Petrosky" <[email protected]>
>>>>> Cc: "WebObjects Development" <[email protected]>
>>>>> Date: Friday, January 18, 2013, 10:43 AM
>>>>> 
>>>>> that rule sure looks like anytime you have a
>> timestamp
>>>> with
>>>>> a name including the word "Date" in there, you
>> should
>>>> get
>>>>> that format.
>>>>> 
>>>>> did you take note of the format you DID get?
>>>>> 
>>>>> did you try to raise the priority of this
>> rule?
>>>>> 
>>>>> there could easily be a rule down under that is
>> more
>>>>> specific or perhaps higher priority.
>>>>> 
>>>>> so, if this works in one place but doesn't in
>> another,
>>>> try
>>>>> adding to the rule some elements that would
>> make your
>>>> rule
>>>>> more specific.
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On Jan 18, 2013, at 10:31 AM, Theodore Petrosky
>> <[email protected]>
>>>>> wrote:
>>>>> 
>>>>>> 
>>>>>> 
>>>>>> I have a ProjectWorkOrder to-many
>> pwoMileStones
>>>>>> 
>>>>>> I have an edit page:
>>>>>> 
>>>>>> EditProjectWorkOrder
>>>>>> 
>>>>>> and a rule 
>>>>>> 
>>>>>> 150 : (smartAttribute.className =
>>>>> 'com.webobjects.foundation.NSTimestamp' and
>> propertyKey
>>>> like
>>>>> '*Date*') => formatter = "%m/%d/%Y"
>>>>> [com.webobjects.directtoweb.Assignment]
>>>>>> 
>>>>>> this rule is working fine to format the
>> dates on
>>>>> EditProjectWorkOrder
>>>>>> 
>>>>>> but I can not seem to target the list of
>>>> pwoMileStones
>>>>> on its parent.
>>>>>> 
>>>>>> Also, on EditEmbeddedPWOMileStone the date
>> formats
>>>> as I
>>>>> want.
>>>>>> 
>>>>>> does this make sense to you?
>>>>>> 
>>>>>> How do I target the list of 
>> pwoMileStones on
>>>> the
>>>>> EditProjectWorkOrder so the date will format as
>> I
>>>> want?
>>>>>> 
>>>>>> Ted
>>>>>> 
>> _______________________________________________
>>>>>> 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/jtayler%40oeinc.com
>>>>>> 
>>>>>> This email sent to [email protected]
>>>>> 
>>>>> 
>>>> 
>>>> _______________________________________________
>>>> 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/tedpet5%40yahoo.com
>>>> 
>>>> This email sent to [email protected]
>>> 
>>> _______________________________________________
>>> 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/jp.malrieu%40free.fr
>>> 
>>> This email sent to [email protected]
>> 
>> 
>> _______________________________________________
>> 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/tedpet5%40yahoo.com
>> 
>> This email sent to [email protected]
> 
> _______________________________________________
> 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/ramseygurley%40gmail.com
> 
> This email sent to [email protected]


 _______________________________________________
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]

Reply via email to