I have created a Vf page from which i need to fetch the value of new owner and need to save the value in property defined in controller:

Following is my vf page code:

&lt;apex:pageBlockSection&gt;
    &lt;apex:InputField label="user" value="{!a.ownerid}"/&gt;
&lt;/apex:pageBlockSection&gt;


here a is object of opportunity

Controller code:

used one property to store the value:

public string ownername {get;set;}


Note: user will input the value through lookup field.

Any suggestions on this?


Question: Just finished installing Ubuntu Desktop 13.10, mouse clicking problem
Answer: I knew exactly what your problem was before your comment because I also own a RAT and took me forever to figure out what to google for.

Basically what you need to do is manually map all the buttons in the xorg.
Here is the link to the solution.

What is happening is your RAT needs a driver and linux isn't taking the button inputs correctly. Your symptom is due to the fact that it doesn't know how to click off. This gives it the illusion that none of your buttons are working. One workout around until you fix this is to unplug/replug or change mouse modes (RAT 7 and 9 only). You will get one click each time. Or just use a different mouse until you make the changes.