Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#3000 closed defect (fixed)

Suggested changes to DateTextbox for i18n

Reported by: Adam Peller Owned by: haysmark
Priority: high Milestone: 0.9beta
Component: Dijit - Form Version: 0.9
Keywords: Cc: haysmark@…, doughays@…
Blocked By: Blocking:

Description

Need to pass along this.lang widget attribute to constraints object as well as compound widgets like _Calendar

See proposed patch, attached.

Attachments (1)

datetextbox.patch (4.8 KB) - added by Adam Peller 12 years ago.
mix in 'locale' into this.constraints, pass to _Calendar popup widget

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by Adam Peller

Attachment: datetextbox.patch added

mix in 'locale' into this.constraints, pass to _Calendar popup widget

comment:1 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

(In [8618]) (proxy checkin for Mark Hays, IBM, CCLA on file) Fixes #2935, #2938, #2962, #2992, #2936, #2937, #2977, #2981, #2999, #3000, #3004, #2812 Adds new popup code, only one Calendar for all DateTextboxes?, only one menu for AutoCompleters/Selects?. DateTextbox? works with new dijit._Calendar. DateTextbox? carries over min/max to the Calendar. All files much more consistent with the Dojo style guidelines.

comment:2 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: closedreopened

German DateTextbox? doesn't have a German popup Calendar. Must define and carry over the lang attribute.

comment:3 Changed 12 years ago by bill

Component: WidgetsDijit

comment:4 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: reopenedclosed

(In [8674]) Fixes #1652, #2265, #3000, #3031. Proxy commit for haysmark. Fixed some minor code-styling issues. If the AutoCompleterMenu?'s highlighted option gets detached from the DOM (from consecutive searches) it will highlight the first option on down arrow keypress instead of doing nothing. Removes fake item creation in Select. _DropDownTextBox.Popup relies on PopupManager? to correctly close it. DateTextbox? tells Calendar which language to use; one calendar per DateTextbox? instance. Changed keyField and labelField in test_Select to match earlier changes in Select. Ordered test_Select form element names to be state1-5. Select has new demos demonstrating assigning a store directly, and using the labelFunc to change the textbox value. Creation of popups deferred to arrowClicked and search.

comment:5 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.