IM-Workflow¶
- 画面(jsp/html)に対して、UI対応を行います。
- 必要に応じてtheme-head-only-path-config設定を行います。
- ロジック(java/js)に対して、API対応を行います。
画面(jsp/html)対応¶
htmlタグを削除
bodyタグを削除
headタグを置き換える
- Jsp Tag → <imui:head>
- Script Tag → <imart type=”head”>
form の target を変更
- target=”IM_MAIN” → target=”_top”
theme-head-only-path-config設定¶
コンテンツのみ表示したい画面に対し、theme-head-only-path-config設定を行います。
- 詳細画面など、別ウィンドウで表示する画面が該当します。
intra-mart Accel Platform のサンプルの設定例を以下に示します。
- <CONTEXT_PATH>/WEB-INF/conf/theme-head-only-path-configsample-im_workflow.xml
<?xml version="1.0" encoding="UTF-8"?> <theme-head-only-path-config xmlns="http://www.intra-mart.jp/theme/theme-head-only-path-config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.intra-mart.jp/theme/theme-head-only-path-config theme-head-only-path-config.xsd"> <path>sample/im_workflow/purchase/plugin/authority/item_total/itemTotalConfig</path> <path>sample/im_workflow/purchase/screen/detail</path> <path>/sample/im_workflow/purchase/screen/detail</path> <path>/imw_sample_purchase-detail.service</path> <path>/imw_sample_purchase-authority_item_total.service</path> </theme-head-only-path-config><path>タグに、別ウィンドウで表示するコンテンツのパスを指定します。
- im-JavaEE Frameworkの場合は サービスフレームワークのパス /****.service
- スクリプト開発モデルの場合は ぺージのパス ****/****/**** (拡張子なし)
<path>タグには、正規表現が利用可能です。
ロジック(java/js)対応¶
ロジック(java/js)に対し、API対応を行ってください。
コラム
java/js内で、削除されたAPIを使っていなければ、修正無しで動作させることができます。