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.
Provide a facelets page such as <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"> <f:metadata> <f:viewParam name="score" value="#{quizBean.score}"/> </f:metadata> ... </html> and name gets a wiggly underline and an error "the attribute name is not defined in the component's interface".
Apparently the TLD file for the http://java.sun.com/jsf/core namespace claims there isn't such attribute. Jim or Ed, is it correct or another bug in the tlds?
Cay, you are correct, this is a bug in the TLD. Thanks for catching this. Ed
Filed issue <https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=656> to track the JSF side of this.
Created attachment 89945 [details] The correct tld for facelets.
Thanks Ed for the file, but this one I take from mojarra, so I need to wait for the fix to appear in glassfish.
Is there any way you can update just the file? We're not planning to do another integration into Glassfish.
Yes, I can take it from the bundled jsf 2.0 library. I'll do that.
I have copied all the TLDs from the Mojarra's source (version 2.0.1) to the netbeans repository since some of the files are not in the runtime jar and moreover some fixes which doesn't seem to be in the 2.0.1 version are necessary. Ed, are you sure https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=656 is in the 2.0.1??? It doesn't seem so. One more thing - what it means there two TLDs for the same URL - facelets_jsf_core.tld and jsf_core.tld? fixed in web-main#9a2ae760f670
Integrated into 'main-golden', will be available in build *200910280201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9a2ae760f670 User: Marek Fukala <mfukala@netbeans.org> Log: #174945 - f:viewParam doesn't recognize the name attribute as its own