Page 1 of 1

error tag focus

Posted: 10 Apr 2018, 16:25
by sipeps
I use focus, but it does not work.

Code: Select all

<p:inputText id="descricaoId" maxlength="80" value="#{cadastroSetorBean.setor.descricao}"> <p:focus /> </p:inputText>

what to do?

Re: error tag focus

Posted: 11 Apr 2018, 14:37
by mert.sincan
It is not a Layout or Theme issue. Please use core forum; viewforum.php?f=3

Also, please examine this example; https://www.primefaces.org/showcase/ui/misc/focus.xhtml

Regards,