| 1 | <?xml version="1.0" encoding="utf-8" ?>
|
|---|
| 2 | <jsp:root version="1.2"
|
|---|
| 3 | xmlns:jsp="http://java.sun.com/JSP/Page"
|
|---|
| 4 | xmlns:f="http://java.sun.com/jsf/core"
|
|---|
| 5 | xmlns:h="http://java.sun.com/jsf/html"
|
|---|
| 6 | xmlns:ice="http://www.icesoft.com/icefaces/component">
|
|---|
| 7 | <jsp:directive.page contentType="text/html;charset=utf-8" />
|
|---|
| 8 | <f:view>
|
|---|
| 9 | <ice:outputDeclaration doctypeRoot="HTML" doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN" doctypeSystem="http://www.w3.org/TR/html4/loose.dtd"/>
|
|---|
| 10 | <html>
|
|---|
| 11 | <head>
|
|---|
| 12 | <title>Van Helsing</title>
|
|---|
| 13 | <ice:outputStyle href="./xmlhttp/css/rime/rime.css" />
|
|---|
| 14 | <ice:outputStyle href="./css/tree.css" />
|
|---|
| 15 |
|
|---|
| 16 | </head>
|
|---|
| 17 | <body>
|
|---|
| 18 | <ice:outputText style="color:grey; font-size:32px" value="Van Helsing"/>
|
|---|
| 19 | <ice:form>
|
|---|
| 20 |
|
|---|
| 21 | <ice:panelTabSet>
|
|---|
| 22 | <ice:panelTab label="Configuration">
|
|---|
| 23 |
|
|---|
| 24 | <ice:panelDivider style="height:600px;width:95%" dividerPosition="30">
|
|---|
| 25 | <f:facet name="first">
|
|---|
| 26 | <ice:tree id="baum"
|
|---|
| 27 | value="#{configurationBean.dataTree.tree}"
|
|---|
| 28 | var="item"
|
|---|
| 29 | hideRootNode = "false"
|
|---|
| 30 | hideNavigation ="false"
|
|---|
| 31 | imageDir = "css/images/">
|
|---|
| 32 |
|
|---|
| 33 | <ice:treeNode id="knoten">
|
|---|
| 34 | <f:facet name="icon">
|
|---|
| 35 | <ice:panelGroup style="display: inline" >
|
|---|
| 36 | <ice:graphicImage
|
|---|
| 37 | value="/css/images/#{item.userObject.icon}"/>
|
|---|
| 38 | </ice:panelGroup>
|
|---|
| 39 | </f:facet>
|
|---|
| 40 | <f:facet name="content">
|
|---|
| 41 | <!--<ice:panelGroup styleClass="selectedNode#{item.userObject.userObject.resId eq configurationBean.selectedId} selectedComponent#{item.userObject.selected}"
|
|---|
| 42 | style="display:inline" > -->
|
|---|
| 43 |
|
|---|
| 44 | <ice:commandLink actionListener="#{configurationBean.renderResource}">
|
|---|
| 45 | <f:param name="userObject.resId" value="#{item.userObject.userObject.resId}"/>
|
|---|
| 46 | <f:param name="userObject.resName" value="#{item.userObject.userObject.resName}" />
|
|---|
| 47 | <ice:outputText id="knoten" value="#{item.userObject.userObject.resName}"/>
|
|---|
| 48 | </ice:commandLink>
|
|---|
| 49 | <!--</ice:panelGroup> -->
|
|---|
| 50 | </f:facet>
|
|---|
| 51 | </ice:treeNode>
|
|---|
| 52 | </ice:tree>
|
|---|
| 53 | </f:facet>
|
|---|
| 54 | <f:facet name="second">
|
|---|
| 55 | <f:subview id="selectedResource" >
|
|---|
| 56 | <jsp:directive.include file="/selectedResource.jspx" />
|
|---|
| 57 | </f:subview>
|
|---|
| 58 | </f:facet>
|
|---|
| 59 | </ice:panelDivider>
|
|---|
| 60 |
|
|---|
| 61 | <ice:panelGroup style="float:top">
|
|---|
| 62 | <ice:commandButton id="newClient"
|
|---|
| 63 | value="create client"
|
|---|
| 64 | actionListener="#{configurationBean.newClientButtonListener}" />
|
|---|
| 65 |
|
|---|
| 66 | <ice:commandButton id="reloadRes"
|
|---|
| 67 | value="reload Tree"
|
|---|
| 68 | actionListener="#{configurationBean.reloadResourceButtonListener}" />
|
|---|
| 69 |
|
|---|
| 70 | <ice:commandButton id="saveRes"
|
|---|
| 71 | value="update resource"
|
|---|
| 72 | actionListener="#{configurationBean.saveButtonListener}"/>
|
|---|
| 73 |
|
|---|
| 74 | <ice:commandButton id="deleteRes"
|
|---|
| 75 | value="delete resource"
|
|---|
| 76 | actionListener="#{configurationBean.deleteResourceButtonListener}" />
|
|---|
| 77 | </ice:panelGroup>
|
|---|
| 78 |
|
|---|
| 79 | </ice:panelTab>
|
|---|
| 80 |
|
|---|
| 81 | <ice:panelTab label="Job / Schedule">
|
|---|
| 82 | <ice:commandButton id="createNode"
|
|---|
| 83 | value="create"
|
|---|
| 84 | actionListener="#{jobScheduleBean.createNodeListener}" />
|
|---|
| 85 |
|
|---|
| 86 | <ice:commandButton id="updateNode"
|
|---|
| 87 | value="update"
|
|---|
| 88 | actionListener="#{jobScheduleBean.updateNodeListener}" />
|
|---|
| 89 |
|
|---|
| 90 | <ice:commandButton id="deleteNode"
|
|---|
| 91 | value="delete" actionListener="#{jobScheduleBean.deleteNodeListener}">
|
|---|
| 92 | <f:param name="userObject.resId" value="#{item.userObject.userObject.resId}"/>
|
|---|
| 93 | <f:param name="userObject.resName" value="#{item.userObject.userObject.resName}" />
|
|---|
| 94 | </ice:commandButton>
|
|---|
| 95 | <ice:commandButton id="reloadTree"
|
|---|
| 96 | value="reloadTree"
|
|---|
| 97 | actionListener="#{jobScheduleBean.reloadTreeListener}" />
|
|---|
| 98 |
|
|---|
| 99 | <ice:panelDivider style="height:600px;width:85%" dividerPosition="30">
|
|---|
| 100 | <f:facet name="first">
|
|---|
| 101 | <ice:tree id="baum2"
|
|---|
| 102 | value="#{jobScheduleBean.dataTree.tree}"
|
|---|
| 103 | var="item"
|
|---|
| 104 | hideRootNode = "false"
|
|---|
| 105 | hideNavigation ="false"
|
|---|
| 106 | imageDir = "css/images/">
|
|---|
| 107 | <ice:treeNode id="knoten">
|
|---|
| 108 | <f:facet name="icon">
|
|---|
| 109 | <ice:panelGroup style="display: inline" >
|
|---|
| 110 | <ice:graphicImage
|
|---|
| 111 | value="/css/images/#{item.userObject.icon}"/>
|
|---|
| 112 | </ice:panelGroup>
|
|---|
| 113 | </f:facet>
|
|---|
| 114 | <f:facet name="content">
|
|---|
| 115 | <ice:commandLink actionListener="#{jobScheduleBean.selectNode}">
|
|---|
| 116 | <f:param name="userObject.resId" value="#{item.userObject.userObject.resId}"/>
|
|---|
| 117 | <f:param name="userObject.resName" value="#{item.userObject.userObject.resName}" />
|
|---|
| 118 | <ice:outputText id="knoten" value="#{item.userObject.userObject.resName}" />
|
|---|
| 119 | </ice:commandLink>
|
|---|
| 120 | </f:facet>
|
|---|
| 121 | </ice:treeNode>
|
|---|
| 122 | </ice:tree>
|
|---|
| 123 | </f:facet>
|
|---|
| 124 | <f:facet name="second">
|
|---|
| 125 | </f:facet>
|
|---|
| 126 | </ice:panelDivider>
|
|---|
| 127 | </ice:panelTab>
|
|---|
| 128 |
|
|---|
| 129 | <ice:panelTab label="Topology">
|
|---|
| 130 | </ice:panelTab>
|
|---|
| 131 |
|
|---|
| 132 | <ice:panelTab label="Dependencies">
|
|---|
| 133 | </ice:panelTab>
|
|---|
| 134 | </ice:panelTabSet>
|
|---|
| 135 |
|
|---|
| 136 | </ice:form>
|
|---|
| 137 | <ice:form>
|
|---|
| 138 | <ice:messages />
|
|---|
| 139 | </ice:form>
|
|---|
| 140 | </body>
|
|---|
| 141 | </html>
|
|---|
| 142 | </f:view>
|
|---|
| 143 | </jsp:root> |
|---|