I'm using JSF and RichFaces 4. I have a huge form which I have to split into several panels. But when I do, I get the warning.
For example this makes it display the warning:
<h:form>
<rich:tabPanel>
<rich:tab>
//Form elements go here
</rich:tab>
</rich:tabPanel>
</h:form>
How do I avoid it?
First of all, this warning will only appear when javax.faces.PROJECT_STAGE
context param in web.xml
is set to Development
. So if everything works fine in spite of the warning, then you can safely ignore it. It won't appear in Production
stage.
As to the false warning itself, in older Mojarra versions there was a bug which caused that. This bug has been reported as issue 2151 and is been fixed since Mojarra 2.1.3. So just upgrading Mojarra to at least 2.1.3 should get you rid of this false warning. The latest available Mojarra 2.x version is currently 2.3.21.