Dynamic expression is required here inspection
Answered
Intellij Idea 2017.2 complains about such constructs:
<h:outputText id="data" escape="false" binding="#{dataResponse.jsonOutput}" value="#{dataResponse.orgUnitsJson}" />
It says that dolar (deferred) syntax is required in attributes.
When I look at this question: What are the differences between ${} and #{}?
- They describe both syntaxes oppositely.
- It seems that they are interchangable
This code is legacy so even if the inspection is right I do not want to rewrite it completely. How can I stop this inspection? I have not found it in Inspections list.
Please sign in to leave a comment.
Hello,
I couldn't reproduce the issue on my machine. Is it possible to provide sample project example for investigation?
I have minimum viable project with this issue. How can I upload the zip archive?
You could use https://uploads.services.jetbrains.com/ or FTP: ftp://ftp.intellij.net/.uploads/ (anonymous login, .uploads directory has no permissions to list/download files, only for upload, so that other users will not be able to download your files).