> What you can do, is creating a custom renderer for the standard
> UIInput component

if you change *default* behavior of a standard component,
you should also provide a tag, to ensure, that the usage of

<h:inputText/> has no side effects for a user.

So something like:
<x:inputText autocomplete="false"/>
is better ;)

btw. you don't need to create a component for this. Just *reuse* the
UIInput, shiped by the faces standard


<snipletOfYourPossibleTag>
public String getComponentType() {
  return ("javax.faces.Input");
}

public String getRendererType() {
  return ("com.foo.renderer.CustomInput");
}

</snipletOfYourPossibleTag>


> -Matthias
>
> On 1/12/06, Vladimir Coutinho <[EMAIL PROTECTED]> wrote:
> > How do I disable autocomplete in a form?
> >
> >
> >  In html I use autocomplete="off". But jsf did not recognize this propertie.
> >
>
>
> --
> Matthias Wessendorf
> Zülpicher Wall 12, 239
> 50674 Köln
> http://www.wessendorf.net
> mwessendorf-at-gmail-dot-com
>


--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com

Reply via email to