Changeset 858 for vanHelsing/trunk/gui/WebContent
- Timestamp:
- Apr 9, 2010, 10:56:07 AM (15 years ago)
- Location:
- vanHelsing/trunk/gui/WebContent
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vanHelsing/trunk/gui/WebContent/menu.jspx
r857 r858 12 12 <title>Van Helsing</title> 13 13 <ice:outputStyle href="./xmlhttp/css/rime/rime.css" /> 14 <ice:outputStyle href="./css/tree.css" /> 14 15 15 16 </head> … … 18 19 <ice:form> 19 20 <ice:panelGroup style="float:top"> 21 <ice:commandButton id="newRes" 22 value="create resource" 23 actionListener="#{configurationBean.newResourceButtonListener}"/> 24 <ice:commandButton id="reloadRes" 25 value="reload Tree" 26 actionListener="#{configurationBean.reloadResourceButtonListener}" /> 20 27 <ice:commandButton id="saveRes" 21 28 value="update resource" 22 29 actionListener="#{configurationBean.saveButtonListener}"/> 23 <ice:commandButton id="newRes" 24 value="create resource" 25 actionListener="#{configurationBean.newResourceButtonListener}"/>30 <ice:commandButton id="deleteRes" 31 value="delete resource" 32 actionListener="#{configurationBean.deleteResourceButtonListener}" /> 26 33 </ice:panelGroup> 27 34 … … 45 52 </f:facet> 46 53 <f:facet name="content"> 47 < !-- <ice:panelGroup> -->48 <!-- styleClass="selectedNode#{item.userObject eq treeController.selectedUserObject}"49 style="display: inline" > --> 54 <ice:panelGroup styleClass="selectedNode#{item.userObject.userObject.resId eq configurationBean.selectedId} selectedComponent#{item.userObject.selected}" 55 style="display:inline" > 56 50 57 <ice:commandLink actionListener="#{configurationBean.userObjectItemNodeSelected}"> 51 58 <f:param name="userObject.resId" value="#{item.userObject.userObject.resId}"/> 52 59 <ice:outputText id="knoten" value="#{item.userObject.userObject.value}"/> 53 54 < !-- </ice:panelGroup> -->60 </ice:commandLink> 61 </ice:panelGroup> 55 62 </f:facet> 56 63 </ice:treeNode> … … 69 76 <ice:outputText value="Key" /> 70 77 </f:facet> 71 <ice:outputText value="#{item.key}" /> 78 <ice:outputText style="color:red" rendered="#{item.required eq true}" value="#{item.key}" /> 79 <ice:outputText style="color:green" rendered="#{item.required eq false}" value="#{item.key}" /> 72 80 </ice:column> 73 81 <ice:column> … … 76 84 </f:facet> 77 85 <ice:inputText rendered="#{item.inputText != null}" partialSubmit="true" value="#{item.keyValue}" /> 78 <ice:selectOneMenu id="KeyValue" 79 rendered="#{item.selectOneMenu != null}" 80 valueChangeListener="#{configurationBean.userObjectItemOptionSelected}" 81 value="#{item.keyValue}" 82 partialSubmit="true"> 83 <f:selectItems id="KeyValueItems" 84 value="#{item.keyValueList}"/> 85 </ice:selectOneMenu> 86 <ice:panelGroup> 87 <ice:selectOneMenu id="KeyValue" 88 rendered="#{item.selectOneMenu != null}" 89 valueChangeListener="#{configurationBean.userObjectItemOptionSelected}" 90 value="#{item.keyValue}" 91 partialSubmit="true"> 92 <f:selectItems id="KeyValueItems" 93 value="#{item.keyValueList}"/> 94 </ice:selectOneMenu> 95 <ice:commandButton id="newRes" 96 value="+" 97 rendered="#{item.selectOneMenu != null}" 98 actionListener="#{configurationBean.newResourceButtonListener}"/> 99 </ice:panelGroup> 86 100 </ice:column> 87 101 </ice:dataTable>
Note:
See TracChangeset
for help on using the changeset viewer.