Skip to Content
author's profile photo
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    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 comment
    10|10000 characters needed characters exceeded