01: /*
02: * $Id: PopConfigsTag.java,v 1.1 2005/03/18 06:32:23 nj104854 Exp $
03: * Copyright 2002 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and iPlanet
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */
14:
15: package com.sun.portal.wireless.taglibs.commprefs;
16:
17: import com.sun.portal.wireless.taglibs.base.CollectionTag;
18:
19: import java.util.Collection;
20:
21: /**
22: * ConfigsTag - Find the collection of mail configuration
23: *
24: * @version 1.0
25: * @see com.iplanet.portalserver.taglibs.base.CollectionTag
26: */
27:
28: public class PopConfigsTag extends CollectionTag {
29:
30: public Collection findCollection() throws Exception {
31: MailPrefsContext pc = MailPrefsContext
32: .getPrefsContext(pageContext);
33: return pc.getConfigsCollection();
34: }
35: }
|