Class RowKeySetAttributeChange

  extended by org.apache.myfaces.trinidad.change.ComponentChange
      extended by org.apache.myfaces.trinidad.change.AttributeComponentChange
          extended by org.apache.myfaces.trinidad.change.RowKeySetAttributeChange
All Implemented Interfaces:

public final class RowKeySetAttributeChange
extends AttributeComponentChange

Handles RowKeySetAttribute changes, which need to be handled specially because they are mutable and programmers assume that the instances don't change. Cases that we need to worry about: 1) old value is null 2) new value is null (should clear existing RowKeySet if possible) 3) old value = new value 4) new value is a ValueExpression or ValueBinding 5) old value is a ValueExpression that needs to be evaluated in context 6) RowKeySet is internally bound to a model that needs to be evaluated in context

See Also:
Serialized Form

Constructor Summary
RowKeySetAttributeChange(String clientId, String propertyName, Object value)
Method Summary
 void changeComponent(javax.faces.component.UIComponent component)
          Apply this change to the specied component
Methods inherited from class org.apache.myfaces.trinidad.change.AttributeComponentChange
equals, getAttributeName, getAttributeValue, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Constructor Detail


public RowKeySetAttributeChange(String clientId,
                                String propertyName,
                                Object value)
Method Detail


public void changeComponent(javax.faces.component.UIComponent component)
Description copied from class: AttributeComponentChange
Apply this change to the specied component

changeComponent in class AttributeComponentChange
component - the UIComponent to apply the change to

Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.