source: vanHelsing/trunk/gui/WebContent/viewConfig.jspx@ 1096

Last change on this file since 1096 was 856, checked in by tobias, on Apr 1, 2010 at 2:06:38 PM

visual design change. ValidationParser added

File size: 4.1 KB
Line 
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
8 <jsp:directive.page contentType="text/html;charset=utf-8" />
9
10<f:view>
11 <ice:outputDeclaration doctypeRoot="HTML"
12 doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN"
13 doctypeSystem="http://www.w3.org/TR/html4/loose.dtd" />
14 <html>
15 <head>
16 <ice:outputStyle href="./xmlhttp/css/rime/rime.css" />
17 <title>van Helsing</title>
18 </head>
19
20 <body>
21 <h1 style="color:grey">van Helsing</h1>
22 <ice:panelDivider dividerPosition="45" style="float:left; height:85%">
23 <f:facet name="first" style="height:85%">
24 <ice:panelGroup style="exampleBox;float:left;width:350px; height:85%">
25 <ice:form>
26 <ice:tree id="baum"
27 value="#{configurationBean.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> -->
42 <!-- styleClass="selectedNode#{item.userObject eq treeController.selectedUserObject}"
43 style="display: inline" > -->
44 <ice:commandLink actionListener="#{configurationBean.userObjectItemNodeSelected}">
45 <f:param name="userObject.resId" value="#{item.userObject.userObject.resId}"/>
46 <ice:outputText id="knoten" value="#{item.userObject.userObject.value}"/>
47 </ice:commandLink>
48 <!-- </ice:panelGroup> -->
49 </f:facet>
50 </ice:treeNode>
51 </ice:tree>
52 </ice:form>
53 </ice:panelGroup>
54 </f:facet>
55 <f:facet name="second">
56
57 <ice:panelGroup style="float:left;margin: 0; padding: 0" >
58 <ice:panelGroup rendered="#{configurationBean.selectedObject != null}">
59 <ice:commandButton id="newRes"
60 value="Neu2"
61 actionListener="#{configurationBean.newResourceButtonListener}"/>
62 <ice:commandButton id="saveRes"
63 value="Speichern"
64 actionListener="#{configurationBean.saveButtonListener}"/>
65 </ice:panelGroup>
66
67 <ice:panelGrid cellpadding="0" cellspacing="3"
68 columns="2" rendered="#{configurationBean.selectedObject != null}">
69 <ice:form>
70 <ice:dataTable
71 var="item"
72 value="#{configurationBean.selectedObject}"
73 >
74 <ice:column>
75 <f:facet name="header">
76 <ice:outputText value="Key" />
77 </f:facet>
78 <ice:outputText value="#{item.key}" />
79 </ice:column>
80 <ice:column>
81 <f:facet name="header">
82 <ice:outputText value="Value" />
83 </f:facet>
84 <ice:inputText rendered="#{item.inputText != null}" partialSubmit="true" value="#{item.keyValue}" />
85 <ice:selectOneMenu id="SlctCompTyp" rendered="#{item.inputSelectOne != null}" valueChangeListener="#{selectionTags.effectChangeListener}"
86 value="#{selectionTags.selectedComponent}" partialSubmit="true">
87 <f:selectItems id="SlctcompTypeItms" value="#{selectionTags.componentItems}"/>
88 </ice:selectOneMenu>
89 </ice:column>
90
91 </ice:dataTable>
92 </ice:form>
93 </ice:panelGrid>
94 </ice:panelGroup>
95 </f:facet>
96 </ice:panelDivider>
97 <ice:panelDivider style="float:left; width:450px; height:85%">
98 <f:facet name="first"></f:facet>
99 <f:facet name="second">blub</f:facet>
100 </ice:panelDivider>
101 <ice:form>
102 <ice:messages/>
103 </ice:form>
104 </body>
105 </html>
106</f:view>
107</jsp:root>
Note: See TracBrowser for help on using the repository browser.