I am new to Visuaforce, and realize it might be a basic question. ANy reference or guidance would be helpful...THanks in advance.
My requirement is-----> On a page i want a Section wise display of Accounts and its corresponding Contacts.Which i am able to do using apex:PageBlock. E.g: Section 1 Header displays account name as Account 1 and beneath would show its contacts . Below Section 1, shows section 2 for Account 2 and its corresponding contacts and so on..
I am facing an issue when i am trying to display multiple accounts.And issue is i am not understanding how to pass the ListOfAccountId's to COntact function(for returning the list of Corresponging contacts),as looping through the accountId's and passing individual id's as a signature to the Contactfunction is leading to a syntax error.
pasting the code of Page and Ctrller:--