Skip to main content
4 events
when toggle format what by license comment
Aug 19, 2014 at 5:24 comment added NullReferenceException @user10727 apex:repeat is an iteration component that allows you to output the contents of a collection according to a structure that you specify.Using this control you can iterate your Account and display Contact list of each Account.PageblockTable works only for one Account,if you want to show all accounts with contacts you have to use apex:repeat,here <apex:outputText> display your Account Name and ContactList displays in the PageBlockTable of each Account. go through this link salesforce.com/us/developer/docs/pages/Content/…
Aug 18, 2014 at 18:19 comment added user10727 I am new to visualforce,so tried copying your code and it gave below error, I tried using my controller and page by hardcoding the account Id and the custom function ChildContact() works fine...But In your code I didnt understand the concept of creating a user defined class for AccContacts and how is it helping in here. Error: common.exception.SfdcSqlException: ORA-00001: unique constraint (CORE.AK2APEX_CLASS) violated ORA-06512: at "SLEEPY.CAPEX", line 907 ORA-06512: at line 1 {call cApex.update_class(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)} {call cApex.update_class(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)},
Aug 18, 2014 at 16:32 history edited NullReferenceException CC BY-SA 3.0
added 11 characters in body
Aug 18, 2014 at 16:26 history answered NullReferenceException CC BY-SA 3.0