<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<tr:document xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"
  xmlns:f="http://java.sun.com/jsf/core" xmlns:tr="http://myfaces.apache.org/trinidad"
  xmlns:trh="http://myfaces.apache.org/trinidad/html"
  xmlns:jv="http://www.ilog.com/jviews/tlds/jviews-faces.tld"
  xmlns:jvf="http://www.ilog.com/jviews/tlds/jviews-framework-faces.tld"
  xmlns:jvdf="http://www.ilog.com/jviews/tlds/jviews-diagrammer-faces.tld">
  <f:loadBundle basename="messages" var="msg" /> 
  <trh:head title="#{msg.frameworkAndDiagTitle}"/>  
   <f:facet name="metaContainer">
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  </f:facet>
  <tr:form>
    <tr:panelTabbed position="above">
      <tr:showDetailItem text="#{msg.diagrammerDetailItem}">
        <jvdf:selectInteractor id="selectInteractor" deletionAllowed="true" />
        <jvdf:diagrammerView id="diagrammer" style="width: 600px; height: 350px"
          interactorId="selectInteractor" data="/data/diagrammer.idpr" editable="true"
          imageFormat="PNG" maxZoomLevel="3" minZoomLevel="0.5" constrainedOnContents="false"
          resizable="true" waitingImage="/images/empty.gif">
          <f:facet name="selectionManager">
            <jvdf:selectionManager id="selectionManager" imageMode="false" lineColor="#FF0000"
              lineWidth="2" forceUpdateProperties="true" />
          </f:facet>
        </jvdf:diagrammerView>
      </tr:showDetailItem>
      <tr:showDetailItem text="#{msg.frameworkDetailItem}">
        <jvf:objectSelectInteractor id="select" valueChangeListener="#{frameworkBean.selectObject}"
          invocationContext="IMAGE_SERVLET_CONTEXT" />
        <jvf:view id="view" style="width:500px;height:300px" view="#{frameworkBean.view}"
          interactorId="select" />
      </tr:showDetailItem>
    </tr:panelTabbed>
  </tr:form>
</tr:document>