Question

I have a JSP file with tags as follows

<%@ taglib prefix="ww" uri="webwork" %>
<%@ taglib prefix="ui" uri="webwork" %>
<%@ taglib prefix="aui" uri="webwork" %>
<%@ taglib prefix="page" uri="sitemesh-page" %>
<%@ page import="com.atlassian.jira.ComponentManager" %>
<%@ page import="com.atlassian.jira.web.action.util.FieldsResourceIncluder" %>
<%@ page import="com.atlassian.plugin.webresource.WebResourceManager" %>

I need to convert this file to vm file .how to include these tags in vm file.

Was it helpful?

Solution

You can't import java tag libraries in a vm file. You can't import the classes too and you don't need it actually, you can make them available in your vm context following the instructions in the velocity development guide

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top