<%@ page contentType="text/html;charset=UTF-8pageEncoding="UTF-8"%>
<!--
 * Copyright (c) Rogue Wave Software, Inc. 1997, 2015
 * All rights reserved.
 -->
<%@ 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="messagesvar="msg/>
        <html>
          <head>
            <title><h:outputText value="#{msg.code18Title}"/></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.code18H1}"/></h1>
        
            <p class="text"><h:outputText value="#{msg.code18P1}"/></p>
            <p class="text"><h:outputText value="#{msg.code18P2}"/></p>
        
                    <script>
                        function getProperties(selection) {
                          if (selection.length ="ilv"
                          for (var propertyName in properties) {
                            var oldValue ="ivl+ oldValue; 
                          }
                          // set back properties on the first selected object
                          selection[0].setObjectProperties(properties);
                        }
                     </script>
            
              <h:form id="form">
        
                <jvdf:selectInteractor id="selectInteratordeletionAllowed="true"/>
        
                <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="getProperties(selection)" 
                                           imageMode="falselineColor="#ff0000"  
                                           lineWidth="2forceUpdateProperties="true"/>
                  </f:facet>                                
                </jvdf:diagrammerView>
           
              </h:form>
        
          </body>
        </html>

</f:view