- This topic has 6 replies, 2 voices, and was last updated 19 years, 11 months ago by Riyad Kalla.
-
AuthorPosts
-
eraylMemberI have a jspx document that uses the following html element:
<html
xmlns=”http://www.w3.org/1999/xhtml”
xmlns:jsp=”http://java.sun.com/JSP/Page”
xmlns:c=”http://java.sun.com/jstl/core”
xmlns:fmt=”http://java.sun.com/jstl/fmt”
xmlns:toolstag=”urn:jsptagdir:/WEB-INF/tags”
xml:lang=”en” lang=”en”>Autocomplete for JSTL tags is not working. Is this a currrent limitation or am I doing something wrong?
Ed
Riyad KallaMemberEd,
I believe this is a current limitation of the editor not fully supporting JSP Documents, are you able to get correct completion if you move those URIs out into <%@taglib%> entries?
eraylMemberYes that works, but this ‘tag’ violates a valid JXPX document. Could you file a bug for me on this issue?
Riyad KallaMemberCould you file a bug for me on this issue?
Absolutely, I just wanted to make sure that was the problem. Can you paste in an example well-formed XML Document that you are using so I can attach it to the bug?
eraylMemberBelow is both a well formed and valid JSP 2.0 document. Notice that the <jsp:output> element will display as a error in MyEclipse if the extension is changed to .jsp rather than .jspx.
<?xml version=”1.0″ encoding=”iso-8859-1″ ?>
<html
xmlns=”http://www.w3.org/1999/xhtml”
xmlns:jsp=”http://java.sun.com/JSP/Page”
xmlns:c=”http://java.sun.com/jstl/core”
xmlns:fmt=”http://java.sun.com/jstl/fmt”
xml:lang=”en” lang=”en”>
<jsp:output
doctype-root-element=”html”
doctype-public=”-//W3C//DTD XHTML 1.0 Transitional//EN”
doctype-system=”http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd” />
<jsp:directive.page contentType=”text/html; charset=iso-8859-1″ language=”java” errorPage=”” /><head>
<title>My JSPX ‘MyJspX.jspx’ starting page</title>
<meta http-equiv=”pragma” content=”no-cache” />
<meta http-equiv=”cache-control” content=”no-cache” />
<meta http-equiv=”expires” content=”0″ />
<meta http-equiv=”keywords” content=”keyword1,keyword2,keyword3″ />
<meta http-equiv=”description” content=”This is my page” />
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<!–
<link rel=”stylesheet” type=”text/css” media=”screen” href=”styles.css”>
–>
</head>
<body>
This is my JSPX page.<br />
</body>
</html>
eraylMemberIt appears that the forum software has removed all the leading indentation. Please add it back for the bug report. Thanks
Riyad KallaMemberGot it erayl, thank you for your help.
Also, when you want to post code snippets:
This is a code snippet
You can either type in the pnpBB code for it or hit the “post reply” button and use the full posting page which has buttons to quick insert wrappers like that.
-
AuthorPosts