Object actionListenerSaved = null;
if (!_isSetActionListener() &&
_actionListener != null && _actionListener instanceof PartialStateHolder)
{
//Delta
StateHolder holder = (StateHolder) _actionListener;
if (!holder.isTransient())
{
Object attachedState = holder.saveState(facesContext);
if (attachedState != null)
{
nullDelta = false;
}
actionListenerSaved = new AttachedDeltaWrapper(_actionListener.getClass(),
attachedState);
}
}
else if (_isSetActionListener() || _actionListener != null)
{
//Full
actionListenerSaved = saveAttachedState(facesContext,_actionListener);
nullDelta = false;
}
Object actionExpressionSaved = null;
if (!_isSetActionExpression() &&
_actionExpression != null && _actionExpression instanceof PartialStateHolder)
{
//Delta
StateHolder holder = (StateHolder) _actionExpression;
if (!holder.isTransient())
{
Object attachedState = holder.saveState(facesContext);
if (attachedState != null)
{
nullDelta = false;
}
actionExpressionSaved = new AttachedDeltaWrapper(_actionExpression.getClass(),
attachedState);
}
}
else if (_isSetActionExpression() || _actionExpression != null)
{
//Full
actionExpressionSaved = saveAttachedState(facesContext,_actionExpression);
nullDelta = false;
}
Object mouseListenerExpressionSaved = null;
if (!_isSetActionListener() &&
_mouseListenerExpression != null && _mouseListenerExpression instanceof PartialStateHolder)
{
//Delta
StateHolder holder = (StateHolder) _mouseListenerExpression;
if (!holder.isTransient())
{
Object attachedState = holder.saveState(facesContext);
if (attachedState != null)
{
nullDelta = false;
}
mouseListenerExpressionSaved = new AttachedDeltaWrapper(_mouseListenerExpression.getClass(),