You need to sign in to do that
Don't have an account?
renuami
help on partial page refresh
Hello
Can someone please give me some idea on how to achieve the below?
I have a lookUp to user Object. On selecting a value in the user look up i would like the Address information of the selected user to be populated in the inputfields.
<apex:Page Controller="test_controller"> <apex:form> <apex:PageBlock> <apex:inputField value="{!aw.User__c}" /> <apex:inputField value="{!aw.Street__c}" /> <apex:inputField value="{!aw.City__c}" /> <apex:inputField value="{!aw.State__c}" /> <apex:inputField value="{!aw.Country__c}" /> <apex:inputField value="{!aw.Zip_code__c}" />
<apex:pageblockButtons location="Bottom">
<apex:commandButton action="{!save}" value="Save"
</apex:pageblockbuttons>
</apex:PageBlock> </apex:form> </apex:page> public class test_controller { public Travel__c aw {get; set;} public test_controller() { aw = new Travel__c(); }
public PageReference save()
{
return null;
}
}
Try <apex:actionSupport> or <apex:actionFunction>
Hello,
I am trying below and it not working . Can any one please advise what is wrong with the below code?
Thanks