0

I need to check two condition in my EL expression. I put those condition in this way:

 <h:panelGroup rendered="#{iw:length(beanObject.methodName) gt 1} and #{iw:length(beanObject.methodName) le 25} ">
</h:panelGroup>

But it doesnt work. Though if I put single condition like this:

 <h:panelGroup rendered="#{iw:length(beanObject.methodName) gt 1}">
    </h:panelGroup>

Can anyone tell that why multiple conditions are not working?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Shubhangi Garg
  • 109
  • 5
  • 17
  • 1
    Change rendered="#{iw:length(beanObject.methodName) gt 1} and #{iw:length(beanObject.methodName) le 25} " to rendered="#{(iw:length(beanObject.methodName) gt 1) and (iw:length(beanObject.methodName) le 25)} " – Jitesh Jul 14 '16 at 11:47
  • Upvote the comment – Jitesh Jul 14 '16 at 13:27

0 Answers0