|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.tobago.renderkit.html.util.HtmlRendererUtils
public final class HtmlRendererUtils
| Method Summary | |
|---|---|
static void |
addAcceleratorKey(FacesContext facesContext,
String func,
char key)
|
static void |
addAcceleratorKey(FacesContext facesContext,
String func,
char key,
String modifier)
|
static void |
addClickAcceleratorKey(FacesContext facesContext,
String clientId,
char key)
|
static void |
addClickAcceleratorKey(FacesContext facesContext,
String clientId,
char key,
String modifier)
|
static String |
addTip(String title,
Object tip)
|
static void |
checkForCommandFacet(UIComponent component,
FacesContext facesContext,
TobagoResponseWriter writer)
|
static void |
checkForCommandFacet(UIComponent component,
List<String> clientIds,
FacesContext facesContext,
TobagoResponseWriter writer)
|
static String |
createAcceleratorKeyJsStatement(String func,
char key,
String modifier)
|
static void |
createCssClass(FacesContext facesContext,
UIComponent component)
|
static void |
createHeaderAndBodyStyles(FacesContext facesContext,
UIComponent component)
Deprecated. |
static void |
createHeaderAndBodyStyles(FacesContext facesContext,
UIComponent component,
boolean width)
Deprecated. |
static String |
createOnclickAcceleratorKeyJsStatement(String clientId,
char key,
String modifier)
|
static String |
createSrc(String src,
String ext)
|
static String |
createSubmitAction(String clientId,
boolean transition,
String target,
String focus)
|
static void |
encodeContextMenu(FacesContext facesContext,
TobagoResponseWriter writer,
UIComponent parent)
|
static String |
getComponentId(FacesContext context,
UIComponent component,
String componentId)
|
static String |
getComponentIds(FacesContext context,
UIComponent component,
String[] componentId)
|
static String |
getJavascriptArray(String[] list)
|
static String |
getJavascriptString(String str)
|
static String |
getRenderedPartiallyJavascriptArray(FacesContext facesContext,
UICommand command)
|
static String |
getRenderedPartiallyJavascriptArray(FacesContext facesContext,
UIComponent searchBase,
SupportsRenderedPartially supportsRenderedPartially)
|
static String |
getRendererName(FacesContext facesContext,
UIComponent component)
|
static String |
getTitleFromTipAndMessages(FacesContext facesContext,
UIComponent component)
|
static TobagoResponseWriter |
getTobagoResponseWriter(FacesContext facesContext)
|
static void |
removeStyleAttribute(UIComponent component,
String name)
Deprecated. Please use setter; |
static void |
removeStyleClasses(UIComponent cell)
Deprecated. since Tobago 1.5.0. Please use Classes. |
static void |
renderDojoDndItem(UIComponent component,
TobagoResponseWriter writer,
boolean addStyle)
|
static void |
renderDojoDndSource(FacesContext context,
UIComponent component)
|
static void |
renderFocusId(FacesContext facesContext,
UIComponent component)
|
static void |
renderFocusId(FacesContext facesContext,
UIInput component)
|
static void |
renderImageTip(UIComponent component,
TobagoResponseWriter writer)
Deprecated. since Tobago 1.5.0. Please use getTitleFromTipAndMessages and write it out. |
static void |
renderSelectItems(UIInput component,
List<SelectItem> items,
Object[] values,
TobagoResponseWriter writer,
FacesContext facesContext)
|
static void |
renderTip(UIComponent component,
TobagoResponseWriter writer)
Deprecated. since Tobago 1.5.0. Please use getTitleFromTipAndMessages and write it out. |
static void |
setDefaultTransition(FacesContext facesContext,
boolean transition)
|
static String |
toStyleString(String key,
Integer value)
Deprecated. since Tobago 1.5.0. |
static String |
toStyleString(String key,
String value)
Deprecated. since Tobago 1.5.0. |
static void |
writeLabelWithAccessKey(TobagoResponseWriter writer,
LabelWithAccessKey label)
|
static void |
writeScriptLoader(FacesContext facesContext,
String script)
|
static void |
writeScriptLoader(FacesContext facesContext,
String[] scripts,
String[] afterLoadCmds)
|
static void |
writeStyleLoader(FacesContext facesContext,
String[] styles)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void renderFocusId(FacesContext facesContext,
UIComponent component)
throws IOException
IOException
public static void renderFocusId(FacesContext facesContext,
UIInput component)
throws IOException
IOException
public static void createCssClass(FacesContext facesContext,
UIComponent component)
public static String getRendererName(FacesContext facesContext,
UIComponent component)
public static void writeLabelWithAccessKey(TobagoResponseWriter writer,
LabelWithAccessKey label)
throws IOException
IOException
public static void setDefaultTransition(FacesContext facesContext,
boolean transition)
throws IOException
IOException
public static void addClickAcceleratorKey(FacesContext facesContext,
String clientId,
char key)
throws IOException
IOException
public static void addClickAcceleratorKey(FacesContext facesContext,
String clientId,
char key,
String modifier)
throws IOException
IOException
public static void addAcceleratorKey(FacesContext facesContext,
String func,
char key)
throws IOException
IOException
public static void addAcceleratorKey(FacesContext facesContext,
String func,
char key,
String modifier)
throws IOException
IOException
public static String createOnclickAcceleratorKeyJsStatement(String clientId,
char key,
String modifier)
public static String createAcceleratorKeyJsStatement(String func,
char key,
String modifier)
@Deprecated
public static void removeStyleAttribute(UIComponent component,
String name)
@Deprecated
public static void createHeaderAndBodyStyles(FacesContext facesContext,
UIComponent component)
@Deprecated
public static void createHeaderAndBodyStyles(FacesContext facesContext,
UIComponent component,
boolean width)
public static String createSrc(String src,
String ext)
public static TobagoResponseWriter getTobagoResponseWriter(FacesContext facesContext)
public static void writeScriptLoader(FacesContext facesContext,
String script)
throws IOException
IOException
public static void writeScriptLoader(FacesContext facesContext,
String[] scripts,
String[] afterLoadCmds)
throws IOException
IOException
public static void writeStyleLoader(FacesContext facesContext,
String[] styles)
throws IOException
IOException
public static String getTitleFromTipAndMessages(FacesContext facesContext,
UIComponent component)
public static String addTip(String title,
Object tip)
public static void renderSelectItems(UIInput component,
List<SelectItem> items,
Object[] values,
TobagoResponseWriter writer,
FacesContext facesContext)
throws IOException
IOException
public static String getComponentIds(FacesContext context,
UIComponent component,
String[] componentId)
public static String getComponentId(FacesContext context,
UIComponent component,
String componentId)
@Deprecated
public static String toStyleString(String key,
Integer value)
@Deprecated
public static String toStyleString(String key,
String value)
@Deprecated
public static void renderTip(UIComponent component,
TobagoResponseWriter writer)
throws IOException
IOException
public static void renderImageTip(UIComponent component,
TobagoResponseWriter writer)
throws IOException
IOExceptionpublic static String getJavascriptString(String str)
public static String getRenderedPartiallyJavascriptArray(FacesContext facesContext,
UICommand command)
public static String getRenderedPartiallyJavascriptArray(FacesContext facesContext,
UIComponent searchBase,
SupportsRenderedPartially supportsRenderedPartially)
public static String getJavascriptArray(String[] list)
public static void renderDojoDndSource(FacesContext context,
UIComponent component)
throws IOException
IOException
public static void renderDojoDndItem(UIComponent component,
TobagoResponseWriter writer,
boolean addStyle)
throws IOException
IOException
public static void checkForCommandFacet(UIComponent component,
FacesContext facesContext,
TobagoResponseWriter writer)
throws IOException
IOException
public static void checkForCommandFacet(UIComponent component,
List<String> clientIds,
FacesContext facesContext,
TobagoResponseWriter writer)
throws IOException
IOException
public static String createSubmitAction(String clientId,
boolean transition,
String target,
String focus)
@Deprecated public static void removeStyleClasses(UIComponent cell)
Classes.
public static void encodeContextMenu(FacesContext facesContext,
TobagoResponseWriter writer,
UIComponent parent)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||