You need to sign in to do that
Don't have an account?
create a select from name of users
Hy everyone,
I need a select html element with the name of users. I find the following code in the devloper's guide:
<apex:selectList value="{!filterId}" size="1">
<apex:actionSupport event="onchange" rerender="list"/>
This code looks like this in the page:
http://picasaweb.google.com/adam.andrasko/Works?authkey=Gv1sRgCOWCobLA8rreUw#5559000137063594930
But I want to put the user in a select list:
http://picasaweb.google.com/adam.andrasko/Works?authkey=Gv1sRgCOWCobLA8rreUw#5559000137386569426
If anyone knows how to do this, please tell me, because I have benn trying to do this for a long time.
Hey,
You shouldn't need the datalist element. Try this instead:
<apex:selectList value="{!selectedName}" size="1"> <!-- This is just a string that holds the selected value -->
<apex:actionSupport event="onchange" rerender="list"/>