Its not complicated
!
MATextInputComponent subclass: #MJDatepickerComponent
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'Magritte-JQueryWidgetBox'!
!MJDatepickerComponent commentStamp: 'jmck 1/28/2011 18:58' prior: 0!
A MJDatepickerComponent is Magritte component for looking up a date on a MADateDescription using the jQuery datepicker.
Instance Variables
!
!MJDatepickerComponent methodsFor: 'rendering' stamp: 'jmck 3/10/2011 21:25'!
renderInputOn: html
html textInput
attributeAt: 'autocomplete' put: 'off';
id: self labelId;
on: #string of: self;
script: (html jQuery new datepicker
onSelect: (html jQuery ajax serializeThis))! !
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki