cdk
Tag scriptObject


Handy tag for JavaScript hash objects creation. NB: default and empty values are not added to the result hash.

Example usage:

<cdk:scriptObject name="myHash"> <cdk:scriptOption name="showSomething" value="#{isShowSomething(component)}" /> ... </cdk:scriptObject> <script ...> new Component(#{toScriptArgs(clientId, myHash)});



Attributes
NameRequiredRequest-timeTypeDescription
nametruetruejava.lang.String

Name of Java variable under which Map<String, String> representing the hash is available.

basefalsetruejava.lang.String

Optional base hash (Map<String, String>) to be extended from.



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.