com.taggercat.tags
Class CodeTableOptionListTagExtraInfo

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagExtraInfo
      extended by com.taggercat.tags.CodeTableOptionListTagExtraInfo

public class CodeTableOptionListTagExtraInfo
extends javax.servlet.jsp.tagext.TagExtraInfo

This class provides the information needed at JSP page Translation Time to do the following simple validation the OptionList Tag.

  1. that either the selected or the dsn+propertyName attributes are set
  2. that if set, the dsn+propertyName attributes are set as a pair

 

Constructor Summary
CodeTableOptionListTagExtraInfo()
           
 
Method Summary
 boolean isValid(javax.servlet.jsp.tagext.TagData data)
          Translation-time validation of the attributes.
 
Methods inherited from class javax.servlet.jsp.tagext.TagExtraInfo
getTagInfo, getVariableInfo, setTagInfo, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeTableOptionListTagExtraInfo

public CodeTableOptionListTagExtraInfo()
Method Detail

isValid

public boolean isValid(javax.servlet.jsp.tagext.TagData data)
Translation-time validation of the attributes. Request-time attributes are indicated as such in the TagData parameter.

Overrides:
isValid in class javax.servlet.jsp.tagext.TagExtraInfo
Parameters:
data - The TagData instance.
Returns:
Whether this tag instance is valid.