org.apache.myfaces.trinidadinternal.renderkit.core.xhtml
Class ProcessUtils
java.lang.Object
org.apache.myfaces.trinidadinternal.renderkit.core.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/renderkit/core/xhtml/ProcessUtils.java#0 $) $Date: 10-nov-2005.19:01:42 $
- Author:
- The Oracle ADF Faces Team
Method Summary |
static int |
getBackIndex(org.apache.myfaces.trinidad.component.UIXProcess component,
javax.faces.component.UIComponent stamp,
int startIndex)
|
static java.lang.String |
getChoiceOnChangeFormSubmitted(java.lang.String form,
java.lang.String id,
boolean validate)
|
static int |
getNextIndex(org.apache.myfaces.trinidad.component.UIXProcess component,
javax.faces.component.UIComponent stamp,
int startIndex)
|
static java.lang.String |
getSubmitScriptCall(java.lang.String form,
java.lang.String id,
long value,
boolean doValidate)
Returns a String with the javascript function call _navSubmit |
static void |
renderNavChoiceSubmitScript(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
|
static void |
renderNavSubmitScript(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
|
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()
getSubmitScriptCall
public static java.lang.String getSubmitScriptCall(java.lang.String form,
java.lang.String id,
long value,
boolean doValidate)
- Returns a String with the javascript function call _navSubmit
getBackIndex
public static int getBackIndex(org.apache.myfaces.trinidad.component.UIXProcess component,
javax.faces.component.UIComponent stamp,
int startIndex)
- Parameters:
component
- stamp
- startIndex
-
- Returns:
getChoiceOnChangeFormSubmitted
public static java.lang.String getChoiceOnChangeFormSubmitted(java.lang.String form,
java.lang.String id,
boolean validate)
getNextIndex
public static int getNextIndex(org.apache.myfaces.trinidad.component.UIXProcess component,
javax.faces.component.UIComponent stamp,
int startIndex)
- Parameters:
component
- stamp
- startIndex
-
- Returns:
renderNavSubmitScript
public static void renderNavSubmitScript(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
throws java.io.IOException
- Throws:
java.io.IOException
renderNavChoiceSubmitScript
public static void renderNavChoiceSubmitScript(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext arc)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.