+ Start a Discussion

Please vote: ability to contribute a component's content to other components or rest of page

In this thread, someone hit a limitation of VF where they wanted to contribute actual JS to the <head> element of a page, something VF does not allow except through the includeScript and CSS components. Both of those have the obvious limitation that you can't generate script or css on the fly via VF to be included in the head element.

I submitted an Idea which would allow all kinds of additional cross-component and page contribution of HTML / JS / etc. It would allow VF code to contribute code or attributes to the rest of the entire HTML document tree, including the HEAD element.

If you think it would be useful, please vote on it! The idea is here.