Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
jonathan doklovic
Select a User in my portlet?
18. Juni 2010 10:42

jonathan doklovic

Rang: Junior Member

Nachrichten: 25

Eintrittsdatum: 13. April 2010

Neue Beiträge


I'm writing a portlet with ServiceBuilder and I have an entity that I need to tie to a User.
I have a userId field on the entity, but my problem is when an admin creates an new instance of my entity (via a control panel form) I need to give them some way to select the user to associate.

Is there some "magical" way to include a user search and have the selected userId populate in a hidden form field or something?

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!