This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | [EL] entity property not correct on ELResolver | ||
---|---|---|---|
Product: | javaee | Reporter: | hwaastad <hwaastad> |
Component: | JSF Editor | Assignee: | Marek Fukala <mfukala> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
open18 mySQL schema
code completion screenshot |
I must admit I do not get what exactly is the problem here. What do you mean by "The ELResolver will tell me"??? Both codes sample looks fine, at least from the EL point of view. Can you please elaborate a bit? Created attachment 104211 [details]
code completion screenshot
(In reply to comment #1) > I must admit I do not get what exactly is the problem here. What do you mean by > "The ELResolver will tell me"??? Both codes sample looks fine, at least from > the EL point of view. Can you please elaborate a bit? I've added a screenshot. Check this issue also in 6.9.1. What I mean is that the code completion in the editor should suggest MPar instead of mPar since mPar make the application fail..... the get functions ar auto generated form the IDE. I did not make them my self. br hw I see, thanks. However after the EL code support redesign, the code completion for declared variables of iterable type doesn't work at all. *** This bug has been marked as a duplicate of bug 194302 *** |
Created attachment 99778 [details] open18 mySQL schema I'm trying to port the open18 (seaminaction) to an EE6/JPA2.0 project in netbeans 69RC2 1. I'm creating enitites from database 2. I'm creating session beans for entity classes. 3. Using default eclipselink The Hole.java entity class shows: @Basic(optional = false) @Column(name = "m_par") private int mPar; and: public int getMPar() { return mPar; } The ELResolver will tell me: <ui:repeat value="#{roundController.current.teeSet.course.holeCollection}" var="score"> <td> #{score.mPar} </td> </ui:repeat> While the create jsf datatable from entity will use: <h:dataTable value="#{roundController.current.teeSet.course.holeCollection}" var="item"> <h:column> <f:facet name="header"> <h:outputText value="MPar"/> </f:facet> <h:outputText value="#{item.MPar}"/> </h:column>