On Thu, 03 Jul 2008, Rakesh Sinha wrote:
> on a separate note - how do we turn off autocomplete for a TextField
> in the java code. (other than autocomplete=off, in html).

Probably with an AttributeModifier setting that attribute.

E.g.

  textField.add(new AttributeModifier("autocomplete", true, new
  AbstractReadOnlyModel() { return autoComplete() ? "on" : "off"; }));

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to