You need to sign in to do that
Don't have an account?

create a visual force page by using apex class
Hi All,
My task is to create a visual force page by using apex class. In visualforce page there should be only id field and search butoon
and my requirment as follows
there are 6 objects obj1,obj2,obj3,obj4,obj5,obj6
in which obj1 has realtion with obj2 & obj2 has realtion with obj3
& obj3 has realtion with obj4 & obj4 has realtion with obj5 & obj5 has realtion with obj6
but when i paste an record id in the search box i must get the related lists of all 6objects in one page.............
Thanks inadvance..........
My task is to create a visual force page by using apex class. In visualforce page there should be only id field and search butoon
and my requirment as follows
there are 6 objects obj1,obj2,obj3,obj4,obj5,obj6
in which obj1 has realtion with obj2 & obj2 has realtion with obj3
& obj3 has realtion with obj4 & obj4 has realtion with obj5 & obj5 has realtion with obj6
but when i paste an record id in the search box i must get the related lists of all 6objects in one page.............
Thanks inadvance..........
Try somthing like below,
VF page
Apex controlle
it is starting searching from obj1__c
regards
All Answers
Try somthing like below,
VF page
Apex controlle
it is starting searching from obj1__c
regards
Thanks for your but i need some changes in the code.........
when i click on obj1 it is showing obj2,obj3,obj4,obj5,obj6
but i also want
when i click on obj2 it must show obj1,obj3,obj4,obj5,obj6
when i click on obj3 it must show obj1,obj2,obj4,obj5,obj6
when i click on obj4 it must showobj1,obj2,obj3,obj5,obj6
when i click on obj5 it must show obj1,obj2,obj3,obj4,obj6
when i click on obj6 it must show obj1,obj2,obj3,obj4,obj5