Community
Participate
Working Groups
Details about jsp:attribute can be found here: http://java.sun.com/products/jsp/syntax/2.0/syntaxref2014.html An example page using default JSF taglibs is: ---------------------- <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <html> <body> <f:view> <f:loadBundle var="msg"> <jsp:attribute name="basename" >test.bundle</jsp:attribute> </f:loadBundle> <h:outputText value="#{msg.bla}" /> </f:view> </body> </html> ---------------------- Problem is that jsp:attribute is marked as warning: ---------------------- Unknown tag (jsp:attribute). ----------------------
I'm a little surprised by this one, Nitin. Any thoughts if this is a bug? Or, did we just overlook it?
I think at the least that we overlooked it. Our JSP content model document doesn't include it and our translator's not incorporating it into the servlet source.
Fixed. Created a separate CMDocument both for JSP 2.0 and tag files (in HTML core for now), a new modelhandler and model query for tag files to access the correct CMDocument, and changed JSPCMDocumentFactory to default to 2.0. We also have some ability to judge which version of the spec we should be supporting for a given file.
*** Bug 105460 has been marked as a duplicate of this bug. ***
verified in wtp2.0 RC4 200706212235