Class StringOption

java.lang.Object
org.wicketstuff.wiquery.core.options.AbstractOption<String>
org.wicketstuff.wiquery.core.options.StringOption
All Implemented Interfaces:
Serializable, org.apache.wicket.model.IDetachable, org.apache.wicket.util.io.IClusterable, IListItemOption, IModelOption<String>, ITypedOption<String>

public class StringOption extends AbstractOption<String>
$Id: $

Wraps a String to be generated as a JavaScript string.

Example:

The String true should be rendered as true

Since:
0.5
Author:
Lionel Armanet, Ernesto Reinaldo Barreiro
See Also:
  • Constructor Details

    • StringOption

      public StringOption(String value)
      Builds a new instance of StringOption.
      Parameters:
      value - the wrapped String
    • StringOption

      public StringOption(org.apache.wicket.model.IModel<String> value)
      Builds a new instance of StringOption.
      Parameters:
      value - the wrapped String
  • Method Details