public class MobiJSFUtils
extends java.lang.Object
| Constructor and Description |
|---|
MobiJSFUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
asParameterString(java.util.List<javax.faces.component.UIParameter> children)
Return the name value pairs parameters as a ANSI escaped string formatted
in query string parameter format for ice.s or ice.se calls for f:param
support
|
static java.lang.String |
asParameterStringForMobiAjax(java.util.List<javax.faces.component.UIParameter> children)
use this one for mobi:ajaxRequest until JSON builder replaces this stuff
|
static boolean |
createMapOfFile(java.util.Map map,
javax.servlet.http.HttpServletRequest request,
java.io.InputStream fileStream,
java.lang.String fileName,
java.lang.String contentType,
javax.faces.context.FacesContext facesContext) |
static boolean |
decodeComponentFile(javax.faces.context.FacesContext facesContext,
java.lang.String clientId,
java.util.Map fileMeta) |
static int |
generateHashCode(java.lang.Object value)
use this to ascertain that the domdiff does not wipe out the script tag
for updating components
|
static java.lang.String |
getCameraOrCamcorderButtonAndThumbnailScript(java.lang.String clientId) |
static java.lang.String |
getCameraOrCamcorderButtonAndThumbnailScriptImageButton(java.lang.String clientId) |
static org.icefaces.util.ClientDescriptor |
getClientDescriptor() |
static java.lang.String |
getICEmobileRegisterSXScript() |
static java.lang.String |
getICEmobileSXScript(java.lang.String command,
java.util.Map<java.lang.String,java.lang.String> params,
javax.faces.component.UIComponent comp) |
static java.lang.String |
getICEmobileSXScript(java.lang.String command,
javax.faces.component.UIComponent comp) |
static java.lang.String |
getPostURL() |
static javax.servlet.http.HttpServletRequest |
getRequest(javax.faces.context.FacesContext facesContext) |
static java.lang.String |
getSessionIdCookie() |
static java.lang.String |
getSessionIdCookie(javax.faces.context.FacesContext facesContext) |
static boolean |
uploadInProgress(java.lang.String clientId) |
static boolean |
uploadInProgress(javax.faces.component.UIComponent comp) |
public static javax.servlet.http.HttpServletRequest getRequest(javax.faces.context.FacesContext facesContext)
public static org.icefaces.util.ClientDescriptor getClientDescriptor()
public static boolean decodeComponentFile(javax.faces.context.FacesContext facesContext,
java.lang.String clientId,
java.util.Map fileMeta)
throws java.io.IOException
java.io.IOExceptionpublic static boolean createMapOfFile(java.util.Map map,
javax.servlet.http.HttpServletRequest request,
java.io.InputStream fileStream,
java.lang.String fileName,
java.lang.String contentType,
javax.faces.context.FacesContext facesContext)
throws java.io.IOException
java.io.IOExceptionpublic static boolean uploadInProgress(javax.faces.component.UIComponent comp)
public static boolean uploadInProgress(java.lang.String clientId)
public static java.lang.String getICEmobileSXScript(java.lang.String command,
java.util.Map<java.lang.String,java.lang.String> params,
javax.faces.component.UIComponent comp)
public static java.lang.String getICEmobileSXScript(java.lang.String command,
javax.faces.component.UIComponent comp)
public static java.lang.String getSessionIdCookie()
public static java.lang.String getSessionIdCookie(javax.faces.context.FacesContext facesContext)
public static java.lang.String getICEmobileRegisterSXScript()
public static java.lang.String getPostURL()
public static int generateHashCode(java.lang.Object value)
public static java.lang.String asParameterString(java.util.List<javax.faces.component.UIParameter> children)
children - List of childrenpublic static java.lang.String asParameterStringForMobiAjax(java.util.List<javax.faces.component.UIParameter> children)
public static java.lang.String getCameraOrCamcorderButtonAndThumbnailScript(java.lang.String clientId)
public static java.lang.String getCameraOrCamcorderButtonAndThumbnailScriptImageButton(java.lang.String clientId)
Copyright 2018 ICEsoft Technologies Canada Corp., All Rights Reserved.