source: vanHelsing/branches/guitechdemo/WebContent/viewConfig.jspx@ 1115

Last change on this file since 1115 was 849, checked in by tobias, on Mar 23, 2010 at 3:01:06 PM

configView with item data

File size: 2.3 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 <title>vanHelsing GUI</title>
17 </head>
18
19 <body>
20
21 <ice:panelGroup style="float:left; width:20%; background-color=blue">
22 <ice:form>
23 <ice:tree id="baum"
24 value="#{configurationBean.tree}"
25 var="item"
26 hideRootNode = "false"
27 hideNavigation ="false">
28
29 <ice:treeNode id="knoten">
30 <f:facet name="icon">
31 </f:facet>
32 <f:facet name="content">
33 <ice:commandLink actionListener="#{configurationBean.userObjectItemNodeSelected}">
34 <f:param name="userObject.resId" value="#{item.userObject.userObject.resId}"/>
35 <ice:outputText id="knoten" value="#{item.userObject.userObject.value}"/>
36 </ice:commandLink>
37 </f:facet>
38 </ice:treeNode>
39 </ice:tree>
40 </ice:form>
41 </ice:panelGroup>
42 <ice:panelGroup style="margin: 0; padding: 0;width:350px;" >
43 <ice:panelGrid cellpadding="0" cellspacing="3"
44 columns="2" rendered="#{configurationBean.selectedObject != null}">
45 <ice:dataTable
46 var="item"
47 value="#{configurationBean.selectedObject}"
48 >
49 <ice:column>
50 <f:facet name="header">
51 <ice:outputText value="Key" />
52 </f:facet>
53 <ice:outputText value="#{item.key}" />
54 </ice:column>
55 <ice:column>
56 <f:facet name="header">
57 <ice:outputText value="Value" />
58 </f:facet>
59 <ice:outputText value="#{item.keyValue}" />
60 </ice:column>
61 </ice:dataTable>
62 </ice:panelGrid>
63 </ice:panelGroup>
64 <ice:form>
65 <ice:messages/>
66 </ice:form>
67 </body>
68 </html>
69</f:view>
70</jsp:root>
Note: See TracBrowser for help on using the repository browser.