Package ch.ivyteam.ivy.page.engine.jsp
Class IvyJSP
java.lang.Object
ch.ivyteam.ivy.environment.Ivy
ch.ivyteam.ivy.page.engine.jsp.IvyJSP
Used within JSP pages to access the environment and process data of the current process.
This class contains the same functionality as the Ivy
class and is extended
with additional functionality only used in a JSP-page.
To access the ivy environment in a JSP-page you must use this class instead of Ivy
.
To import this class in a JSP add this line at the top of the jsp page:<%@ page import="ch.ivyteam.ivy.page.engine.jsp.IvyJSP"%><jsp:useBean id="ivy" class="ch.ivyteam.ivy.page.engine.jsp.IvyJSP" scope="session"/>After this import you can access the ivy environment like this:<%=ivy.get("foo.bar")%>
<%=ivy.task.getName()%>
- API:
- This is a public API.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
IvyJSP
public IvyJSP()Creates a newIvyJSP
instance. Usually used as a bean in a JSP-page.- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
-
Method Details
-
cm
public static ContentManagement cm() throws ch.ivyteam.ivy.environment.EnvironmentNotAvailableException- Throws:
ch.ivyteam.ivy.environment.EnvironmentNotAvailableException
- Since:
- 9.4
- See Also:
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-