Hello,
Hope it is the good place to ask for.
As an exercise, I am implementing a description and a component for a
model object (sort of date).
The model comes with two attributes: an integer (day) and a symbol (month).
So far I have a component with a text field (to input the integer) and a
drop down menu to select the month.
However I am struggling in the validation part, I don't understand how
to get it right; so far I have sort of validation taking place in the
component, and I think it is wrong.
I have enclosed a fileout of the three classes
The model is described with:
estimatedDateDescription
<magritteDescription>
^ CGDateDescription new
accessor: #estimatedDate;
label: 'Estimated date ';
priority: 150;
beRequired;
yourself
Thanks a lot
Hilaire
--
Dr. Geo -
http://drgeo.euiStoa -
http://istoa.drgeo.eu_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside