Ignore:
Timestamp:
Mar 5, 2010, 6:03:21 PM (14 years ago)
Author:
tobias
Message:

views and data objects of the resource types added.
basic logging with log4j for the beanUtil class.
Configuration and JobSchedule class renamed.

Location:
vanHelsing/trunk/gui/WebContent
Files:
12 added
3 edited

Legend:

Unmodified
Added
Removed
  • vanHelsing/trunk/gui/WebContent/WEB-INF/faces-config.xml

    r830 r832  
    66    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
    77    version="1.2">
     8        <managed-bean>
     9                <description>backend bean of the configuration tree view</description>
     10                <managed-bean-name>configurationBean</managed-bean-name>
     11                <managed-bean-class>de.dass_it.vanhelsing.gui.ConfigurationBean</managed-bean-class>
     12                <managed-bean-scope>session</managed-bean-scope>
     13        </managed-bean>
     14        <managed-bean>
     15                <description>backend bean of the schedule and job tree view</description>
     16                <managed-bean-name>jobScheduleBean</managed-bean-name>
     17                <managed-bean-class>de.dass_it.vanhelsing.gui.JobScheduleBean</managed-bean-class>
     18                <managed-bean-scope>session</managed-bean-scope>
     19        </managed-bean>
     20        <managed-bean>
     21                <description>backend bean of the topology (server) view</description>
     22                <managed-bean-name>topologyBean</managed-bean-name>
     23                <managed-bean-class>de.dass_it.vanhelsing.gui.TopologyBean</managed-bean-class>
     24                <managed-bean-scope>session</managed-bean-scope>
     25        </managed-bean>
    826
    927</faces-config>
  • vanHelsing/trunk/gui/WebContent/index.jsp

    r830 r832  
    11<html>
    2     <head/>
     2    <head>
     3    </head>
    34    <body>
    45        <jsp:forward page="viewConfig.iface" />
  • vanHelsing/trunk/gui/WebContent/viewConfig.jspx

    r830 r832  
    1414    <html>
    1515            <head>
    16                    <title>ICEfaces, Ajax for Java EE</title>
    17            <link rel="stylesheet" type="text/css" href="./xmlhttp/css/rime/rime.css" />
     16                   <title>vanHelsing GUI</title>
    1817                </head>
     18
    1919                <body>
    20                     <ice:outputText value="Welcome to ICEfaces." />         
     20               
     21                <ice:panelGroup style="float:left; width:30%">
    2122                    <ice:form>
    22                        
    23                             <ice:messages/>     
     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="configItemId" value="#{configurationBean.userObject.configItem.id}"/>
     35                                            <ice:outputText id="ConfigItem" value="#{configurationBean.userObject.text}"/>
     36                                        </ice:commandLink>
     37                                        </f:facet>
     38                                </ice:treeNode>
     39                        </ice:tree>
    2440                    </ice:form>
     41                </ice:panelGroup>
     42                <ice:panelGroup>
     43                        <f:subview id="selectedNodeType">
     44                                <jsp:include page="#{configurationBean.userObject.getTypePage}" />
     45                        </f:subview>
     46                </ice:panelGroup>
     47               
     48
     49            <ice:form>
     50                    <ice:messages/>     
     51            </ice:form>
    2552                </body>
    2653    </html>
Note: See TracChangeset for help on using the changeset viewer.