Jul 12th, 2012, 12:04 PM
Add finder for each entry in list.jspx
I am trying to add a button to each entry on list.jspx that acts as a finder from a different entity.
I have a table called children with an ID(Primary Key) and Parent_ID(Foreign Key) and a table called Parent with an ID(Primary Key). I would like to create a button that says view Parent on the children's for each entry in list.jspx taking the repsective Parent_ID as a parameter to pass to the finder.
I have the finder findParentByID for the Parent but I don't know how to 1. Reference the parent's finder from the children's list.jspx and 2. How to enable it to pass an ID to the finder.
Jul 13th, 2012, 04:04 AM
Custoimize the table.jspx. At its end there is already code for buttons per row. Just add you button here.