I have built an editorial template, and as part of it I have a core
component form option that is locked so the author can't change the
contents.I want the options to be dynamic based on a content fragment
attached to the page, however when I use a servlet as the data source
and use @ScriptVariableprivate Page currentPage; However all it ever
returns is the template page. How can i get the page that is being
rendered not the template