I have a template on a layout which iframes a visualforce page. Also on the layout is a field editor. When a user clicks to edit a field in the field editor, the template refreshes the iframe. Is there anyway to stop the iframe from being refreshed on edits in the field editor? Thanks, Paul
Page 1 / 1
The template component is bound to the same model as the field editor. The component is listening for changes to the model and refreshing with these changes. In this case that cuases lots of problems. Change the template to be associated with a different model (or better yet “none”) and you won’t have the problem.
If you need model data to pass into the iFrame, you can make two models that grab the same record information. One will accept changes and the other won’t. Or you can use global merge syntax.
cloning the model and using it for the iframe reference fixed it - thanks!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.