ERD2WQueryDateRange doesn’t use an ajax date picker. ERMD2WQueryDateRange does, 
but the default on that one is "%m/%d/%Y”

Do you have click-to-open enabled? What does that say the component is? Or 
maybe do some debug logging on the componentName key to see what component is 
being used there. It is not ERD2WQueryDateRange if it is using ajax. 

My guess is you’re using ERMD2WQueryDateRange if you are using Modern. (By the 
looks of your screenshot, you are)  If it is that component, putting a 
breakpoint in the formatter() method might be enlightening.

On Feb 4, 2015, at 6:56 AM, Markus Ruggiero <[email protected]> wrote:

> Hi,
> 
> I have a problem getting ERD2WQueryDateRange to display the date in proper 
> format.
> 
> The following rule 
> 120 : propertyKey = requestDate => formatter = "%d-%m-%Y" 
> [com.webobjects.directtoweb.Assignment]
> 
> is accepted and when checking with the D2W "debugger" I see the proper 
> formatter:
> 
> <PastedGraphic-1.png>
> 
> but when accepting the ajax date picker the date is shown in the order 
> Year-Month-Day (eg. 2014-12-23).
> 
> Customer is complaining because this is the only place in the whole app where 
> the date format is wrong. All other
> places are ok.
> 
> When looking at the bindings of ERD2WQueryDateRange everything looks ok, 
> formatter is properly referenced and bound
> to WOTextField dateformat.
> 
> I must be missing something obvious - but WHAT???
> 
> Thanks for any help
> ---markus---
> 
> CU @ WOWODC15
> _______________________________________________
> 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/rgurley%40smarthealth.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