Class AuSetAttribute

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

public class AuSetAttribute extends AuResponse
A response to set the attribute of the specified component at the client.

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

Since:
3.0.0
Author:
tomyeh
  • Constructor Details

    • AuSetAttribute

      public AuSetAttribute(Component comp, String attr, Object val)
      Construct an instance for miscellaneous values, such as Boolean, Integer and so on.
      Parameters:
      val - the value. It could be null, String, Date, DeferredValue, and any kind of objects that the client accepts (marshaled by JSON).
      Since:
      5.0.0