org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml
Class ProcessUtils
java.lang.Object
org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.ProcessUtils
public class ProcessUtils
- extends java.lang.Object
Utility class for the Process components and SelectRange components since
they share the submit javascript code.
- Version:
- $Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/ui/laf/base/xhtml/ProcessUtils.java#0 $) $Date: 10-nov-2005.18:54:09 $
- Author:
- The Oracle ADF Faces Team
Method Summary |
static java.lang.String |
concatenateParams(long value,
int size)
|
static UINode |
createSubmitButton(UIXRenderingContext context,
java.lang.Object buttonText,
java.lang.Object buttonAccessKey,
java.lang.String buttonID,
java.lang.String formName,
boolean validate,
java.lang.String eventKey,
java.lang.String sourceKey,
java.lang.String source,
java.lang.String valueKey,
long value,
java.lang.String sizeKey,
int size)
Creates the submit button bean |
static int |
getBackIndex(org.apache.myfaces.trinidad.component.UIXCollection component,
javax.faces.component.UIComponent stamp,
int startIndex)
|
static java.lang.String |
getChoiceOnChangeFormSubmitted(UIXRenderingContext context,
UINode node,
java.lang.String form,
java.lang.String eventKey,
java.lang.String sourceKey,
java.lang.String name,
java.lang.String partialTargetsKey,
java.lang.String partialTargets)
|
static int |
getNextIndex(org.apache.myfaces.trinidad.component.UIXCollection component,
javax.faces.component.UIComponent stamp,
int startIndex)
|
static java.lang.String |
getSubmitScriptCall(UIXRenderingContext context,
java.lang.String form,
java.lang.String eventKey,
java.lang.String sourceKey,
java.lang.String name,
java.lang.String valueKey,
long value,
java.lang.String sizeKey,
int size,
boolean doValidate,
java.lang.String partialTargetsKey,
java.lang.String partialTargets)
Returns a String with the javascript function call _navSubmit |
static void |
renderNavChoiceSubmitScript(UIXRenderingContext context)
|
static void |
renderNavSubmitScript(UIXRenderingContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_INDEX
public static final int NO_INDEX
- See Also:
- Constant Field Values
ProcessUtils
public ProcessUtils()
createSubmitButton
public static UINode createSubmitButton(UIXRenderingContext context,
java.lang.Object buttonText,
java.lang.Object buttonAccessKey,
java.lang.String buttonID,
java.lang.String formName,
boolean validate,
java.lang.String eventKey,
java.lang.String sourceKey,
java.lang.String source,
java.lang.String valueKey,
long value,
java.lang.String sizeKey,
int size)
- Creates the submit button bean
getSubmitScriptCall
public static java.lang.String getSubmitScriptCall(UIXRenderingContext context,
java.lang.String form,
java.lang.String eventKey,
java.lang.String sourceKey,
java.lang.String name,
java.lang.String valueKey,
long value,
java.lang.String sizeKey,
int size,
boolean doValidate,
java.lang.String partialTargetsKey,
java.lang.String partialTargets)
- Returns a String with the javascript function call _navSubmit
- Parameters:
context
- form
- eventKey
- sourceKey
- name
- valueKey
- value
- sizeKey
- size
- doValidate
- partialTargetsKey
- partialTargets
-
- Returns:
getChoiceOnChangeFormSubmitted
public static java.lang.String getChoiceOnChangeFormSubmitted(UIXRenderingContext context,
UINode node,
java.lang.String form,
java.lang.String eventKey,
java.lang.String sourceKey,
java.lang.String name,
java.lang.String partialTargetsKey,
java.lang.String partialTargets)
getBackIndex
public static int getBackIndex(org.apache.myfaces.trinidad.component.UIXCollection component,
javax.faces.component.UIComponent stamp,
int startIndex)
getNextIndex
public static int getNextIndex(org.apache.myfaces.trinidad.component.UIXCollection component,
javax.faces.component.UIComponent stamp,
int startIndex)
renderNavSubmitScript
public static void renderNavSubmitScript(UIXRenderingContext context)
throws java.io.IOException
- Throws:
java.io.IOException
renderNavChoiceSubmitScript
public static void renderNavChoiceSubmitScript(UIXRenderingContext context)
throws java.io.IOException
- Throws:
java.io.IOException
concatenateParams
public static java.lang.String concatenateParams(long value,
int size)
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.