Class AuSetAttributes

java.lang.Object
org.zkoss.zk.au.AuResponse
org.zkoss.zk.au.out.AuSetAttributes

public class AuSetAttributes extends AuResponse
A response to set successive attributes of the specified component at the client.

data[0]: the uuid of the component
data[1]: the array of attribute name and attribute value

Since:
9.0.1
Author:
rudyhuang
See Also:
  • Constructor Details

    • AuSetAttributes

      public AuSetAttributes(Component comp, AuSetAttribute... attrs)
      Construct an instance for miscellaneous values, such as Boolean, Integer and so on.
  • Method Details

    • getEncodedData

      public List<Object> getEncodedData()
      Description copied from class: AuResponse
      Returns the evaluated result of the associated data of this response (might be null).

      Note: when this method is called, DeferredValue will be evaluated. Thus, don't call it until the rendering phase. If you want to access it other than the render phase, use AuResponse.getRawData() instead.

      Note: it is a copy, so any modification to it won't affect the data of this response.

      Overrides:
      getEncodedData in class AuResponse
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class AuResponse