hook - Issue while inserting the user in liferay -



hook - Issue while inserting the user in liferay -

i have created form has basic user details , on clinking of save button inserting user details in "user_" table calling userlocalserviceutil.adduser(....). user creating out issue. not able see form field parameters in userlocalserviceutil.adduser(....) method (title, gender , date of birth). how can save values. please give me suggestions how can insert next fields (title, gender , date of birth) @ time of user creation.

liferay uses com.liferay.portal.model.contact entity store contact information.

use com.liferay.portal.service.contactlocalserviceutil.addcontact method create contact. important parametres:

userid - id of user creating contact. can utilize portalutil.getuser method current user request. classname - "com.liferay.portal.model.user". classpk - id of new user contact created for.

liferay hook liferay-6 liferay-theme liferay-aui

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -