forResource(resourceName, path)

Create a PageReference for nested content inside a zip static resource, by name and path.

Signature

public static System.PageReference forResource(String resourceName, String path)

Parameters

  • resourceName: Type: String The resource name
  • path: Type: String The resource path

Return Value

Type: System.PageReference