org.apache.struts.taglib.bean

Class PageTag

public class PageTag extends TagSupport

Define a scripting variable that exposes the requested page context item as a scripting variable and a page scope bean.

Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $

Field Summary
protected Stringid
The name of the scripting variable that will be exposed as a page scope attribute.
protected static MessageResourcesmessages
The message resources for this package.
protected Stringproperty
The name of the page context property to be retrieved.
Method Summary
intdoStartTag()
Retrieve the required configuration object and expose it as a scripting variable.
StringgetId()
StringgetProperty()
voidrelease()
Release all allocated resources.
voidsetId(String id)
voidsetProperty(String property)

Field Detail

id

protected String id
The name of the scripting variable that will be exposed as a page scope attribute.

messages

protected static MessageResources messages
The message resources for this package.

property

protected String property
The name of the page context property to be retrieved.

Method Detail

doStartTag

public int doStartTag()
Retrieve the required configuration object and expose it as a scripting variable.

Throws: JspException if a JSP exception has occurred

getId

public String getId()

getProperty

public String getProperty()

release

public void release()
Release all allocated resources.

setId

public void setId(String id)

setProperty

public void setProperty(String property)
Copyright © 2000-2008 - The Apache Software Foundation