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.container.tab;
06:
07: import javax.servlet.jsp.JspException;
08: import java.util.List;
09:
10: import com.sun.portal.desktop.taglib.DesktopTaglibException;
11: import com.sun.portal.providers.ProviderException;
12: import com.sun.portal.providers.containers.jsp.tab.UnmodifiableTab;
13:
14: public class GetDisplayNameTag extends BaseTabContainerTagSupport {
15: public int doStartTag() throws JspException {
16: UnmodifiableTab tab = getCurrentTab();
17: String result = tab.getDisplayname();
18: if (result == null) {
19: result = "";
20: }
21: processResult(result);
22: return SKIP_BODY;
23: }
24:
25: }
|