cdk
Tag scriptOption


Represents single object in the JavaScript hash. Should be enclosed into <cdk:scriptObject> tag.



Attributes
NameRequiredRequest-timeTypeDescription
attributesfalsetruejava.lang.Object

Space-separated list of attributes to be added to the hash.

variablesfalsetruejava.lang.Object

Space-separated list of Java variables to be added to the hash.

namefalsetruejava.lang.String

Key of the current option in hash.

valuefalsetruejava.lang.String

Value of the current option in hash.

defaultValuefalsetruejava.lang.String

Literal (i.e. non-EL) expression representing default option value. Should be valid Java expression.

wrapperfalsetruejava.lang.String

Optional wrapper around value.

Currently supported are:

  • noop: (default) value -> value
  • asArray: 'rowClassA rowClassA1, rowClassB rowClassB1' -> ['rowClassA rowClassA1', 'rowClassB rowClassB1']
  • eventHandler: value ->
    function (event) { value }



Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.