You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2015/10/16 11:53:16 UTC
svn commit: r1708939 -
/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/server-info.xhtml
Author: lofwyr
Date: Fri Oct 16 09:53:16 2015
New Revision: 1708939
URL: http://svn.apache.org/viewvc?rev=1708939&view=rev
Log:
demo: layout
Modified:
myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/server-info.xhtml
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/server-info.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/server-info.xhtml?rev=1708939&r1=1708938&r2=1708939&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/server-info.xhtml (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/server-info.xhtml Fri Oct 16 09:53:16 2015
@@ -19,42 +19,38 @@
<ui:composition template="/layout/overview.xhtml"
xmlns:tc="http://myfaces.apache.org/tobago/component"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:f="http://java.sun.com/jsf/core">
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
<ui:param name="title" value="Server Info"/>
<tc:panel rendered="#{info.enabled}">
- <f:facet name="layout">
- <tc:gridLayout rows="auto;auto;auto;auto;auto;auto;*;*"/>
- </f:facet>
- <tc:in value="#{info.version}" readonly="true"
- label="Tobago Version"/>
+ <tc:section value="Main Properties">
+
+ <tc:in value="#{info.version}" readonly="true"
+ label="Tobago Version"/>
- <tc:in value="#{info.jsfTitle}" readonly="true"
- label="JSF Implementation"/>
+ <tc:in value="#{info.jsfTitle}" readonly="true"
+ label="JSF Implementation"/>
- <tc:in value="#{info.jsfVersion}" readonly="true"
- label="JSF Version"/>
+ <tc:in value="#{info.jsfVersion}" readonly="true"
+ label="JSF Version"/>
- <tc:in value="#{info.serverInfo}" readonly="true"
- label="Server Info"/>
+ <tc:in value="#{info.serverInfo}" readonly="true"
+ label="Server Info"/>
- <tc:in value="#{info.systemProperties['java.runtime.version']} - #{info.systemProperties['java.vm.vendor']}"
- readonly="true"
- label="Java"/>
+ <tc:in value="#{info.systemProperties['java.runtime.version']} - #{info.systemProperties['java.vm.vendor']}"
+ readonly="true"
+ label="Java"/>
- <tc:in
- value="#{info.systemProperties['os.name']} - #{info.systemProperties['os.version']} - #{info.systemProperties['os.arch']}"
- readonly="true"
- label="Operating System"/>
+ <tc:in
+ value="#{info.systemProperties['os.name']} - #{info.systemProperties['os.version']} - #{info.systemProperties['os.arch']}"
+ readonly="true"
+ label="Operating System"/>
- <tc:panel>
- <f:facet name="layout">
- <tc:gridLayout columns="auto;*"/>
- </f:facet>
+ </tc:section>
- <tc:label value="System Properties"/>
+ <tc:section value="System Properties">
<tc:sheet var="entry" value="#{info.systemPropertiesAsList}" columns="*;2*" rows="1000">
<tc:column label="Key">
@@ -64,14 +60,9 @@
<tc:out value="#{entry.value}" escape="true"/>
</tc:column>
</tc:sheet>
- </tc:panel>
+ </tc:section>
- <tc:panel>
- <f:facet name="layout">
- <tc:gridLayout columns="auto;*"/>
- </f:facet>
-
- <tc:label value="Sessions"/>
+ <tc:section label="Sessions">
<tc:sheet value="#{activityList.values}" var="activity"
showRowRange="left" showPageRange="right" showDirectLinks="center">
@@ -88,17 +79,21 @@
<tc:out value="#{activity.ajaxRequest}"/>
</tc:column>
</tc:sheet>
- </tc:panel>
+ </tc:section>
+
+ <tc:section label="Manifest">
+
+ <tc:sheet value="#{manifestReader.manifestTree}" state="#{manifestReader.state}" var="manifest">
+ <tc:columnNode label="Library/Key">
+ <tc:treeIndent/>
+ <tc:treeLabel value="#{manifest.name}"/>
+ </tc:columnNode>
+ <tc:column label="Value">
+ <tc:out value="#{manifest.value}"/>
+ </tc:column>
+ </tc:sheet>
- <tc:sheet value="#{manifestReader.manifestTree}" state="#{manifestReader.state}" var="manifest">
- <tc:columnNode label="Library/Key">
- <tc:treeIndent/>
- <tc:treeLabel value="#{manifest.name}"/>
- </tc:columnNode>
- <tc:column label="Value">
- <tc:out value="#{manifest.value}"/>
- </tc:column>
- </tc:sheet>
+ </tc:section>
</tc:panel>
</ui:composition>