You need to sign in to do that
Don't have an account?
List Values Display on the Visualforce page(Error: Unknown pagereference property)
Hi,
My webservice call retruns me the result in a list. I just want to display the returned result on a VF page.
When I am Trying to display the value Getting error as "Unknown Pagereference property ApprPurchAmt"
Here is my code:
VF page:
<apex:repeat value="{!AccountOtbDetails}" var="OtbDetails">
<apex:outputText value="{!OtbDetails.ApprPurchAmt}" rendered="true"/>
</apex:repeat>
Controller class:
public List<ESBAIMSAccounts.AccountOtbDetail> AccountOtbDetails{ get; set; }
// Call external web service
AIMSIntegration Aims = new AIMSIntegration();AccountOtbDetails=Aims.GetOtbDetails();
system.debug('OTB details'+ AccountOtbDetails);
In the debug I can see the result of List.
Webservice Class Method:
public class AccountOtbDetail {public Decimal ApprPurchAmt{get;}
.....
.....
}