0

リストとマップを設定するメソッドを持つコントローラーがあります。

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 ページでは、入力フィールドの変更時に更新メソッドを呼び出しています。メソッドが呼び出され、マップとリストが読み込まれます。しかし、それらは 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 を再レンダリングしています

4

0 に答える 0