Pregunta

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.

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top