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.
See ${subj} and attached images.
Created attachment 87416 [details] Unexpected errors in the editor
Created attachment 87418 [details] Unexpected errors in the editor
The sample bundled in NetBeans contains old sources of this project, a much newer and reworked version is now available: https://mojarra.dev.java.net/svn/mojarra/trunk/jsf-demo/scrumtoys2009/eclipseProject/ However, even the new version contains many (false?) warnings in the source, e.g.: 1. Error 'Unknown resource bunde key "]".' on this line: <h:commandButton id="btnEditUpdate" action="#{projectManager.save}" value="#{i18n['project.edit.button.update']}" styleClass="botaoPostIt" /> 2. Error 'The attribute name is not defined in the component's interface' on this line: <f:viewParam name="skin" value="#{skinUrlManager.skin}" /> 3. Error 'The attribute value is not defined in the component's interface' on this line: <ui:param name="postitText" value="#{task.name}"></ui:param> Marek, Denis, whose area is this?
The first warning is mine . It relates to recently implemented functionality for EL hints. This is false warning definitely . Issue should be filed against this warning.
#2 and #3 are mine. I'll doublecheck all the files in the project. #1 has been filed and assigned to Denis in the issue #172143 The html strucure checks complaining about some html elements is a problem described in issue #167968
1) many files contains unused namespaces declarations, the warinings are correct 2) ui:insert's name attribute is marked and unknown - fixed by updating to the freshest ui.tlf from mojarra sources - web-main#360ede2c1502 3) ui:param value attribute marked as unknown - a bug in ui.tld from mojarra. Fixed in the nb copy - web-main#a0c4df3f9bb5 and filed an issue agains mojarra - https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1301 4) the error for "http://java.sun.com/jstl/core" namespace - also correct, the right namespace is xmlns:f="http://java.sun.com/jsp/jsf/core. BTW, the example is already fixed in the latest mojarra's sources. Since the html structure checks are already described in the issue #167968 and the EL checks problem in issue #172143, I am closing this issue as fixed. Thanks for the report.
correction of item #4 : ...also correct, the right namespace is "http://java.sun.com/jsp/jstl/core" ...