You need to sign in to do that
Don't have an account?
Rajesh_SFG
Dynamic changing Static Resource Name
Hi,
I need to create the image with dynamic change static resource name tag.
<apex:image url="{!$Resource.LogoName}" width="650" height="70"/>
I want to change the LogoName dynamically from controller class. That mean queried the image name from Static Resource table then pass that value from controller class. how can i do..
You don't need to worry about that number. Resources are first looked by Name.
Give it a try.
<apex:image url="/resource/1311880464000/{!imageName}"/>
All Answers
<apex:image url="/resource/1311880464000/{!imageName}"/>
where imageName is controller class property.
Thanks yar,
<apex:image url="/resource/1311880464000/{!imageName}"/> , How to get '1311880464000' this number. because the url changing depend upon the orgnaization.
You don't need to worry about that number. Resources are first looked by Name.
Give it a try.
<apex:image url="/resource/1311880464000/{!imageName}"/>
so many thanks yar....