2020年12月24日星期四

Intra-mart IAP menu setting

 1.routing setting

  path: %resin_home%\webapps\%project_name%\WEB-INF\conf\routing-jssp-config\project_name.xml
example:

<?xml version="1.0" encoding="UTF-8"?>
<routing-jssp-config
  xmlns="http://www.intra-mart.jp/router/routing-jssp-config"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.intra-mart.jp/router/routing-jssp-config routing-jssp-config.xsd ">

  <!-- <authz-default uri="service://test/manager" action="execute"/> -->
  <!--file exist confirm: WEB-INF/jssp/src/test/common/search.html,search.js -->
  <file-mapping path="/test/common/search" page="/test/common/search">
    <authz uri="service://test/manager" action="execute" />
  </file-mapping>

</routing-jssp-config>

 2.Auth setting

open menu Auth(認可) -> select resource catalog: pages ->  start auth setting -> 
new a resouce named "test Manager"



3.menu item setting

open menu -> new a menu item with url:"test/common/search".
attention: no "/" before "test/", and no "jssp" after search





4.mapping menu item  and resources

make the mapping relationship between the menu item and resource
by click auth-setting in the menu item page, after the URL textbox.



没有评论: