<?xml version="1.0" encoding="UTF-8"?>
<mapping>
	<actions>
		<!-- Unicity -->
		<action path="unicity" class="com.edeal.frontline.controller.actions.UnicityAction" allowAnonymous="false" loginPage="/login_ajax.jsp">
			<forward code="success" page="/common/unicity/unicity.jsp"/>
		</action>
		<!-- Recuperation de la ville -->
		<action path="city" class="com.edeal.frontline.controller.actions.RetrieveCityAction" allowAnonymous="false" loginPage="/login_ajax.jsp">
			<forward code="success" page="/common/city/city.jsp"/>
		</action>
		<!-- Ajax label recuperation -->
		<action path="retrieveLabelAjax" class="com.edeal.frontline.controller.actions.RetrieveLabelAjax" allowAnonymous="false" loginPage="/login_ajax.jsp">
			<forward code="success" page="/common/labelAjax.jsp"/>
		</action>
		
		<!-- General ajax actions -->
		<action path="delete_object_ajax" class="com.edeal.frontline.controller.actions.DeleteAction" allowAnonymous="false" loginPage="/login_ajax.jsp">
			<forward code="success" page="/common/blank_ajax.jsp"/>
			<forward code="failure" page="/errors/failure_report_ajax.jsp"/>
		</action>
		<action path="save_object_ajax" class="com.edeal.frontline.controller.actions.SaveAction" allowAnonymous="false" loginPage="/login_ajax.jsp">
			<forward code="success" page="/common/blank_ajax.jsp"/>
			<forward code="failure" page="/errors/failure_report_ajax.jsp"/>
		</action>
		<action path="save_object_iteration_ajax" class="com.edeal.frontline.controller.actions.SaveAction" allowAnonymous="false" loginPage="/login_ajax.jsp">
			<forward code="success" page="/common/objectIterationAjax.jsp"/>
			<forward code="failure" page="/errors/failure_report_ajax.jsp"/>
		</action>
		<action path="delete" class="com.edeal.frontline.controller.actions.DeleteAction" allowAnonymous="false" loginPage="/login_ajax.jsp">
			<forward code="success" page="/common/redirect_ajax.jsp"/>
			<forward code="failure" page="/errors/failure_report_ajax.jsp"/>
		</action>
		<action path="save_actionbar_css" class="com.edeal.frontline.controller.actions.SaveActionbarCssAction" allowAnonymous="false" loginPage="/login_ajax.jsp">
			<forward code="success" page="/common/blank_ajax.jsp"/>
		</action>
		<action path="save_object_ajax_with_report" class="com.edeal.frontline.controller.actions.SaveAjaxAction" allowAnonymous="false" loginPage="/login_ajax.jsp">
			<forward code="success" page="/common/blank_ajax.jsp"/>
			<forward code="success_html" page="/common/blank_ajax.jsp"/>
			<forward code="failure" page="/errors/failure_report_ajax_json.jsp"/>
		</action>
	</actions>
</mapping>
