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.table;
06:
07: import javax.servlet.jsp.JspException;
08: import javax.servlet.http.HttpServletRequest;
09: import java.util.Map;
10:
11: import com.sun.portal.desktop.taglib.BaseDesktopTagSupport;
12: import com.sun.portal.desktop.taglib.DesktopTaglibConstants;
13: import com.sun.portal.desktop.taglib.DesktopTaglibException;
14: import com.sun.portal.providers.util.ProviderProperties;
15: import com.sun.portal.providers.util.PropertyUtil;
16:
17: public class GetBorderlessChannelTag extends
18: BaseTableContainerTagSupport {
19: public int doStartTag() throws JspException {
20: Boolean result = null;
21:
22: Map borderlessChannels = getMapProperty(_ChannelsBorderless,
23: ProviderProperties.BORDERLESS_CHANNELS);
24: result = (Boolean) borderlessChannels.get(getChannelName());
25: if (result == null) {
26: result = Boolean.FALSE;
27: }
28: processResult(result);
29: return SKIP_BODY;
30: }
31:
32: }
|