source: vanHelsing/trunk/gui/WebContent/menu.jspx@ 988

Last change on this file since 988 was 879, checked in by slederer, on Jun 4, 2010 at 5:33:59 PM

Beginn der Überarbeitung des GUI-Layouts

File size: 3.0 KB
RevLine 
[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>
[879]20 <!-- <ice:panelGroup style="float:top"> -->
21 <ice:panelLayout layout="flow">
22 <ice:commandButton id="newClient"
23 value="create client"
24 actionListener="#{configurationBean.newClientButtonListener}" />
25
26 <ice:commandButton id="reloadRes"
27 value="reload Tree"
28 actionListener="#{configurationBean.reloadResourceButtonListener}" />
29
30 <ice:commandButton id="saveRes"
31 value="update resource"
32 actionListener="#{configurationBean.saveButtonListener}"/>
33
34 <ice:commandButton id="deleteRes"
35 value="delete resource"
36 actionListener="#{configurationBean.deleteResourceButtonListener}" />
37 </ice:panelLayout>
38
39 <ice:panelDivider style="height:600px;width:95%" dividerPosition="30">
[856]40 <f:facet name="first">
41 <ice:tree id="baum"
[868]42 value="#{configurationBean.dataTree.tree}"
[856]43 var="item"
44 hideRootNode = "false"
45 hideNavigation ="false"
46 imageDir = "css/images/">
47
48 <ice:treeNode id="knoten">
49 <f:facet name="icon">
50 <ice:panelGroup style="display: inline" >
51 <ice:graphicImage
52 value="/css/images/#{item.userObject.icon}"/>
53 </ice:panelGroup>
54 </f:facet>
55 <f:facet name="content">
[868]56 <!--<ice:panelGroup styleClass="selectedNode#{item.userObject.userObject.resId eq configurationBean.selectedId} selectedComponent#{item.userObject.selected}"
57 style="display:inline" > -->
[858]58
[868]59 <ice:commandLink actionListener="#{configurationBean.renderResource}">
[856]60 <f:param name="userObject.resId" value="#{item.userObject.userObject.resId}"/>
[868]61 <f:param name="userObject.resName" value="#{item.userObject.userObject.resName}" />
62 <ice:outputText id="knoten" value="#{item.userObject.userObject.resName}"/>
[867]63 </ice:commandLink>
[868]64 <!--</ice:panelGroup> -->
[856]65 </f:facet>
66 </ice:treeNode>
67 </ice:tree>
68 </f:facet>
69 <f:facet name="second">
[872]70 <f:subview id="selectedResource" >
71 <jsp:directive.include file="/selectedResource.jspx" />
72 </f:subview>
[856]73 </f:facet>
74 </ice:panelDivider>
[872]75
[856]76 </ice:form>
77 <ice:form>
78 <ice:messages />
79 </ice:form>
80 </body>
81 </html>
82</f:view>
[879]83</jsp:root>
Note: See TracBrowser for help on using the repository browser.