8

I like to know if it is posible disable the error messages that appear at the bottom of the page when I have some JSF syntax error:

<ul title="Project Stage[Development]: Unhandled Messages" 
   id="javax_faces_developmentstage_messages">
  <li style="Color: orange">    
    The button/link/text component needs to have a Form in its ancestry. Please 
    add <h:form>.
  </li>
</ul>

And you can't say "add the form tag".

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Diego Maye
  • 327
  • 5
  • 11

1 Answers1

16

Remove the <context-param> with name of javax.faces.PROJECT_STAGE from your web.xml, or set its value to Production instead of Development.

See also:

Community
  • 1
  • 1
BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555