OK, so what is the issue then?
Looks like that you "only" have problems with the display of this property (textfield instead of dropdown) in the webconsole if you have set this value using a sling:OsgiConfig node.
(Personally I would consider this as a major issue, as you configure this property via deployment, therefor there shouldn't be any need to re-set it via webconsole. And even then it's still possible..)
Can you explan why you want to over ride OSGi config values. THe point of these values is to set them in a configuration view and then read them in your OSGi class - as explained here: Reading OSGi Configuration Values for Adobe Experience Manager 6.3
Thanks for answering my question. As you said the functionality is working fine. However, i was just wondering is there a way to display the Gender as a dropdown instead of TextField. The disadvantage of displaying TextField instead of dropdown is one can set a value other than male/female.
Attaching the screen shots.
As shown in the above picture i have used String for user.gender. I am curious to know if there any other JCR type to set the gender as dropdown. Or is it a known limitation?
Thanks in Advance,
If I understand you correctly, the problem is the fact that it worked initially, but after having specified the value via sling:OsgiConfig node, it's not displayed correctly.
I don't know how often this feature is used at all; I would not wonder if this would be a bug in the webconsole.
Regarding the importance: Yes, if it's a textfield you could enter invalid data; but when providing config via sling:OsgiConfig nodes, you can do that as well :-)