java.lang.Object
de.agilecoders.wicket.jquery.Attr
de.agilecoders.wicket.jquery.Attr.Auto
All Implemented Interfaces:
Serializable, CharSequence, IClusterable
Enclosing class:
Attr

public static class Attr.Auto extends Attr
jquery attribute the value and type will be detect automatically.

     new Auto("value").toString(); // = 'value'
     new Auto(1234).toString(); // = 1234
     new Auto(Json.parse("{key:1234}")).toString(); // = {key:1234}
 
See Also:
  • Constructor Details

    • Auto

      protected Auto(Object value)
      Construct.
      Parameters:
      value - the attribute value