Can I pass a email value from a visualforce component to a Visualforce page?
I have used components for reusing Company's logo and few images…
<apex:component>
<apex:image value="{!$Resource.Logo}"> </apex:image>
</apex:component>
Is it possible to pass variable to a visualforce page?
Thanks.
Best Answer
The easiest way is to pass in the controller of your visualforce page. This means you'll need either a custom controller or an extension. When you pass in the controller, you can then call getters or setters on the controller given they are publicly accessible.
For example: