Changeset 868 for vanHelsing/trunk/gui/WebContent
- Timestamp:
- May 3, 2010, 7:12:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vanHelsing/trunk/gui/WebContent/menu.jspx
r867 r868 21 21 <ice:panelTabSet> 22 22 <ice:panelTab label="Configuration"> 23 <ice:panelGroup style="float:top">24 <ice:commandButton id="newClient"25 value="create client"26 actionListener="#{configurationBean.newClientButtonListener}" />27 28 <ice:commandButton id="newRes"29 value="create resource"30 actionListener="#{configurationBean.newResourceButtonListener}">31 </ice:commandButton>32 33 <ice:commandButton id="reloadRes"34 value="reload Tree"35 actionListener="#{configurationBean.reloadResourceButtonListener}" />36 37 <ice:commandButton id="saveRes"38 value="update resource"39 actionListener="#{configurationBean.saveButtonListener}"/>40 41 <ice:commandButton id="deleteRes"42 value="delete resource"43 actionListener="#{configurationBean.deleteResourceButtonListener}" />44 </ice:panelGroup>45 23 46 <ice:panelDivider style="height:600px;width: 85%" dividerPosition="30">24 <ice:panelDivider style="height:600px;width:95%" dividerPosition="30"> 47 25 <f:facet name="first"> 48 26 <ice:tree id="baum" 49 value="#{configurationBean. tree}"27 value="#{configurationBean.dataTree.tree}" 50 28 var="item" 51 29 hideRootNode = "false" … … 61 39 </f:facet> 62 40 <f:facet name="content"> 63 < ice:panelGroup styleClass="selectedNode#{item.userObject.userObject.resId eq configurationBean.selectedId} selectedComponent#{item.userObject.selected}"64 style="display:inline" > 41 <!--<ice:panelGroup styleClass="selectedNode#{item.userObject.userObject.resId eq configurationBean.selectedId} selectedComponent#{item.userObject.selected}" 42 style="display:inline" > --> 65 43 66 <ice:commandLink actionListener="#{configurationBean. userObjectItemNodeSelected}">44 <ice:commandLink actionListener="#{configurationBean.renderResource}"> 67 45 <f:param name="userObject.resId" value="#{item.userObject.userObject.resId}"/> 68 <f:param name="userObject.resName" value="#{item.userObject.userObject. value}" />69 <ice:outputText id="knoten" value="#{item.userObject.userObject. value}"/>46 <f:param name="userObject.resName" value="#{item.userObject.userObject.resName}" /> 47 <ice:outputText id="knoten" value="#{item.userObject.userObject.resName}"/> 70 48 </ice:commandLink> 71 < /ice:panelGroup>49 <!--</ice:panelGroup> --> 72 50 </f:facet> 73 51 </ice:treeNode> … … 76 54 <f:facet name="second"> 77 55 <ice:panelGrid cellpadding="0" cellspacing="3" 78 columns="2" rendered="#{configurationBean.selectedObject != null}">56 columns="2" rendered="#{configurationBean.selectedObject.viewItemList != null}"> 79 57 <ice:dataTable 80 58 var="item" 81 value="#{configurationBean.selectedObject }"59 value="#{configurationBean.selectedObject.viewItemList}" 82 60 style="float:left,bottom; width:90%" 83 61 > … … 86 64 <ice:outputText value="Key" /> 87 65 </f:facet> 88 <ice:outputText style="color:red"rendered="#{item.required eq true}" value="#{item.key}" />89 <ice:outputText style="color:gre en" rendered="#{item.required eq false}" value="#{item.key}" />66 <ice:outputText rendered="#{item.required eq true}" value="#{item.key}" /> 67 <ice:outputText style="color:grey" rendered="#{item.required eq false}" value="#{item.key}" /> 90 68 </ice:column> 91 69 <ice:column> … … 117 95 </f:facet> 118 96 </ice:panelDivider> 97 <ice:panelGroup style="float:top"> 98 <ice:commandButton id="newClient" 99 value="create client" 100 actionListener="#{configurationBean.newClientButtonListener}" /> 101 102 <ice:commandButton id="newRes" 103 value="create resource" 104 actionListener="#{configurationBean.newResourceButtonListener}"> 105 </ice:commandButton> 106 107 <ice:commandButton id="reloadRes" 108 value="reload Tree" 109 actionListener="#{configurationBean.reloadResourceButtonListener}" /> 110 111 <ice:commandButton id="saveRes" 112 value="update resource" 113 actionListener="#{configurationBean.saveButtonListener}"/> 114 115 <ice:commandButton id="deleteRes" 116 value="delete resource" 117 actionListener="#{configurationBean.deleteResourceButtonListener}" /> 118 </ice:panelGroup> 119 119 120 </ice:panelTab> 120 121
Note:
See TracChangeset
for help on using the changeset viewer.