input - GWT Celltable and TABbing -
so have gwt celltable various inputs, including selectboxes, edittextcells , links. tab go along each cell.
however, can tab switching go between selectboxes(when keyboardselectionpolicy.disabled
). (ie here). doesnt tab edittextcells or other cells.
(potentially relatedly, edittext <input>
s seem cannot have tabindex!=-1, or else see celltable throwing errors. (and seems warn in edittext shouldnt this).
is there tabindex edittext or other generic cells i'm missing maybe? 1 guy here seemed couldnt work , opt'd out.
but according issue @ googlecode, other people doing successfully.
ok adding tabindex work. edittextcell added new template (normally safehtml-rendered) text this:
interface templatebasic extends safehtmltemplates { @template("<label tabindex=\"{1}\">{0}</label>") safehtml input(string value, string index); }
and later in render when sets ...
else if (value != null) { safehtml html = renderer.render(value); sb.append(html) ); }
instead used
else if (value != null) { safehtml html = renderer.render(value); sb.append(templatebasic.input(html.asstring(), integer.tostring( context.getindex() )) ); }
this should work checkboxcell too; overriding renderer not use static defined input_checked/unchecked tabindex=-1
but im still thinking/hoping there might better way....
Comments
Post a Comment