01: package com.salmonllc.jsp.tags;
02:
03: /////////////////////////
04: //$Archive: /JADE/SourceCode/com/salmonllc/jsp/tags/DataSourceGroupSelectionTag.java $
05: //$Author: Srufle $
06: //$Revision: 7 $
07: //$Modtime: 7/31/02 7:13p $
08: /////////////////////////
09: import com.salmonllc.sql.DataStore;
10: import com.salmonllc.sql.DataStoreBuffer;
11:
12: /**
13: * Implements the selection tag.
14: */
15: public class DataSourceGroupSelectionTag extends DataSourceSelectionTag {
16:
17: /**
18: * This method can be used by tags that need to change a datastore after all the sub tags have been initialized.
19: */
20: public void afterInit(DataStoreBuffer comp) {
21: if (comp instanceof DataStore)
22: ((DataStore) comp).setGroupAutoRetrieveCriteria(_crit);
23:
24: }
25: }
|