Customizing the Editor component
I have a very flexible datamodel that allows the configuration of user data fields.
Basically this means there is a User and a Value object.
Users can have 0..n values. Values can be "Favourite Bands", the country of residence, the height, eyecolour etc....
The default trails components does work but of course I see all kinds of "random" values without any contenxt.
So what I need is to customize the Value editor on a Use and split it up into different values types.
e.g. something like:
<div jwcid="@TrailsEditor" ....>
Eyecolour:<div jwcid="@TrailsSubEditor" type="Eyecolour" minOccurs="1" maxOccurs="1"/>
Bands: <div jwcid="@TrailsSubEditor" type="Bands" minOccurs="0" maxOccurs="10"/>
Country: <div jwcid="@TrailsSubEditor" type="Country" minOccurs="0" maxOccurs="1"/>
....
</div>
What would be the best way in order to add it to the generic Trails functionality so that others could benefit from it, too?
Maybe this could become part of trails..similiar to the TrailsUser ? A TrailsValue or TrailsUserValue?
Thanks!
Toby