You need to sign in to do that
Don't have an account?
rawiswar
s-control with jar?
is there a way for us to have an s-control refer a .jar file? (for that matter any external package file)
iceberg4u
Yes.Just put it in static resource and access it through $Resource.xxx
rawiswar
thanks. may be i should have been more specific. Can i access .class files from a jar inside VF (I see that nowadays SF is asking us to use VF wherever possible instead of s-control). what kind of element on a VF page can consume this? it may be stupid to ask, but is there a jre inside salesforce (i am divided on suspecting this; afterall there is a mention of jar uploads as static res even in the docs)
iceberg4u
You cannot access .class files through VF scripts.You can try to access them through the applet and object tag.What you need to do is have all the jars in a folder and zip them.Upload them into the static resource.Acess these .class files inside the jars using {!$Resource.xxxx}