JSTL autocomplete w/o Taglib declaration in same JSP

Hi,

like many others i have many JSPs which just do an include of a taglib declaration JSP to have all the definitions during runtime. THe problem is, this way IDEA marks everything read and i cant autocmplete JSPs. Is there any way i can tell IDEA to use the taglibs defined somewhere else or is there a concept of global taglib definitions?

Just for the matter of completeness, a content JSP could look something like this:

<message key="myKey"></message> ]]>

Thanks for infos.

marc

2 comments
Comment actions Permalink

Hi,

http://www.jetbrains.net/jira/browse/IDEA-299

Marc Logemann wrote:

Hi,

like many others i have many JSPs which just do an include of a taglib declaration JSP to have all the definitions during runtime. THe problem is, this way IDEA marks everything read and i cant autocmplete JSPs. Is there any way i can tell IDEA to use the taglibs defined somewhere else or is there a concept of global taglib definitions?

Just for the matter of completeness, a content JSP could look something like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ include file="/taglibs.jsp"%>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
<head>
<title><fmt:message key="myKey"/></title>
</head>
<body>
</body>
</html>

Thanks for infos.

marc



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

I would have bet that this issue has been proposed several times. But as the JIRA entry is a "new feature" request, i doubt so. I am really wondering how all the other people handle this.

0

Please sign in to leave a comment.