uCosminexus Portal Framework ポートレット開発ガイド
新規ウィンドウ画面へのリンクを表示する日立APIポートレットのソース(default.jsp)のコーディング例を次に示します。
- コーディング例(default.jsp)
<%@ page contentType="text/html; charset=Shift_JIS" %> <%@ page import="jp.co.hitachi.soft.portal.portlet.beans.PortletInfoBean" %> <%@ page import="jp.co.hitachi.soft.portal.portlet.PortletURI" %> <%@ taglib uri="http://soft.hitachi.co.jp/portal/utils" prefix="ut" %> <H1>デフォルト画面</H1> <% PortletInfoBean configBean = new PortletInfoBean(); configBean.initBean(request); %> <!% メール新規作成画面を新規ウィンドウ画面モードで表示するリンク %> <A HREF="<ut:portletURI name="<%=configBean.getName()%>" mode="<%=PortletInfoBean.Mode.NEWWINDOW.toString()%>" parameter="controller=NEWMAIL" />" target="_blank">メール新規作成</A>
All Rights Reserved. Copyright (C) 2009, 2013, Hitachi, Ltd.
All Rights Reserved. Copyright (C) 2009, 2013, Hitachi INS Software, Ltd.