Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Data Model Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Link from virtual page

Go to End



Community Member, 110 Posts

2 March 2011 at 8:46am


i used the tutorial ;

Everything is working great, i used it to manage dogs for a breeder. On my ( a virtual page that displays my dataobject) there's a table displayed containing dogs that are the parents of the actual Dog. ( A pedigree) now i need to link from the objects on the virtual page.


( DataObject Dog is the actual dog the breeder owns )
Dog has_one Pedigree
Pedigree has_many Dogs

(DataObject PedigreeDog are the parents, greatparents etc of the Dog, that builds the pedigree )
Pedigree many_many PedigreeDogs
PedigreeDog belongs_many_many Pedigrees

I have only one 'real' page ...'DogPage'. This page shows the Dogs, i can link from a Dog and it show in a virtual page 'DogPage_Show'. The virtual page then shows the details of the dog and the pedigree. Now i want a link on every Pedigree dog to show the details of that dog also.

Page -> Link DO1 to VirtualPage1 -> Shows details of DO1 and a table containing DO2 ->Link DO2 to VirtualPage2 -> Show details of DO2.

I hope this makes sence to anybody :(