Currently we are migrating the Jakarta Faces application from WildFly to Spring Boot v.3.1.1 using JoinFaces v.5.1.1. The version of PrimeFaces is 12.0.0. The implementation of Jakarta Faces is Mojarra v.4.0.2. I've figured out that the following ternary operator for the "value" attribute of <p:selectOneMenu /> component causes jakarta.el.PropertyNotWritableException: Illegal Syntax for Set Operation exception: <p:selectOneMenu id="someId" value="#{checkBoxBean.checked ? anotherBean.filters.value : ''}" />. The problem isn't reproducible on WildFly-based application. Moreover the problem isn't reproducible if I use the construction like <p:selectOneMenu id="someId" value="#{anotherBean.filters.value" /> or <p:selectOneMenu id="someId" value="''" /> in Spring Boot. There is used EL resolver "org.primefaces.application.exceptionhandler.PrimeExceptionHandlerELResolver". However the usage of EL resolver "org.springframework.web.jsf.el.SpringBeanFacesELResolver" does not fix the problem. Is there any way to make EL ternary operator work in JoinFaces/Spring Boot environment?
jakarta.el.PropertyNotWritableException: Illegal Syntax for Set Operation for the PrimeFaces <p:selectOneMenu /> component
48 views Asked by zilberman At
0
There are 0 answers
Related Questions in JSF
- Calling custom AuthenticationHandler from Faces bean throws IllegalStateException: Cannot change buffer size after data has been written
- Force security constraint managed 403 error when hitting restricted page with h:commandLink
- primefaces component id not found in update
- LazyDataModel, custom filter with search button
- How to use SelectManyCheckbox with ArrayList as HashMap value
- how to surpress logging of jsf "There are some unhandled FacesMessages"
- SelectManyCheckbox returns array of Object[] instead of ArrayList
- My dialog component on PrimeFaces can't render a list on first click
- How to retrieve posted data via FacesContext
- I'm using JSF and after a timer expires, I want to display a warning
- Why print result is blank?
- PrimeFaces centering searchbar on menubar
- JSF: p:fileUpload requiredmessage is apearing on click of another button
- How can I make sure that JSF works?
- Is there an already-made template project using Spring, JSF, PrimeFaces, SOAP and MySQL?
Related Questions in EL
- Why ${message} appear as it is in View and not the real message passed in Spring MVC controller
- jakarta.el.PropertyNotWritableException: Illegal Syntax for Set Operation for the PrimeFaces <p:selectOneMenu /> component
- PrimeFaces menuItem #{component}
- The server does not display the answer when calculating
- How to define variable with namespace in EL processor?
- EL expressions are not evaluated in JSP
- I can invoke static methods in EL, is this as per the spec?
- Property [login] not found on type [com.app.dev.controller.LoginController]
- Access JavaBean object and pass argument to JSP using EL
- How to remove previous request parameter from URL query string
- How to evaluate a scriptlet variable in EL
- How to pass item of h:dataTable with ResultSetDataModel to action method?
- JSP question about accessing keys in an object?
- Upgrading Apache Tomcat from 7.0.50 JSTL stops working
- JSF EL overload method inheritance
Related Questions in CONDITIONAL-OPERATOR
- Basic Python Question: Shortening If Statements
- How to prevent ternary operator indentation in swiftlint?
- Explanation of the associativity of nested conditional operators
- Why did I get a warning "expression is assigned to nothing" in ternary?
- Convert items in Vec that match an if-condition to NaN
- Finding the max negative number, min postive number in C using ternary operato (no while loop, for loop )
- Conditional Expression for variable is not working in ZSHVER=5.9
- Get dynamic data interpreted from a set of preseted conditions in JavaScript
- Ternary Operator not displaying row when condition is false but displays when true
- Initializing a Variable for Strings Using Ternary Operators in C
- How to decide on type in template argument (i.e. ternary operator at compile time)?
- How to play rotate-clockwise animation when slide-out-tl animation ends also final keyframe position is to be maintained before roatation
- is there a predefined functor for conditional operator in c++?
- Getting token from a context in Next js
- jakarta.el.PropertyNotWritableException: Illegal Syntax for Set Operation for the PrimeFaces <p:selectOneMenu /> component
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)