org.apache.myfaces.shared.renderkit
Class ViewSequenceUtils

java.lang.Object
  extended by org.apache.myfaces.shared.renderkit.ViewSequenceUtils

public class ViewSequenceUtils
extends java.lang.Object

Author:
Thomas Spiegl

Constructor Summary
ViewSequenceUtils()
           
 
Method Summary
static java.lang.Integer getCurrentSequence(javax.faces.context.FacesContext context)
          Current view sequence, may be NULL!
static java.lang.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
 

Constructor Detail

ViewSequenceUtils

public ViewSequenceUtils()
Method Detail

nextViewSequence

public static void nextViewSequence(javax.faces.context.FacesContext facescontext)
Increments view sequence by 1.

Parameters:
facescontext -

getViewSequence

public static java.lang.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 java.lang.Integer getCurrentSequence(javax.faces.context.FacesContext context)
Current view sequence, may be NULL!

Parameters:
context -
Returns:


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.