|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Customizing the Editor componentI 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 |
|
|
Re: Customizing the Editor componentHi Toby
It can be integrated in the secure archetype. Does it depends on TrailsUser? Can you create a JIRA for this? Other option is to add the code to the wiki, but that is less practical. Alejandro. On Fri, Dec 5, 2008 at 2:02 PM, Toby78 <superoverdrive@...> wrote: > > 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 > -- > View this message in context: http://www.nabble.com/Customizing-the-Editor-component-tp20853319p20853319.html > Sent from the Trails - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |