webtier@glassfish.java.net

Re: JSF2 form does not support HTML autocomplete="off" attribute

From: Lincoln Baxter, III <lincolnbaxter_at_gmail.com>
Date: Sat, 11 Apr 2009 12:52:53 -0400

Actually, i need to edit this... selectOneMenu is missing this
attribute... form does not seem to include this in the spec.

http://www.w3.org/Submission/web-forms2/#the-autocomplete

--Lincoln & Jeff


On Sat, 2009-04-11 at 12:42 -0400, Lincoln Baxter, III wrote:

> <h:form id="form" autocomplete="off">
>
> In order to prevent firefox 3 from caching form values, the
> autocomplete="off" attribute is required. Is there any way to get this
> rendered despite not being an attribute on h:form?
>
> Thanks,
> Lincoln
>
> In further thought...is there a way to tell JSF components to
> pass-through any non-standard attributes? (like HTML, "if I don't know
> what it is... ok then... it goes in anyway")