org.apache.myfaces.shared_orchestra.renderkit
Class ViewSequenceUtils
java.lang.Object
org.apache.myfaces.shared_orchestra.renderkit.ViewSequenceUtils
public class ViewSequenceUtils
- extends Object
- Author:
- Thomas Spiegl
Method Summary |
static Integer |
getCurrentSequence(javax.faces.context.FacesContext context)
Current view sequence, may be NULL! |
static Integer |
getViewSequence(javax.faces.context.FacesContext facescontext)
Returns current view sequence and sets current view sequence to Integer(1) if
current sequence value is NULL. |
static void |
nextViewSequence(javax.faces.context.FacesContext facescontext)
Increments view sequence by 1. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewSequenceUtils
public ViewSequenceUtils()
nextViewSequence
public static void nextViewSequence(javax.faces.context.FacesContext facescontext)
- Increments view sequence by 1.
- Parameters:
facescontext
-
getViewSequence
public static Integer getViewSequence(javax.faces.context.FacesContext facescontext)
- Returns current view sequence and sets current view sequence to Integer(1) if
current sequence value is NULL.
- Parameters:
facescontext
-
- Returns:
getCurrentSequence
public static Integer getCurrentSequence(javax.faces.context.FacesContext context)
- Current view sequence, may be NULL!
- Parameters:
context
-
- Returns:
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.