|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.jsp.util.CmsJspResourceLoadBean
public class CmsJspResourceLoadBean
Allows JSP access to the results of a <cms:resourceload ... > operation using the JSTL and EL.
CmsJspTagResourceLoad,
CmsJspResourceAccessBean| Field Summary | |
|---|---|
protected CmsObject |
m_cms
The OpenCms context of the current user. |
protected List<CmsResource> |
m_resources
The list of results of the resource loader. |
| Constructor Summary | |
|---|---|
CmsJspResourceLoadBean()
No argument constructor, required for a JavaBean. |
|
CmsJspResourceLoadBean(CmsObject cms,
List<CmsResource> resources)
Creates a new context bean using the OpenCms context of the current user. |
|
| Method Summary | |
|---|---|
CmsObject |
getCmsObject()
Returns the OpenCms user context this bean was initialized with. |
List<CmsResource> |
getResources()
Returns a list of CmsResource instances. |
void |
init(CmsObject cms,
List<CmsResource> resources)
Initialize this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CmsObject m_cms
protected List<CmsResource> m_resources
| Constructor Detail |
|---|
public CmsJspResourceLoadBean()
You must call init(CmsObject, List) and provide the
required values when you use this constructor.
init(CmsObject, List)
public CmsJspResourceLoadBean(CmsObject cms,
List<CmsResource> resources)
The current request context locale is used.
cms - the OpenCms context of the current userresources - the resources to access, must contain objects of type CmsResource| Method Detail |
|---|
public CmsObject getCmsObject()
public List<CmsResource> getResources()
CmsResource instances.
CmsResource instances
public void init(CmsObject cms,
List<CmsResource> resources)
cms - the OpenCms context of the current userresources - the resources to access, must contain objects of type CmsResource
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||