-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
It cause by below code
if (!jq.nodeName(n, 'button', 'input', 'textarea', 'a', 'select', 'iframe'))
return false;
in ZK 3, toolbutton is a "a" tag but we modify to a "div" in ZK 5
we will fix it after we decide it whether is a bug or spec
You can use client side to control it it is more fast then control from server
I create a sample
<zk xmlns:w="http://www.zkoss.org/2005/zk/client">
<script type="text/javascript"><![CDATA[
function foco(){
jq("$btnGrabar").focus();
}
]]></script>
<button label="Foco" w:onClick="foco();"/>
<toolbarbutton id="btnGrabar" label="Grabar"/>
</zk>