[jboss-user] [JBoss Portal] - Re: error when trying to add 'gender' field to user profile
Wuahaha
do-not-reply at jboss.com
Tue Jan 13 03:07:12 EST 2009
Hi csagar, I'm sorry to intrude your thread, but this is the only thread I've found having the same issue as I am facing now. I need some help. :D
I am using JBoss Portal 2.7.0, I want to add extra fields in the user profile. So I am referring to the Reference guide example to add gender into the profile. But I encountered the problem where the gender value is stored in jbp_user_prop. I want to ask whether you were able to store it in the jbp_users table?
Setting the mapping in the profile-config.xml like below doesn't help.
| <property>
| <name>user.gender</name>
| <type>java.lang.String</type>
| <access-mode>read-write</access-mode>
| <usage>optional</usage>
| <display-name xml:lang="en">Gender</display-name>
| <description xml:lang="en">The gender</description>
| <mapping>
| <database>
| <type>column</type>
| <value>jbp_gender</value>
| </database>
| </mapping>
| </property>
|
Hope you can help ... thanks in advance !! ;)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201242#4201242
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201242
More information about the jboss-user
mailing list