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
Modifier and TypeMethodDescriptionstatic ContentManagement
cm()
static String
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.static String
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.static String
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore.static String
style()
Deprecated.not supported anymore.
-
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 Java.
-
-
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 Java.
-
panel
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. always returns empty string.- API:
- This public API is available in Java.
-
content
@Deprecated(since="9.4", forRemoval=true) public static String content(String contentObjectName, String type) Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. always returns empty string.- API:
- This public API is available in Java.
-
content
Deprecated, for removal: This API element is subject to removal in a future version.not supported anymore. always returns empty string.- API:
- This public API is available in Java.
-
style
Deprecated.not supported anymore. always returns an empty string.- API:
- This public API is available in Java.
-