<?xml version="1.0" encoding="UTF-8"?>
<mapping>
	<actions>
		<!-- Materiaux -->
		<!--  Lecture Materiaux -->
		<action path="read_materiel"
			class="com.edeal.frontline.controller.actions.LoadAction"
			allowAnonymous="false">
			<param name="type" value="Materiel" />			
			<display code="success" action="/marketing/materiel/read_action.jsp" body="/marketing/materiel/read.jsp" />			

		</action>
		
		<!--  Edition Materiaux -->
		<action path="edit_materiel"
			class="com.edeal.frontline.controller.actions.LoadAction"
			allowAnonymous="false">
			<param name="type" value="Materiel" />			
			<display code="success" action="/marketing/materiel/edit_action.jsp" body="/marketing/materiel/edit.jsp" />			

		</action>
		
		<!--  Creation Materiuaux -->	
		<action path="create_materiel"
			class="com.edeal.frontline.controller.actions.LoadAction"
			allowAnonymous="false">
			<param name="type" value="Materiel" />			
			<display code="success" action="/marketing/materiel/edit_action.jsp" body="/marketing/materiel/edit.jsp" />			

		</action>
		<action path="create_materiaux"
			class="com.edeal.frontline.controller.actions.LoadAction"
			allowAnonymous="false">
			<param name="type" value="Materiel" />			
			<param name="embedded" value="true"/>			
			<display code="success" action="/marketing/materiel/edit_action.jsp" body="/marketing/materiel/edit.jsp" />			

		</action>
		
		<!--  Sauvegarde Materiaux -->
		<action path="save_materiel"
			class="com.edeal.frontline.controller.actions.SaveAction"
			allowAnonymous="false">
			<param name="type" value="Materiel" />			
			<param name="embedded" value="true"/>						
			<redirect code="success" page="/read_materiel.fl" />
		</action>
		
		<!--  Suppression -->
		<action path="delete_materiel"
			class="com.edeal.frontline.controller.actions.DeleteAction"
			allowAnonymous="false">
			<param name="type" value="Materiel" />
			<redirect keepAttr="softwareOnly" code="success" page="list_criteria.fl?lc=MATERIEL"/>

		</action>
		
	</actions>
</mapping>
