01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.desktop.taglib.provider;
06:
07: import javax.servlet.jsp.JspException;
08:
09: import com.sun.portal.desktop.taglib.BaseDesktopTagSupport;
10: import com.sun.portal.providers.Provider;
11:
12: public class GetNameTag extends BaseDesktopTagSupport {
13: public int doStartTag() throws JspException {
14: Provider p = (Provider) getCurrentObj();
15: String name = p.getName();
16: processResult(name);
17: return SKIP_BODY;
18: }
19: }
|