[856] | 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" />
|
---|
[858] | 14 | <ice:outputStyle href="./css/tree.css" />
|
---|
[856] | 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">
|
---|
[862] | 23 |
|
---|
[868] | 24 | <ice:panelDivider style="height:600px;width:95%" dividerPosition="30">
|
---|
[856] | 25 | <f:facet name="first">
|
---|
| 26 | <ice:tree id="baum"
|
---|
[868] | 27 | value="#{configurationBean.dataTree.tree}"
|
---|
[856] | 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">
|
---|
[868] | 41 | <!--<ice:panelGroup styleClass="selectedNode#{item.userObject.userObject.resId eq configurationBean.selectedId} selectedComponent#{item.userObject.selected}"
|
---|
| 42 | style="display:inline" > -->
|
---|
[858] | 43 |
|
---|
[868] | 44 | <ice:commandLink actionListener="#{configurationBean.renderResource}">
|
---|
[856] | 45 | <f:param name="userObject.resId" value="#{item.userObject.userObject.resId}"/>
|
---|
[868] | 46 | <f:param name="userObject.resName" value="#{item.userObject.userObject.resName}" />
|
---|
| 47 | <ice:outputText id="knoten" value="#{item.userObject.userObject.resName}"/>
|
---|
[867] | 48 | </ice:commandLink>
|
---|
[868] | 49 | <!--</ice:panelGroup> -->
|
---|
[856] | 50 | </f:facet>
|
---|
| 51 | </ice:treeNode>
|
---|
| 52 | </ice:tree>
|
---|
| 53 | </f:facet>
|
---|
| 54 | <f:facet name="second">
|
---|
| 55 | <ice:panelGrid cellpadding="0" cellspacing="3"
|
---|
[868] | 56 | columns="2" rendered="#{configurationBean.selectedObject.viewItemList != null}">
|
---|
[856] | 57 | <ice:dataTable
|
---|
| 58 | var="item"
|
---|
[868] | 59 | value="#{configurationBean.selectedObject.viewItemList}"
|
---|
[856] | 60 | style="float:left,bottom; width:90%"
|
---|
| 61 | >
|
---|
| 62 | <ice:column>
|
---|
| 63 | <f:facet name="header">
|
---|
| 64 | <ice:outputText value="Key" />
|
---|
| 65 | </f:facet>
|
---|
[868] | 66 | <ice:outputText rendered="#{item.required eq true}" value="#{item.key}" />
|
---|
| 67 | <ice:outputText style="color:grey" rendered="#{item.required eq false}" value="#{item.key}" />
|
---|
[856] | 68 | </ice:column>
|
---|
| 69 | <ice:column>
|
---|
| 70 | <f:facet name="header">
|
---|
| 71 | <ice:outputText value="Value" />
|
---|
| 72 | </f:facet>
|
---|
[860] | 73 | <ice:inputText required="#{item.required eq true}" rendered="#{item.inputText != null}" partialSubmit="true" value="#{item.keyValue}" />
|
---|
[858] | 74 | <ice:panelGroup>
|
---|
| 75 | <ice:selectOneMenu id="KeyValue"
|
---|
| 76 | rendered="#{item.selectOneMenu != null}"
|
---|
| 77 | valueChangeListener="#{configurationBean.userObjectItemOptionSelected}"
|
---|
| 78 | value="#{item.keyValue}"
|
---|
| 79 | partialSubmit="true">
|
---|
| 80 | <f:selectItems id="KeyValueItems"
|
---|
| 81 | value="#{item.keyValueList}"/>
|
---|
| 82 | </ice:selectOneMenu>
|
---|
| 83 | <ice:commandButton id="newRes"
|
---|
| 84 | value="+"
|
---|
| 85 | rendered="#{item.selectOneMenu != null}"
|
---|
| 86 | actionListener="#{configurationBean.newResourceButtonListener}"/>
|
---|
| 87 | </ice:panelGroup>
|
---|
[856] | 88 | </ice:column>
|
---|
| 89 | </ice:dataTable>
|
---|
[867] | 90 | <ice:commandButton id="createResource"
|
---|
| 91 | value="save"
|
---|
| 92 | rendered="#{configurationBean.createResource eq true}"
|
---|
| 93 | actionListener="#{configurationBean.saveClientButtonListener}" />
|
---|
[856] | 94 | </ice:panelGrid>
|
---|
| 95 | </f:facet>
|
---|
| 96 | </ice:panelDivider>
|
---|
[868] | 97 | <ice:panelGroup style="float:top">
|
---|
| 98 | <ice:commandButton id="newClient"
|
---|
| 99 | value="create client"
|
---|
| 100 | actionListener="#{configurationBean.newClientButtonListener}" />
|
---|
| 101 |
|
---|
| 102 | <ice:commandButton id="newRes"
|
---|
| 103 | value="create resource"
|
---|
| 104 | actionListener="#{configurationBean.newResourceButtonListener}">
|
---|
| 105 | </ice:commandButton>
|
---|
| 106 |
|
---|
| 107 | <ice:commandButton id="reloadRes"
|
---|
| 108 | value="reload Tree"
|
---|
| 109 | actionListener="#{configurationBean.reloadResourceButtonListener}" />
|
---|
| 110 |
|
---|
| 111 | <ice:commandButton id="saveRes"
|
---|
| 112 | value="update resource"
|
---|
| 113 | actionListener="#{configurationBean.saveButtonListener}"/>
|
---|
| 114 |
|
---|
| 115 | <ice:commandButton id="deleteRes"
|
---|
| 116 | value="delete resource"
|
---|
| 117 | actionListener="#{configurationBean.deleteResourceButtonListener}" />
|
---|
| 118 | </ice:panelGroup>
|
---|
| 119 |
|
---|
[856] | 120 | </ice:panelTab>
|
---|
| 121 |
|
---|
| 122 | <ice:panelTab label="Job / Schedule">
|
---|
[862] | 123 | <ice:commandButton id="createNode"
|
---|
| 124 | value="create"
|
---|
| 125 | actionListener="#{jobScheduleBean.createNodeListener}" />
|
---|
| 126 |
|
---|
| 127 | <ice:commandButton id="updateNode"
|
---|
| 128 | value="update"
|
---|
| 129 | actionListener="#{jobScheduleBean.updateNodeListener}" />
|
---|
| 130 |
|
---|
| 131 | <ice:commandButton id="deleteNode"
|
---|
[864] | 132 | value="delete" actionListener="#{jobScheduleBean.deleteNodeListener}">
|
---|
| 133 | <f:param name="userObject.resId" value="#{item.userObject.userObject.resId}"/>
|
---|
| 134 | <f:param name="userObject.resName" value="#{item.userObject.userObject.resName}" />
|
---|
| 135 | </ice:commandButton>
|
---|
[862] | 136 | <ice:commandButton id="reloadTree"
|
---|
| 137 | value="reloadTree"
|
---|
| 138 | actionListener="#{jobScheduleBean.reloadTreeListener}" />
|
---|
| 139 |
|
---|
| 140 | <ice:panelDivider style="height:600px;width:85%" dividerPosition="30">
|
---|
| 141 | <f:facet name="first">
|
---|
| 142 | <ice:tree id="baum2"
|
---|
| 143 | value="#{jobScheduleBean.dataTree.tree}"
|
---|
| 144 | var="item"
|
---|
| 145 | hideRootNode = "false"
|
---|
| 146 | hideNavigation ="false"
|
---|
| 147 | imageDir = "css/images/">
|
---|
| 148 | <ice:treeNode id="knoten">
|
---|
| 149 | <f:facet name="icon">
|
---|
| 150 | <ice:panelGroup style="display: inline" >
|
---|
| 151 | <ice:graphicImage
|
---|
| 152 | value="/css/images/#{item.userObject.icon}"/>
|
---|
| 153 | </ice:panelGroup>
|
---|
| 154 | </f:facet>
|
---|
| 155 | <f:facet name="content">
|
---|
| 156 | <ice:commandLink actionListener="#{jobScheduleBean.selectNode}">
|
---|
| 157 | <f:param name="userObject.resId" value="#{item.userObject.userObject.resId}"/>
|
---|
[864] | 158 | <f:param name="userObject.resName" value="#{item.userObject.userObject.resName}" />
|
---|
| 159 | <ice:outputText id="knoten" value="#{item.userObject.userObject.resName}" />
|
---|
| 160 | </ice:commandLink>
|
---|
[862] | 161 | </f:facet>
|
---|
| 162 | </ice:treeNode>
|
---|
| 163 | </ice:tree>
|
---|
| 164 | </f:facet>
|
---|
| 165 | <f:facet name="second">
|
---|
| 166 |
|
---|
| 167 | </f:facet>
|
---|
| 168 | </ice:panelDivider>
|
---|
[856] | 169 | </ice:panelTab>
|
---|
| 170 |
|
---|
| 171 | <ice:panelTab label="Topology">
|
---|
| 172 | </ice:panelTab>
|
---|
| 173 |
|
---|
| 174 | <ice:panelTab label="Dependencies">
|
---|
| 175 | </ice:panelTab>
|
---|
| 176 | </ice:panelTabSet>
|
---|
| 177 |
|
---|
| 178 | </ice:form>
|
---|
| 179 | <ice:form>
|
---|
| 180 | <ice:messages />
|
---|
| 181 | </ice:form>
|
---|
| 182 | </body>
|
---|
| 183 | </html>
|
---|
| 184 | </f:view>
|
---|
| 185 | </jsp:root> |
---|