1

I use this rendered="#{not empty facesContext.messageList}" to render a form. All works fine but my eclipse marker says the following warnings:

Warning1:This empty expression always evaluates to false. Only string, maps, arrays and collection have meaningful values for the empty operator.

Warning2: This not will always result a value of true.

I use Eclipse Kepler for it. Can i ignore this?

BalusC
  • 1,040,783
  • 362
  • 3,548
  • 3,513
pL4Gu33
  • 1,743
  • 14
  • 36
  • Have you checked http://stackoverflow.com/questions/11736641/jsf-using-el-to-test-global-messages-presence? – Smutje Aug 17 '14 at 20:03
  • Yes, its the same solution as mine. And my solution works fine :D only the warning confuse me ;) – pL4Gu33 Aug 18 '14 at 16:11

0 Answers0