Class CmsJspResourceLoadBean

java.lang.Object
org.opencms.jsp.util.CmsJspResourceLoadBean

public class CmsJspResourceLoadBean extends Object
Allows JSP access to the results of a <cms:resourceload ... > operation using the JSTL and EL.

Since:
8.0
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getCmsObject

      Returns the OpenCms user context this bean was initialized with.

      Returns:
      the OpenCms user context this bean was initialized with
    • getResources

      Returns a list of CmsResource instances.

      Returns:
      a list of CmsResource instances
    • init

      public void init(CmsObject cms, List<CmsResource> resources)
      Initialize this instance.

      Parameters:
      cms - the OpenCms context of the current user
      resources - the resources to access, must contain objects of type CmsResource