-
FEATURED COMPONENTS
First time here? Check out the FAQ!
in a ZUL, by means of a zscript, how is an object referenced by the attribute "name" not knowing its "id"? This can be done dynamically to focus the focus on a specific field of a row in a listbox.
Since zscript is executed by a BeanShell interpreter at server side, you can use the whole Java API as usual.
For CSS like query syntax you can use the Component#query() API. Which offers the same syntax used/documented in SelectorComposer
Here a runnable example: http://zkfiddle.org/sample/369mgn2/1-focus-by-name
Asked: 2018-09-17 18:16:35 +0800
Seen: 6 times
Last updated: Sep 18 '18