© 2005 BEA Systems, Inc.

com.bea.struts.adapter.taglib.tiles.ext
Class TextTag

java.lang.Object
  extended byBaseFieldTag
      extended bycom.bea.struts.adapter.taglib.html.BaseFieldTagAdapter
          extended bycom.bea.struts.adapter.taglib.tiles.ext.TextTag
All Implemented Interfaces:
TagAdapter

public class TextTag
extends BaseFieldTagAdapter

Convenience base class for the various input tags for text fields. Modification : add an prefix property

See Also:
Serialized Form

Field Summary
protected  String prefix
          The prefix to be added before the html name.
 
Constructor Summary
TextTag()
          Construct a new instance of this tag.
 
Method Summary
 int doStartTag()
          Generate the required input tag.
 String getPrefix()
           
 void release()
          Release all allocated resources.
 void setPrefix(String prefix)
           
 
Methods inherited from class com.bea.struts.adapter.taglib.html.BaseFieldTagAdapter
adaptPrepareIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prefix

protected String prefix
The prefix to be added before the html name.

Constructor Detail

TextTag

public TextTag()
Construct a new instance of this tag.

Method Detail

doStartTag

public int doStartTag()
               throws JspException
Generate the required input tag.

Overrides:
doStartTag in class BaseFieldTagAdapter
Throws:
JspException - if a JSP exception has occurred

getPrefix

public String getPrefix()

release

public void release()
Release all allocated resources.


setPrefix

public void setPrefix(String prefix)

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved