public final class HtmlRendererUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CHAR_NON_BEAKING_SPACE |
Modifier and Type | Method and Description |
---|---|
static String |
addTip(String title,
Object tip) |
static void |
encodeIconWithLabel(TobagoResponseWriter writer,
javax.faces.context.FacesContext facesContext,
String image,
LabelWithAccessKey label,
boolean disabled) |
static void |
encodeIconWithLabel(TobagoResponseWriter writer,
String image,
String label) |
static String |
getRendererName(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
static String |
getTitleFromTipAndMessages(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
static TobagoResponseWriter |
getTobagoResponseWriter(javax.faces.context.FacesContext facesContext)
Deprecated.
since 3.0.0, use
RendererBase.getResponseWriter(javax.faces.context.FacesContext) |
static void |
renderFocus(String clientId,
boolean focus,
boolean error,
javax.faces.context.FacesContext facesContext,
TobagoResponseWriter writer) |
static void |
renderSelectItems(javax.faces.component.UIInput component,
Iterable<javax.faces.model.SelectItem> items,
Object[] values,
String[] submittedValues,
Boolean onlySelected,
TobagoResponseWriter writer,
javax.faces.context.FacesContext facesContext) |
static void |
renderSelectItems(javax.faces.component.UIInput component,
Iterable<javax.faces.model.SelectItem> items,
Object[] values,
String[] submittedValues,
TobagoResponseWriter writer,
javax.faces.context.FacesContext facesContext) |
static void |
renderSelectItems(javax.faces.component.UIInput component,
Iterable<javax.faces.model.SelectItem> items,
Object[] values,
TobagoResponseWriter writer,
javax.faces.context.FacesContext facesContext)
Deprecated.
Since Tobago 2.0.7
|
static void |
renderSelectItems(javax.faces.component.UIInput component,
Iterable<javax.faces.model.SelectItem> items,
Object value,
String submittedValue,
TobagoResponseWriter writer,
javax.faces.context.FacesContext facesContext) |
static void |
writeDataAttributes(javax.faces.context.FacesContext context,
TobagoResponseWriter writer,
javax.faces.component.UIComponent component) |
static void |
writeLabelWithAccessKey(TobagoResponseWriter writer,
LabelWithAccessKey label) |
public static final String CHAR_NON_BEAKING_SPACE
public static void renderFocus(String clientId, boolean focus, boolean error, javax.faces.context.FacesContext facesContext, TobagoResponseWriter writer) throws IOException
IOException
public static String getRendererName(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
public static void writeLabelWithAccessKey(TobagoResponseWriter writer, LabelWithAccessKey label) throws IOException
IOException
public static void encodeIconWithLabel(TobagoResponseWriter writer, String image, String label) throws IOException
IOException
public static void encodeIconWithLabel(TobagoResponseWriter writer, javax.faces.context.FacesContext facesContext, String image, LabelWithAccessKey label, boolean disabled) throws IOException
IOException
public static TobagoResponseWriter getTobagoResponseWriter(javax.faces.context.FacesContext facesContext)
RendererBase.getResponseWriter(javax.faces.context.FacesContext)
public static String getTitleFromTipAndMessages(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
@Deprecated public static void renderSelectItems(javax.faces.component.UIInput component, Iterable<javax.faces.model.SelectItem> items, Object[] values, TobagoResponseWriter writer, javax.faces.context.FacesContext facesContext) throws IOException
IOException
public static void renderSelectItems(javax.faces.component.UIInput component, Iterable<javax.faces.model.SelectItem> items, Object[] values, String[] submittedValues, TobagoResponseWriter writer, javax.faces.context.FacesContext facesContext) throws IOException
IOException
public static void renderSelectItems(javax.faces.component.UIInput component, Iterable<javax.faces.model.SelectItem> items, Object value, String submittedValue, TobagoResponseWriter writer, javax.faces.context.FacesContext facesContext) throws IOException
IOException
public static void renderSelectItems(javax.faces.component.UIInput component, Iterable<javax.faces.model.SelectItem> items, Object[] values, String[] submittedValues, Boolean onlySelected, TobagoResponseWriter writer, javax.faces.context.FacesContext facesContext) throws IOException
IOException
public static void writeDataAttributes(javax.faces.context.FacesContext context, TobagoResponseWriter writer, javax.faces.component.UIComponent component) throws IOException
IOException
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.