[aida] WebDateInpputField

Dirk Verleysen dirk.verleysen at roots.be
Wed Oct 24 10:43:19 CEST 2007


Janko,

I made my own Bel methods to replace your Slo methods in my case. I'll have a look at the other methods you mentioned. For now this will do but maybe for VisualWorks it would be necessary to use the locale settings ?

Dirk

-----Oorspronkelijk bericht-----
Van: aida-bounces op aidaweb.si [mailto:aida-bounces op aidaweb.si] Namens Janko Mivšek
Verzonden: woensdag 24 oktober 2007 10:30
Aan: AIDA/Web general discussion list
Onderwerp: Re: [aida] WebDateInpputField

Dirk,

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

-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si
_______________________________________________
Aida mailing list
Aida op aidaweb.si
http://lists.aidaweb.si/mailman/listinfo/aida


More information about the Aida mailing list