|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTagSupport
com.bea.p13n.display.servlets.jsp.taglib.DisplayServiceCMTag
public class DisplayServiceCMTag
This class implements TagSupport. This class basically makes a call to the Display service The service returns the uri of the template based on the parameters like container type Container target, resource name, web application and view. This class in turn uses the uri and inlines the template in the Application jsp.
Field Summary | |
---|---|
static String |
ERROR_JSP_URI
|
static String |
PAGECONTEXT_URI
|
static String |
REQUEST_CONTAINER_TARGET
|
static String |
REQUEST_RESOURCE_ID
|
static String |
REQUEST_RESOURCE_NAME
|
static String |
REQUEST_VIEW
|
Constructor Summary | |
---|---|
DisplayServiceCMTag()
|
Method Summary | |
---|---|
int |
doEndTag()
This method is called by the Jsp Container |
int |
doStartTag()
This method is called by the Jsp Container |
String |
getContextType()
Get the context type value to use. |
String |
getRepositoryName()
Gets the target container's name |
String |
getResourceName()
Gets the name of the resource to render. |
String |
getView()
Gets the name of the view to request |
void |
release()
Release/reset this tag. |
void |
setRepositoryName(String repositoryName)
Sets the name of the target container in order to request the corresponding view. |
void |
setResourceName(String name)
Sets the resource name in order to request the view. |
void |
setView(String view)
Sets the name of the view to request |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REQUEST_RESOURCE_NAME
public static final String REQUEST_RESOURCE_ID
public static final String REQUEST_VIEW
public static final String REQUEST_CONTAINER_TARGET
public static final String PAGECONTEXT_URI
public static final String ERROR_JSP_URI
Constructor Detail |
---|
public DisplayServiceCMTag()
Method Detail |
---|
public int doStartTag() throws JspException
JspException
public int doEndTag() throws JspException
JspException
public void release()
public String getResourceName()
public void setResourceName(String name)
name
- The name of the resource. For the CM, this is the content
typepublic String getRepositoryName()
public void setRepositoryName(String repositoryName)
repositoryName
- The name of the container to usepublic String getView()
public void setView(String view)
view
- String name of the viewpublic String getContextType()
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |