net.sourceforge.stripes.tag
Class UseActionBeanTagExtraInfo

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagExtraInfo
      extended by net.sourceforge.stripes.tag.UseActionBeanTagExtraInfo

public class UseActionBeanTagExtraInfo
extends TagExtraInfo

Validates that the mutually exclusive attribute pairs of the tag are provided correctly and attempts to provide type information to the container for the bean assigned to the variable named by the var or id attribute. The latter can only be done when the beanclass attribute is used instead of the binding attribute because runtime information is needed to translate binding into a class name.

Since:
Stripes 1.5
Author:
tfenne

Constructor Summary
UseActionBeanTagExtraInfo()
           
 
Method Summary
 VariableInfo[] getVariableInfo(TagData tag)
          Attempts to return type information so that the container can create a named variable for the action bean.
 ValidationMessage[] validate(TagData tag)
          Checks to ensure that where the tag supports providing one of two attributes that one and only one is provided.
 
Methods inherited from class javax.servlet.jsp.tagext.TagExtraInfo
getTagInfo, isValid, setTagInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UseActionBeanTagExtraInfo

public UseActionBeanTagExtraInfo()
Method Detail

getVariableInfo

public VariableInfo[] getVariableInfo(TagData tag)
Attempts to return type information so that the container can create a named variable for the action bean.

Overrides:
getVariableInfo in class TagExtraInfo

validate

public ValidationMessage[] validate(TagData tag)
Checks to ensure that where the tag supports providing one of two attributes that one and only one is provided.

Overrides:
validate in class TagExtraInfo


? Copyright 2005-2006, Stripes Development Team.