Tobias Bocanegra created JCRVLT-207:
---------------------------------------
Summary: make auto-import package a analyzer work with htl scripts
Key: JCRVLT-207
URL: https://issues.apache.org/jira/browse/JCRVLT-207
Project: Jackrabbit FileVault
Issue Type: Improvement
Reporter: Tobias Bocanegra
if a htl script references a use class, it should be included as import package
dependency. eg:
{code}
<!doctype html>
<html lang=“en-US”>
<head>
<meta http-equiv=“Content-Type” content=“text/html; charset=utf-8”>
<title>Default Page Title</title>
<body>
<div class=“joke” data-sly-use.jokeModel=“org.adapto.core.models.JokeModel”>
<h1>${jokeModel.caption}</h1>
<p>${jokeModel.joke}</p>
</div>
</body>
</html>
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)