コンテンツエリア開始

Function documentation jsp ファイルの修正  Locate the document in its SAP Library structure

用途

この機能を使用すると、jsp ファイルを修正することができます。

アクティビティ

...

       1.      関連の .jsp ファイルをアプリケーションでコピーします。

この例では、help_left_support.jsp を使用します。

       2.      以下の変更を行います。

                            a.      CheckAgent.do RequestHelp.do に置き換えます。

                            b.      email.jsp をアクションに変換します。

修正後の .jsp ファイルは以下のような構文になります。

Syntax

<%@ page language="java" %>

<%@ taglib uri="/WEB-INF/isa.tld" prefix="isa" %>

<%@ taglib uri="/WEB-INF/tlds/cic.tld" prefix="cic" %>

<html>

<head>

<cic:base/>

<title><isa:translate key="cic.customer.common.title"/></title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-

8859-1">

<link rel="stylesheet" href="<isa:mimeURL name="b2b/css/b2b.css" />" >

</head>

<body class="help">

<div id="new-doc" class="module">

<div class="module-name-new">help-secondaryNav</div>

<ul>

<li><a href="<isa:webappsURL name="ecall/customer/RequestHelp.do?action=email"/>" target="help_right"><isa:translate key="cic.customer.common.supportEMail"/></a></li>

<li><a href="<isa:webappsURL

name="ecall/customer/RequestHelp.do?action=chatroom"/>"

target="help_right"><isa:translate

key="cic.customer.common.supportChat"/></a></li>

</ul>

</div>

</body>

</html>

       3.      RequestHelp.do 情報を config.xml ファイルに挿入します。

Syntax

<!-- check help request -->

<action   path="/ecall/customer/RequestHelp" type="com.mycompany.

internetsales.event.CaptureRequestHelpAction"

scope="request">

<forward name="success" path="/ecall/customer/CheckAgent.do" />

<forward name="email" path="/ecall/jsp/customer/email/email.jsp" />

</action>

参照:

イベントの登録

 

 

コンテンツエリア終了