Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\WEB-INF\classes\META-INF\mappings\addressNormalisation.xml
<?xml version="1.0" encoding="UTF-8"?> <mapping> <actions> <!-- Action pour recherche avancée --> <action path="check_phone" class="com.edeal.frontline.controller.actions.CheckPhoneAction" allowAnonymous="false"> <display code="succMore" action="/plugins/yellowpages/choose_phone_action.jsp" body="/plugins/yellowpages/result_search.jsp"/> <forward code="successEnt" page="/edit_enterprise.fl"/> <forward code="successPer" page="/edit_person.fl"/> </action> <action path="choose_phone" class="com.edeal.frontline.controller.actions.ChoosePhoneAction" allowAnonymous="false"> <forward code="success" page="/plugins/yellowpages/choose_phone.jsp"/> </action> <!-- Action pour validation adresse dans les formulaires --> <action path="refresh_address" class="com.edeal.frontline.controller.actions.RefreshAction" allowAnonymous="false"> <forward code="success" page="check_address.fl"/> </action> <action path="check_phone_enterprise" class="com.edeal.frontline.controller.actions.CheckPhoneEnterpriseAndPersonAction" allowAnonymous="false"> <param name="type" value="Enterprise" /> <display code="succMore" action="/plugins/yellowpages/choose_phone_action.jsp" body="/plugins/yellowpages/result_search.jsp"/> <forward code="successEnt" page="/edit_enterprise.fl"/> </action> <action path="check_phone_person" class="com.edeal.frontline.controller.actions.CheckPhoneEnterpriseAndPersonAction" allowAnonymous="false"> <param name="type" value="Person" /> <display code="succMore" action="/plugins/yellowpages/choose_phone_action.jsp" body="/plugins/yellowpages/result_search.jsp"/> <forward code="successPer" page="/edit_person.fl"/> </action> <!-- If you add address normalisation for another object, you can add use a return code like success.Bean_Type to redirect on the pages you whish (eg success.Journalist) --> <action path="check_address" class="com.edeal.frontline.controller.actions.CheckAddressAction" allowAnonymous="false"> <forward code="success.Enterprise" page="/refresh_enterprise_address.fl"/> <forward code="success.Person" page="/refresh_person_address.fl"/> <display code="success.more_choices" action="/plugins/addressnormalisation/list_adress_action.jsp" body="/plugins/addressnormalisation/address_choice.jsp"/> </action> <action path="refresh_person_address" class="com.edeal.frontline.controller.actions.RefreshAction" allowAnonymous="false"> <param name="type" value="Person" /> <display code="success" action="/sales/person/edit_action.jsp" body="/sales/person/edit.jsp" jsInclude="/js/format_tel.jsp,/js/ac/fobAC_js.jsp"/> <initializer class="com.edeal.frontline.initializers.PersonWriteInitializer" id="Person" scope="request"/> </action> <action path="refresh_enterprise_address" class="com.edeal.frontline.controller.actions.RefreshAction" allowAnonymous="false"> <param name="type" value="Enterprise" /> <display code="success" action="/sales/enterprise/edit_action.jsp" body="/sales/enterprise/edit.jsp" jsInclude="/js/ac/fobAC_js.jsp,/js/format_tel.jsp,/sales/enterprise/enterprise_js.jsp,/plugins/addressnormalisation/js/normalisation.js"/> <initializer class="com.edeal.frontline.initializers.EnterpriseInitializer" id="Enterprise" scope="request"> </initializer> </action> </actions> </mapping>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de