Hi all,
I have a visualforce page to show a map in the detail page of a country. I have it in the detail page and its working perfectly,
Now I’m doing a list of countries with a table and drawers, the list is based in country regions (Africa, Europe, Asia, North America, South america, Pacific islands,…).
For each region you can open a drawer in the table to see a table of countries and for each country you can open a drawer to see the information of the country.
I have 3 models, Region, Countries of the region and Country Info. This is a simplyfied version of what I have (there are another tables with other country lists inside tabs, the purpose of the Country Info model is not to populate all the country information in all the different country models I have)
When I open the drawer all the conditions are set and the field editors and tables are with the context configured to show only the information of the region opened and the information of the country opened.
All is working correctly but I have a template component in the country to show an iframe of the map of the country linked to the country information model.
That model is queried each time to add the opened drawer data.
The problem is if I open 3 drawers the template shows 3 maps, each map of each country I have opened.
So, my question is: Can I set the context of a template field to prevent this?
Question
Context in template component
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
