SmartClient Version: v8.3p_2013-03-11/LGPL Development Only (built 2013-03-11)
Firefox 15.0.1
I'm trying to use Listgrid date range filter on development mode with the locale "pt_BR" and display format TOEUROPEANSHORTDATE. The calendar is displayed ok, when i select the date the displayed format is ok too, but when i click on ok button a validation message is showed saying the date is not valid. If i type the date on the format "YYYY-MM-DD" it works, but i need the date on "DD/MM/YYYY" format.
I tryed to set the setDateFormatter to TOEUROPEANSHORTDATE on FormItem, and pass it as setFilterEditorProperties, but not work. There is my code and a print screen in attachment.
Firefox 15.0.1
I'm trying to use Listgrid date range filter on development mode with the locale "pt_BR" and display format TOEUROPEANSHORTDATE. The calendar is displayed ok, when i select the date the displayed format is ok too, but when i click on ok button a validation message is showed saying the date is not valid. If i type the date on the format "YYYY-MM-DD" it works, but i need the date on "DD/MM/YYYY" format.
I tryed to set the setDateFormatter to TOEUROPEANSHORTDATE on FormItem, and pass it as setFilterEditorProperties, but not work. There is my code and a print screen in attachment.
Code:
final ListGridField dataVencimento = new ListGridField("data_vencimento", "Vencimento"); dataVencimento.setDateFormatter(DateDisplayFormat.TOEUROPEANSHORTDATE); final DateRangeItem rangeItem = new DateRangeItem(); rangeItem.setDateFormatter(DateDisplayFormat.TOEUROPEANSHORTDATE); dataVencimento.setFilterEditorProperties(rangeItem);
Comment