EL deferred expressions inspection
Reports dynamic expressions where deferred expressions are expected and vice versa.
Example:
<jsp:useBean id="exampleBean" scope="request" type="java.util.Date"/>
<h:outputText id="${exampleBean.day}" value="#{exampleBean.day}" /> // Good
<h:outputText id="#{exampleBean.day}" value="${exampleBean.day}" /> // Error: `id` attribute requires dynamic expression, `value` - deferred
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Jakarta EE: Server Pages (JSP), 233.SNAPSHOT |
Last modified: 13 July 2023