Liferay 7.0-ce-b4

com.liferay.taglib.aui
Class AUIUtil

java.lang.Object
  extended by com.liferay.taglib.aui.AUIUtil

public class AUIUtil
extends Object


Field Summary
static String BUTTON_INPUT_PREFIX
          Deprecated. As of 6.2.0
static String BUTTON_PREFIX
           
static String FIELD_PREFIX
           
static String INPUT_PREFIX
          Deprecated. As of 6.2.0
static String LABEL_CHOICE_PREFIX
          Deprecated. As of 6.2.0
static String LABEL_FIELD_PREFIX
          Deprecated. As of 6.2.0
 
Constructor Summary
AUIUtil()
           
 
Method Summary
static String buildControlGroupCss(boolean inlineField, String inlineLabel, String wrapperCssClass, String baseType)
           
static String buildCss(String prefix, boolean disabled, boolean first, boolean last, String cssClass)
           
static String buildCss(String prefix, String baseTypeCss, boolean disabled, boolean first, boolean last, String cssClass)
          Deprecated. As of 6.2.0, replaced by buildCss(String, boolean, boolean, boolean, String)
static String buildData(Map<String,Object> data)
           
static String buildLabel(String baseType, boolean inlineField, boolean showForLabel, String forLabel)
           
static String buildLabel(String inlineLabel, boolean showForLabel, String forLabel, boolean choiceField)
          Deprecated. As of 6.2.0, replaced by buildLabel(String, boolean, boolean, String)
static Object getAttribute(javax.servlet.http.HttpServletRequest request, String namespace, String key)
           
static String getNamespace(javax.servlet.http.HttpServletRequest request)
           
static String getNamespace(PortletRequest portletRequest, PortletResponse portletResponse)
           
static boolean isOpensNewWindow(String target)
           
static String normalizeId(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUTTON_INPUT_PREFIX

@Deprecated
public static final String BUTTON_INPUT_PREFIX
Deprecated. As of 6.2.0
See Also:
Constant Field Values

BUTTON_PREFIX

public static final String BUTTON_PREFIX
See Also:
Constant Field Values

FIELD_PREFIX

public static final String FIELD_PREFIX
See Also:
Constant Field Values

INPUT_PREFIX

@Deprecated
public static final String INPUT_PREFIX
Deprecated. As of 6.2.0
See Also:
Constant Field Values

LABEL_CHOICE_PREFIX

@Deprecated
public static final String LABEL_CHOICE_PREFIX
Deprecated. As of 6.2.0
See Also:
Constant Field Values

LABEL_FIELD_PREFIX

@Deprecated
public static final String LABEL_FIELD_PREFIX
Deprecated. As of 6.2.0
See Also:
Constant Field Values
Constructor Detail

AUIUtil

public AUIUtil()
Method Detail

buildControlGroupCss

public static String buildControlGroupCss(boolean inlineField,
                                          String inlineLabel,
                                          String wrapperCssClass,
                                          String baseType)

buildCss

public static String buildCss(String prefix,
                              boolean disabled,
                              boolean first,
                              boolean last,
                              String cssClass)

buildCss

@Deprecated
public static String buildCss(String prefix,
                                         String baseTypeCss,
                                         boolean disabled,
                                         boolean first,
                                         boolean last,
                                         String cssClass)
Deprecated. As of 6.2.0, replaced by buildCss(String, boolean, boolean, boolean, String)


buildData

public static String buildData(Map<String,Object> data)

buildLabel

public static String buildLabel(String baseType,
                                boolean inlineField,
                                boolean showForLabel,
                                String forLabel)

buildLabel

@Deprecated
public static String buildLabel(String inlineLabel,
                                           boolean showForLabel,
                                           String forLabel,
                                           boolean choiceField)
Deprecated. As of 6.2.0, replaced by buildLabel(String, boolean, boolean, String)


getAttribute

public static Object getAttribute(javax.servlet.http.HttpServletRequest request,
                                  String namespace,
                                  String key)

getNamespace

public static String getNamespace(javax.servlet.http.HttpServletRequest request)

getNamespace

public static String getNamespace(PortletRequest portletRequest,
                                  PortletResponse portletResponse)

isOpensNewWindow

public static boolean isOpensNewWindow(String target)

normalizeId

public static String normalizeId(String name)

Liferay 7.0-ce-b4