[aida] WebDateInpputField

Janko Mivšek janko.mivsek at eranova.si
Wed Oct 24 10:29:45 CEST 2007


Dirk Verleysen wrote:

> I've changed the inputFieldFormat to ^'%e/%m/%Y'  so I get $/ instead of 
> $. between de date elements. This works until I commit a form. Then 
> there are $.'s again.

Yes, there are "slovenicisms" still in quite some places in Aida. 
Problem is also that we don't have some portable formating of dates 
between Smalltalks yet. So I did my own, but only for Slovenian.

In your case you need to adapt two class methods in WebFormElement:

WebFormElelement class
	autoConvertToString: anObject
	autoConvertString: aString toObject: anObject

Some of Slo methods are:

Date shortPrintSloString
Date class readSloFrom:
Timestamp printSloString

Bst regards

Janko Mivšek
Smalltalk Web Application Server

More information about the Aida mailing list