-
Bug
-
Resolution: Fixed
-
Critical
-
8.0.3
-
None
-
Security Level: Jimmy
-
None
-
None
If a HtmlBasedComponent auxInfo are not empty, but tabIndex is not set, getTabIndex causes NPI.
Reproduce with:
<zk> <textbox id="tb" width="500px"/> <zscript> System.out.println(tb.getTabindex()); System.out.println(tb.getTabindexInteger()); </zscript> </zk>
public int getTabindex() { return _auxinf != null ? _auxinf.tabindex : 0; } could be changed to: public int getTabindex() { return (_auxinf != null && _auxinf.tabindex != null) ? _auxinf.tabindex : 0; }
- relates to
-
ZK-3069 tabindex=0 is not passed to the widgets associated dom element
- Closed