History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-24330
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Maxim Mossienko
Reporter: Serge Baranov
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

JSF Binding Expression Auto-completion

Created: 17 Jan 08 16:39   Updated: 17 Jan 08 20:53
Component/s: J2EE.JSP
Fix Version/s: Selena 7.0.3, Diana 8243

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,590
Fixed in build: 7,654
Severity: Medium


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.