[jboss-cvs] jboss-portal/core/src/resources/portal-core-war/WEB-INF/jsp/management/plugins ...
Boleslaw Dawidowicz
bdaw at o2.pl
Thu Jul 27 16:40:53 EDT 2006
User: bdaw
Date: 06/07/27 16:40:53
Modified: core/src/resources/portal-core-war/WEB-INF/jsp/management/plugins
properties.xhtml
Log:
management - portal objects properties
Revision Changes Path
1.4 +58 -24 jboss-portal/core/src/resources/portal-core-war/WEB-INF/jsp/management/plugins/properties.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: properties.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/core/src/resources/portal-core-war/WEB-INF/jsp/management/plugins/properties.xhtml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- properties.xhtml 14 Dec 2005 21:07:32 -0000 1.3
+++ properties.xhtml 27 Jul 2006 20:40:53 -0000 1.4
@@ -33,10 +33,12 @@
<h:panelGroup
id="prop_a">
+ <h:form id="properties_form">
<t:dataTable
id="data"
var="p"
value="#{portalobjectmgr.selectedProperties}"
+ binding="#{propertyAction.propertyDataTable}"
rowClasses="portlet-section-body,portlet-section-alternate">
<h:column>
<f:facet name="header">
@@ -50,6 +52,38 @@
</f:facet>
<h:outputText value="#{p[1]}"/>
</h:column>
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="Operations"/>
+ </f:facet>
+ <h:commandLink
+ action="#{propertyAction.selectProperty}">
+ <h:graphicImage
+ value="/images/management/edit.png"
+ border="0"
+ alt="Edit"
+ style="vertical-align:middle;"/>
+ </h:commandLink>
+ <h:commandLink
+ action="#{propertyAction.removeProperty}">
+ <h:graphicImage
+ value="/images/management/delete.png"
+ border="0"
+ alt="Delete"
+ style="vertical-align:middle;"/>
+ </h:commandLink>
+ <h:outputText value="#{row.value}"/>
+ </h:column>
</t:dataTable>
+ <br/>
+ <h:messages style="color: red"/>
+ <h:outputText style="font-weight:bold;" value="Property Name: "/>
+ <h:inputText value="#{propertyAction.selectedProperty}"/>
+ <br/>
+ <h:outputText style="font-weight:bold;" value="Property Value: "/>
+ <h:inputText value="#{propertyAction.propertyValue}"/>
+ <br/>
+ <h:commandButton action="#{propertyAction.updateProperty}" value="Update"/>
+ </h:form>
</h:panelGroup>
</div>
More information about the jboss-cvs-commits
mailing list