com.taggercat.tags
Class DataSourceOptionListTagExtraInfo

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

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

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

  1. that either the selected or
  2. the selectedFK attributes are set

 

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

Constructor Detail

DataSourceOptionListTagExtraInfo

public DataSourceOptionListTagExtraInfo()
Method Detail

validate

public javax.servlet.jsp.tagext.ValidationMessage[] validate(javax.servlet.jsp.tagext.TagData data)
Translation-time validation of the attributes.

Overrides:
validate in class javax.servlet.jsp.tagext.TagExtraInfo
Parameters:
data - The TagData instance.
Returns:
A null object, or zero length array if no errors, an array of ValidationMessages otherwise.