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.theme;
06:
07: import javax.servlet.jsp.JspException;
08: import java.util.Map;
09:
10: import com.sun.portal.providers.Provider;
11: import com.sun.portal.providers.context.ProviderContext;
12: import com.sun.portal.providers.context.Theme;
13:
14: public class SetCustomAttributeTag extends BaseThemeTagSupport {
15: public int doStartTag() throws JspException {
16:
17: ProviderContext pc = getCurrentProviderContext();
18: Provider p = getCurrentObj();
19: Theme.setCustomAttribute(p.getName(), pc, mName, mValue);
20:
21: return SKIP_BODY;
22: }
23:
24: }
|