<%@ page import="com.gridnine.xtrip.common.rules.RulesEnvironment" %>
<%@ page import="com.gridnine.xtrip.common.rules.elements.RuleProperty" %>
<%@ page import="com.gridnine.xtrip.common.rules.elements.RuleCondition" %>
<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.Collections" %>
<%@ page import="java.util.Comparator" %>
<%@ page import="com.gridnine.xtrip.common.util.TextUtil" %>
<%@ page import="java.io.File" %>
<%@ page import="org.apache.commons.io.FileUtils" %>
<%@ page import="com.gridnine.xtrip.common.rules.elements.RuleAction" %>
<%@ page import="com.gridnine.xtrip.common.l10n.model.LocaleHelper" %>
<%@ page import="com.gridnine.xtrip.common.l10n.model.LocaleManager" %>
<%@ page language="java" pageEncoding="UTF-8"%>
<%
	LocaleManager.get().setCurrentLocale(LocaleHelper.RU_LOCALE);
	RuleAction action= RulesEnvironment.get().findAction(request.getParameter("actionId"));
%>
<h2>Описание действия <%=action.getDisplayName()%></h2>

<%
File commentFile = new File(session.getServletContext().getRealPath("/")+"elements/actions/"+action.getId()+".html");
if(commentFile.exists()){
		out.print(FileUtils.readFileToString(commentFile, "UTF-8"));
	}
%>