You need to sign in to do that
Don't have an account?

New to Visualforce: can't get Opportunity Owner as an input field
I'm new to Visualforce....really new!
I need to allow my users to modify the Owner of an Opportunity but my code isn't working. Here it is:
<apex:inputField required="true" value="{!opp.owner.name}"/>
When I look at the page with data the Owner is a non-editable field, but all the other fields (with exactly the same code) are editable!
What am I missing? Is Owner a special field that needs to be handled in a different way?!
Any help you can provide is much appreciated!
Amber
Try value="{!opp.ownerid}"
All Answers
Try value="{!opp.ownerid}"
That is so awesome! I love Visualforce!
Thanks!!!
Amber