You need to sign in to do that
Don't have an account?
Uves Ravat
VisualForce Component
Hi,
I have a component that is linked to a visualforce page. I am trying to get the image field dynamically but even though there is a link on that field its not returning back the image.
The code is below:
<apex:outputpanel rendered="{!isEmailFlag == true}">
<c:pdfHeaderFooter type="header" position="center">
<apex:image url="{!obj['c2g__OwnerCompany__r']['c2g__LogoURL__c']}" alt="LOGO HERE" />
</c:pdfHeaderFooter>
</apex:outputpanel>
What is wrong with the above code please.
Thanks
PR
You have to implement that image url in the component not in page. The controller associated to the component can be used to create dynamic url.
If you still can't understand, post your component code and associated controller as well.
If you got the answer from this post, Please hit the Kudos button & mark the answer as solution, It might help others running to into similar problem in future.
post your component code as well.
Hi chamil,
The code above is part of the component where i try to get the image. The controller class does a SOQL query to get the URL.
Thanks
Uves