Hi Lukas :)
we have built a nested list at netstyle.ch using
Magritte: the model
is basically a tree where you have to select one of the leaves. The
GUI looks like the column-view of the finder in OS X. Is that what
you want? Else maybe the OneToOneRelationshipDescription with
different classes could be a possibility?
I'll try to do that way... thanks ;)
The first thing you need is probably the model, what is presumably a
subclass of Magnitude. Then you can code (like MANumberDescription) a
new description for your model. I once did something similar at
netstyle.ch for currencies.
Ok I see... still the model ;) I'll try this week-end and I'll give
feedback when done...(or not :))
So just another question as we are talking of MANumberDescription and as
I'm playing with it :d
What I'm triing to do is providing instead of a text input component a
List choice where there is a collection of number between min and max
according to a given step... (10 20 30 40...). What would be the better
? creating a MANumberListComponent that display the list... or adding
functionality in MANumberComponent...?
Also, I see that the default component for MANumberComponent are
MAInputText and MARangeComponent but I cant really get how the
MARangeComponent is used (called when defining the MANumberDescription).
is it: (MANumberDescription auto: ... label: ... priority..)
componentClass: MANumberDescription
defaultComponentClasses second; (is it how we acces it ??)
yourself.
I actually don't really understand how MARangeComponent works, is it for
a javascript check ?