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

Last change on this file since 961 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
RevLine 
[830]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>
[856]16 <ice:outputStyle href="./xmlhttp/css/rime/rime.css" />
17 <title>van Helsing</title>
[830]18 </head>
[832]19
[830]20 <body>
[856]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%">
[830]25 <ice:form>
[832]26 <ice:tree id="baum"
27 value="#{configurationBean.tree}"
28 var="item"
29 hideRootNode = "false"
[854]30 hideNavigation ="false"
31 imageDir = "css/images/">
[832]32
33 <ice:treeNode id="knoten">
[848]34 <f:facet name="icon">
[854]35 <ice:panelGroup style="display: inline" >
36 <ice:graphicImage
37 value="/css/images/#{item.userObject.icon}"/>
38 </ice:panelGroup>
[848]39 </f:facet>
[832]40 <f:facet name="content">
[854]41 <!-- <ice:panelGroup> -->
42 <!-- styleClass="selectedNode#{item.userObject eq treeController.selectedUserObject}"
43 style="display: inline" > -->
44 <ice:commandLink actionListener="#{configurationBean.userObjectItemNodeSelected}">
[848]45 <f:param name="userObject.resId" value="#{item.userObject.userObject.resId}"/>
[844]46 <ice:outputText id="knoten" value="#{item.userObject.userObject.value}"/>
[848]47 </ice:commandLink>
[854]48 <!-- </ice:panelGroup> -->
[832]49 </f:facet>
50 </ice:treeNode>
51 </ice:tree>
[830]52 </ice:form>
[832]53 </ice:panelGroup>
[854]54 </f:facet>
55 <f:facet name="second">
56
57 <ice:panelGroup style="float:left;margin: 0; padding: 0" >
[856]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
[849]67 <ice:panelGrid cellpadding="0" cellspacing="3"
68 columns="2" rendered="#{configurationBean.selectedObject != null}">
[854]69 <ice:form>
[849]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>
[856]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>
[849]89 </ice:column>
[854]90
91 </ice:dataTable>
[856]92 </ice:form>
[849]93 </ice:panelGrid>
94 </ice:panelGroup>
[854]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>
[832]101 <ice:form>
102 <ice:messages/>
103 </ice:form>
[830]104 </body>
105 </html>
106</f:view>
107</jsp:root>
Note: See TracBrowser for help on using the repository browser.