Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 604357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:01:46+00:00 2026-05-13T17:01:46+00:00

I noticed this behaviour of JSF EL. 1. <h:panelGroup rendered=#{!admissionBean.requestStatus==’PR’}> ..some buttons without rendered

  • 0

I noticed this behaviour of JSF EL.
1.

<h:panelGroup rendered="#{!admissionBean.requestStatus=='PR'}">
..some buttons without rendered attribute
</h:panelGroup>

2.

<h:inputText size="6" value="#{dimension.newWeight}" disabled="#{admissionBean.requestStatus=='PR'}"></h:inputText>

1 is not rendered.
2. text box is not disabled.

How can both happen together? textbox not disabled means requestStatus is not equal to PR.
that means rendered condition of panel group should be true.

Any help?Am I missing any thing here.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T17:01:46+00:00Added an answer on May 13, 2026 at 5:01 pm

    Just giving it a shot: Maybe the ! at the beginning applies as an unary operator, before the == comparison. Hence, the result is not the expected.

    Whether this is right or not, I would suggest you to use

    <h:panelGroup rendered="#{admissionBean.requestStatus!='PR'}">
    ..some buttons without rendered attribute
    </h:panelGroup>
    

    So the idea of checking if this IS NOT EQUAL TO that performs logically.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just recently noticed this behaviour. To put it shortly, it displays the commits
I was going through some data structures and I noticed this as a time
I have noticed some unexpected behaviour when using the jQuery .ready() function, whereby afterwards
I've been going through a Haskell tutorial recently and noticed this behaviour when trying
I'm implementing a webapp using Jsf 2.0 and Primefaces 3.2. I've noticed this unexpected
I just noticed some weird behaviour with my Android 2.3.3 application. I can write
I've recently noticed some behaviour with the Visual Studio Designer (C#) that I don't
I noticed this interesting behaviour of the g++ compiler, if I add a -O3
I noticed this interesting behaviour. Suppose you have a <div id=editableDiv contenteditable=true></div> and you
I noticed this strange behaviour with the latest iOS (iOS 6). If calling a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.