<%-- 
 * Licensed Materials - Property of Perforce Software, Inc.
 * © Copyright Perforce Software, Inc. 2014, 2018
 * © 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-8pageEncoding="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-faces.tld" prefix="jv%>
<%@ taglib uri="http://www.ilog.com/jviews/tlds/jviews-diagrammer-faces.tld" prefix="jvdf%>

<f:view>
<f:loadBundle basename="messagesvar="msg/>
        <html>
          <head>
            <title><h:outputText value="#{msg.code17Title}"/></title>
                  <link href="data/style.cssrel="stylesheettype="text/css/>
                  <meta content="no-cachehttp-equiv="Cache-Control/>
            <meta content="no-cachehttp-equiv="Pragma/>
            <meta http-equiv="Content-Typecontent="text/html; charset=UTF-8/>
          </head>
        
          <body bgcolor="white">
        
            <h1><h:outputText value="#{msg.code17H1}"/></h1>
        
            <p class="text"><h:outputText value="#{msg.code17P1}"/></p>
        
              <script>
                var isChangeSelect ="empty");
                            return;
                          }
                          // get a copy of properties of the first selected object
                          var properties ="ilv"
                          for (var propertyName in properties) {
                            var oldValue ="ivl+ oldValue; 
                          }
                          // set back properties on the first selected object
                          selection[0].setObjectProperties(properties);
                          isChangeSelect ="form">
        
                <jvdf:selectInteractor id="selectInterator"/>
        
                <jvdf:diagrammerView id="diagrammerstyle="width:600px;height:350px"
                                            interactorId="selectInteratordata="/data/genealogy.idpr"
                                            waitingImage="images/wait.gifmessageBoxId="messages"
                                            backgroundColor="#FFFFFFeditable="true">
                  <f:facet name="selectionManager">
                    <jvdf:selectionManager id="selectionManager"
                                           propertyAccessor="#{diagrammerBean.propertyAccessor}"
                                           onSelectionChanged="selectChanged();"
                                           imageMode="falselineColor="#ff0000"  
                                           lineWidth="2forceUpdateProperties="true"/>
                  </f:facet>                                
                </jvdf:diagrammerView>
                
                <h:commandButton id="commitvalue="#{msg.code17commit}onclick="getProperties();diagrammer.getSelectionManager().commitSelectionProperties(true); return false;"/>
                <jv:messageBox height="22width="600id="messages/>  
              </h:form>
        
          </body>
        </html>
</f:view>