webtier@glassfish.java.net

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

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Sat, 11 Apr 2009 10:05:09 -0700

On 4/11/09 9:52 AM, Lincoln Baxter, III wrote:
>
> Actually, i need to edit this... selectOneMenu is missing this
> attribute... form does not seem to include this in the spec.
Please log an issue against the specification [1] to have this addressed.

[1] https://javaserverfaces-spec-public.dev.java.net
>
> 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")