<%--
* Licensed Materials - Property of Rogue Wave Software, Inc.
* © Copyright Rogue Wave Software, Inc. 2014, 2017
* © Copyright IBM Corp. 2009, 2014
* © Copyright ILOG 1996, 2009
* All Rights Reserved.
*
* Note to U.S. Government Users Restricted Rights:
* The Software and Documentation were developed at private expense and
* are "Commercial Items" as that term is defined at 48 CFR 2.101,
* consisting of "Commercial Computer Software" and
* "Commercial Computer Software Documentation", as such terms are
* used in 48 CFR 12.212 or 48 CFR 227.7202-1 through 227.7202-4,
* as applicable.
--%>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib
uri="http://www.ilog.com/jviews/tlds/jviews-diagrammer-faces.tld"
prefix="jvdf"%>
<f:view>
<f:loadBundle basename="messages" var="msg" />
<html>
<head>
<title><h:outputText value="#{msg.code15Title}"/></title>
<link href="data/style.css" rel="stylesheet" type="text/css" />
<meta content="no-cache" http-equiv="Cache-Control" />
<meta content="no-cache" http-equiv="Pragma" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body bgcolor="white">
<h1><h:outputText value="#{msg.code15H1}"/></h1>
<p class="text"><h:outputText value="#{msg.code15P1}"/></p>
<ul>
<li class="text"><h:outputText value="#{msg.code15li1}"/></li>
<li class="text"><h:outputText value="#{msg.code15li2}"/></li>
</ul>
<h:form id="form">
<jvdf:selectInteractor id="selectInterator" />
<h:panelGrid columns="1" bgcolor="#FFFFFF" styleClass="tableStyle">
<jvdf:diagrammerView id="diagrammer" style="width:600px;height:350px"
interactorId="selectInterator" data="/data/genealogy.idpr"
waitingImage="images/wait.gif" messageBoxId="messages"
backgroundColor="#FFFFFF">
<f:facet name="selectionManager">
<jvdf:selectionManager id="selectionManager" imageMode="false"
lineColor="#ff0000" lineWidth="2"
forceUpdateProperties="true" />
</f:facet>
</jvdf:diagrammerView>
<h:panelGrid columns="1" styleClass="tableStyle" columnClasses="tcd">
<h:outputText value="#{msg.code15GraphicFeedback}" styleClass="text" />
<h:panelGrid columns="2" bgcolor="#FFFFFF" styleClass="tableStyle"
columnClasses="tcd">
<h:selectBooleanCheckbox id="image_mode"
onclick="selectInterator.setImageMode(this.checked)" />
<h:outputText value="#{msg.code15ImageMode}" styleClass="text" />
</h:panelGrid>
</h:panelGrid>
</h:panelGrid>
</h:form>
</body>
</html>
</f:view>