function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Collen Mayer 6Collen Mayer 6 

Using Map in VisualForce page

Hi All,
I've got a map in my controller that is populating fine:
 
public Map <id,List<Client_Billing__c>> mapCaseToBilling {get;set;}
However, I'm having trouble with my visualforce page nested repeat loops.  I'm getting inside the first one but not the second.  I'm sure I'm using the wrong syntax somehow.  Any help is appreciated:
<apex:page StandardController="AECaseMgmt__Program_Case__c" extensions="Invoice" >
    <apex:repeat value="{!MapCasetoBilling}" var="Key">
        This will print:{!Key}
        <apex:repeat value="{!MapCasetoBilling[Key]}" var="BillingItem">
            This line will not print.
            <apex:outputField value="BillingItem.Name"/>
        </apex:repeat>
    </apex:repeat>

</apex:page>