0
我有一個控制器,它有一個填充列表和地圖的方法。在Visualforce頁面顯示列表或地圖
Public class A
{ public Map<string,Book__c> map1 {get;set;}
public List<String> Lst {get;set;}
public A()
{
..... do something...
}
public refresh()
{
Lst= new List<String>();
map1=new Map<string,Book__c>;
// Populating the map and List in this method
}
}
在我的VF 我呼籲一個inputfield的變化刷新頁面的方法,該方法被調用以及地圖和列表得到填充。但他們不是在VF頁
VF代碼
<apex:pageblocksection id="tableApp" >
<table id="apppp">
<tr>
<th>Name</th>
</tr>
<apex:repeat var="d" value="{!Lst}">
<tr>
<td><apex:outputText value="{!d}"/></td>
</tr>
</apex:repeat>
</table>
</apex:pageblocksection>
顯示這有什麼錯在此代碼?我正在重新渲染pageblocksection tableApp對輸入字段的更改
不知道爲什麼這個問題是downvoted ..我做了相當多的研究之前,我posted..it將是巨大的,如果有人讓知道爲什麼它downvoted – Prady