Skip to Content
author's profile photo Former Member
Former Member

PeoplePicker Component ... not showing names

Hello,

I am using the PeoplePicker component in a JSP with help of some information found on SDN:

	<hbj:group
       id="peoplepickergrp" 
       design="SECONDARYBOX"
       title=""
       tooltip="Choose the person you want to here"
       width="30%">
       <hbj:groupBody>
		 <%
			PeoplePicker peoplePicker = new PeoplePicker("pp");
		 	peoplePicker.setPeopleSelectionMode(PeopleSelectionMode.SINGLE_SELECTION_INPUT_FIELD);
			peoplePicker.setWidth("150");
			peoplePicker.setSearchFor(UMEPrincipalType.USER,true);
			peoplePicker.setAllowExternalEmailAddresses(true);
			peoplePicker.setOnlineStateVisible(true);
			peoplePicker.setPeopleSelectionState(new PeopleSelectionState());
			peoplepickergrp.addComponent(peoplePicker); 
		 %>  
  		</hbj:groupBody>
	</hbj:group>

It's working fine to find back the user i'm searching. However it doesn't show the name.

So for example if I'm searching for a specific user. The PeoplePicker will open the popup and show me a result i can select but I don't see the name appearing.

If i'm looking for a name that shows up more results, it's working also, as it shows the right number or results but still doesn't show any name.

And when I select the "result without name", when I come back on my JSP the right name is given in the inputfield.

Any idea of what is going wrong?

Thanks for your help,

Regards

Thomas

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 06, 2011 at 09:06 AM

    Finally it's working well.

    Don't know what happened. But now I can use the People Picker without any problem.

    Best Regards,

    Thomas

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.