com.bea.p13n.display.servlets.jsp.taglib
Class DisplayServiceTag

java.lang.Object
  extended by TagSupport
      extended by com.bea.p13n.display.servlets.jsp.taglib.DisplayServiceTag

public class DisplayServiceTag
extends TagSupport

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_GROUP_NAME
           
static String REQUEST_TEMPLATE_NAME
           
static String REQUEST_VIEW
           
 
Constructor Summary
DisplayServiceTag()
           
 
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 getGroupName()
           
 String getTemplateName()
           
 String getView()
          Gets the name of the view to request
 void release()
          Release/reset this tag.
 void setGroupName(String groupName)
           
 void setTemplateName(String templateName)
           
 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

REQUEST_GROUP_NAME

public static final String REQUEST_GROUP_NAME
See Also
Constants Summary

REQUEST_TEMPLATE_NAME

public static final String REQUEST_TEMPLATE_NAME
See Also
Constants Summary

REQUEST_VIEW

public static final String REQUEST_VIEW
See Also
Constants Summary

PAGECONTEXT_URI

public static final String PAGECONTEXT_URI
See Also
Constants Summary

ERROR_JSP_URI

public static final String ERROR_JSP_URI
See Also
Constants Summary
Constructor Detail

DisplayServiceTag

public DisplayServiceTag()
Method Detail

doStartTag

public int doStartTag()
               throws JspException
This method is called by the Jsp Container

Returns
int SKIP_BODY
Throws
JspException

doEndTag

public int doEndTag()
             throws JspException
This method is called by the Jsp Container

Returns
int SKIP_BODY
Throws
JspException

release

public void release()
Release/reset this tag.


getView

public String getView()
Gets the name of the view to request

Returns
view String name of the view

setView

public void setView(String view)
Sets the name of the view to request

Parameters
view - String name of the view

getContextType

public String getContextType()
Get the context type value to use.


getGroupName

public String getGroupName()

setGroupName

public void setGroupName(String groupName)

getTemplateName

public String getTemplateName()

setTemplateName

public void setTemplateName(String templateName)


Copyright © 2006 BEA Systems, Inc. All Rights Reserved