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 String
id
The name of the scripting variable that will be exposed as a page scope attribute.
protected static MessageResources
messages
The message resources for this package.
protected String
property
The name of the page context property to be retrieved.

Method Summary

int
doStartTag()
Retrieve the required configuration object and expose it as a scripting variable.
String
getId()
String
getProperty()
void
release()
Release all allocated resources.
void
setId(String id)
void
setProperty(String property)

Field Details

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 Details

doStartTag

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

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 B) 2000-2007 - The Apache Software Foundation