Rafael,
Acho que chegamos ao mesmo ponto. Eu já tinha visto este site. Este
parâmetro foi introduzido na versão do JSF RI 1.2_08, mas por questão
de compatibilidade com o container OC4J 10.1.3.1, temos que usar a
versão 1.2_04. Acho que vamos ter que promover a velha gambi. Como é
triste para um arquiteto ter que recorrer a isso :(
Mas mesmo assim, valeu muito a sua contribuição
On 14 abr, 18:04, Rafael Ponte <
rpo...@gmail.com> wrote:
> Dando uma olhada na wiki/faq da Mojarra eu encontrei isso,
http://wiki.glassfish.java.net/Wiki.jsp?page=JavaServerFacesRI
>
> Mais especificamente o parâmetro "*com.sun.faces.enableViewStateIdRendering*
> ":
>
> > If true, the view state hidden field will be rendered with both the id and
> > name attributes having the value of "javax.faces.ViewState".This is what
> > the spec requires, however, if there are multiple forms within a view and
> > the response content-type is XHTML, the result will be XHTML that will fail
> > validation due to multiple ID attributes with the same value:
> > javax.faces.ViewState. *Setting this parameter to false will result in the
> > ID attribute not being rendered.* Keep in mind however, that *doing this
> > may break integration with AJAX frameworks that get the state field via ID
> > *. See issue 433 for details.
>
> Talvez quebre algo com algum framework AJAX (como Richfaces ou Trinidad),
> mas é apenas uma possibilidade. Faça alguns testes e depois nos diga algo
> :))
>
> 2009/4/14 Rafael Ponte <
rpo...@gmail.com>
>
>
>
> > Situação meio complicada. Talvez, se possível, seja melhor você reformular
> > sua página para trabalhar apenas com um único formulário e abusar um pouco
> > de componentes do tipo subform.
>
> > Isso é um caso isolado, ou está por toda a aplicação?
>
> > 2009/4/14 Rafael Ponte <
rpo...@gmail.com>
>
> > Parece realmente ser um bug da especificação,
> >>
https://issues.apache.org/jira/browse/MYFACES-1700
>
> >> 2009/4/14 Jairson Cabral <
jairsoncab...@yahoo.com.br>