LinkUserTag (Struts Apps - Faces Example 1 1.3.10 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts.webapp.example
Class LinkUserTag

    java.lang.Object
      javax.servlet.jsp.tagext.TagSupport
          org.apache.struts.webapp.example.LinkUserTag

All Implemented Interfaces:
  Serializable, IterationTag, Tag

    public class LinkUserTag

extends TagSupport

Generate a URL-encoded hyperlink to the specified URI, with associated query parameters selecting a specified User.

Version:
  $Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $
Author:
  Craig R. McClanahan
See Also:
  Serialized Form

Field Summary
`protected static MessageResources` | `messages` The message resources for this package.
`protected String` | `page` The hyperlink URI.

Fields inherited from class javax.servlet.jsp.tagext.TagSupport
`id, pageContext`

Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
`EVAL_BODY_AGAIN`

Fields inherited from interface javax.servlet.jsp.tagext.Tag
`EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE`

Constructor Summary
`LinkUserTag()`

Method Summary
`int` | `doEndTag()` Render the end of the hyperlink.
`int` | `doStartTag()` Render the beginning of the hyperlink.
`String` | `getName()` Return the attribute name.
`String` | `getPage()` Return the hyperlink URI.
`void` | `release()` Release any acquired resources.
`void` | `setName(String name)` Set the attribute name.
`void` | `setPage(String page)` Set the hyperlink URI.

Methods inherited from class javax.servlet.jsp.tagext.TagSupport
`doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### page

    protected String page

  The hyperlink URI.

### messages

    protected static MessageResources messages

  The message resources for this package.

Constructor Detail

### LinkUserTag

    public LinkUserTag()

Method Detail

### getPage

    public String getPage()

  Return the hyperlink URI.

### setPage

    public void setPage(String page)

  Set the hyperlink URI.

  Parameters:
    `page` - Set the hyperlink URI

### getName

    public String getName()

  Return the attribute name.

### setName

    public void setName(String name)

  Set the attribute name.

  Parameters:
    `name` - The new attribute name

### doStartTag

    public int doStartTag()
                   throws JspException

  Render the beginning of the hyperlink.

  Specified by:
    `doStartTag` in interface `Tag`
  Overrides:
    `doStartTag` in class `TagSupport`
  Throws:
    `JspException` - if a JSP exception has occurred

### doEndTag

    public int doEndTag()
                 throws JspException

  Render the end of the hyperlink.

  Specified by:
    `doEndTag` in interface `Tag`
  Overrides:
    `doEndTag` in class `TagSupport`
  Throws:
    `JspException` - if a JSP exception has occurred

### release

    public void release()

  Release any acquired resources.

  Specified by:
    `release` in interface `Tag`
  Overrides:
    `release` in class `TagSupport`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.