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.
Created attachment 131071 [details] test case (nb project) <cc:interface> <cc:attribute name="bean" type="com.example.SomeBean" required="true"/> </cc:interface> <cc:implementation> <h:outputText value="#{cc.attrs.bean.NO-CODE-COMPLETION-HERE}" /> ... 1) #{cc.attrs.bean.^SPACE does not do code completion (content assist), even though the class can be inferred from the type assignment on the attribute. 2) Once that is fixed, bad EL could be flagged just as in a regular facelet. 3) Content assist (and error check) on the type field itself would also be nice too. e.g. type="com.example.^SPACE Test case NB project attached.
That are definitely good points for implementing. Changing category to the correct one and switching to enhancement. Thanks ethermion for reporting.
BTW, points Nr. 1 and 2 should be already implemented into the NetBeans 7.4.
The last feature, code completion of java elements in the "type" attribute is implemented in web-main #5a0bd8520586. Reporter please give it a try in the daily build and let us know any issues you would be facing. Thanks
Integrated into 'main-silver', will be available in build *201311130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5a0bd8520586 User: Martin Fousek <marfous@netbeans.org> Log: #225813 - JSF Editor unaware of cc:attribute type="blah,blah,blah"