Hi there Mikael,
First of all, thanks for trying to help me. Probably I miss some explanation on
what I want to archive.
I want that the magnolia user (the one who create the website) could chose a
color, for example, to use as background color, for that I need to add a
ColorPicker Field in my component. At the moment I have a custom field in my
component fully working where the user picks the color and it saves the
hexadecimal code to jcr as a String value, the problem is that I can't see the
previous color as default in the next component edition, so I'm trying the code
in the previous post to update mine.
So, I'm trying to make something like this:
[code]...
tab.fields(
new ColorField("color").label("Background color")
)
...[/code]
Best regards,
Pedro
Ps.: I'm quite new to this forum :P I'm learning to use it.
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=ca19d4f4-585a-4171-b094-e52b7124bba9
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------