-
Jul 12th, 2012, 12:04 PM
#1
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
#2
Custoimize the table.jspx. At its end there is already code for buttons per row. Just add you button here.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules