Notifications
Clear all
[Closed] scripted controller, how to get constant?
Feb 17, 2009 12:41 am
$.position.controller.getconstant looks like is usable, however when i try
$.position.controller.getconstant myConstant
nothing happens i get the errror
– Unknown property: “myConstant” in GetConstant()
does anyone know how to read the variable values out of a scripted controller?
2 Replies
Feb 17, 2009 12:41 am
alternatively, use the name approach;
$.position.controller.getconstant #myConstant
quotation marks are easier when dealing with spaces, though
(spaces are evil)