Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Maxim Mossienko 
Subsystem
J2EE.JSP 
Affected versions
Fixed in
Fixed in build
Next build 
Build
7590
Fixed in build
7654
Severity
0
  • Submitted by   Serge Baranov
    2 years ago (17 Jan 2008 16:39)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:57)
  • Jira: IDEA-42553
    (history, comments)

IDEA-42553

JSF Binding Expression Auto-completion

0
Support feedback:

While using JSF 1.2 IntelliJ is unable to auto-complete value binding expressions in JSP. This happens specifically when using a "dataTable" type component with a "var" and "value" attribute defined and then trying to use auto-complete inside of a sub-component like "column". For example:
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %> <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <html>
  <head><title>Simple jsp page</title></head>
  <f:view>
      <h:dataTable var="schedule" value="#{managedBean.schedules}">
        <h:column>
            <h:outputText value="#{schedule.name}"/>
        </h:column>
      </h:dataTable>
      </f:view>
</html>


Where "managedBean" is a registered JSF managed/backing bean and has a method with the signature "public ArrayList<Schedule> getSchedule()". If this return type is changed to "List<Schedule>" the auto-completion works correctly. This issue also arises with other DataModel derived classes that are typed using Generics.

This code runs correctly in WebLogic 10 but IntelliJ cannot understand how to auto-complete while editing or try to "ctrl+click" to navigate the code.


Issue was resolved
Comments (0)
 
History (1)
 
Links
 
Issue has no comments