Author: chris.laprun(a)jboss.com
Date: 2007-09-04 22:12:23 -0400 (Tue, 04 Sep 2007)
New Revision: 8161
Modified:
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/confirmDeleteInstance.xhtml
Log:
- JBPORTAL-1657: Updated instance deletion confirmation page.
Modified:
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/confirmDeleteInstance.xhtml
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/confirmDeleteInstance.xhtml 2007-09-05
02:05:06 UTC (rev 8160)
+++
branches/JBoss_Portal_Branch_2_6/core-admin/src/resources/portal-admin-war/WEB-INF/jsf/confirmDeleteInstance.xhtml 2007-09-05
02:12:23 UTC (rev 8161)
@@ -6,17 +6,40 @@
xmlns:jbp="http://www.jboss.org/portal"
xmlns:c="http://java.sun.com/jstl/core"
class="admin-ui">
-
- <p class="portlet-msg-alert">WARNING ! You are about to delete the
following portlet instance:</p>
- <h:outputText value="#{instancemgr.selectedInstance.id}"/>
-
- <p class="portlet-class">Are you sure ?</p>
-
- <h:form>
- <h:commandButton value="Yes" action="instances"
actionListener="#{instancemgr.deleteInstance}"
styleClass="portlet-form-button">
- <f:attribute name="instanceId"
value="#{instancemgr.selectedInstance.id}"/>
- </h:commandButton>
- <h:commandButton value="No" action="instances"
actionListener="objects" styleClass="portlet-form-button"/>
- </h:form>
+ <ui:composition template="instancesTemplate.xhtml">
+ <ui:define name="content">
+
+ <h:form>
+ <ul class="objectpath">
+ <li>
+ <h:commandLink action="instances">Portlet
Instances</h:commandLink>
+ </li>
+ <li>></li>
+ <li class="selected">
+ <span
class="objectName">#{instancemgr.selectedInstance.id}</span> instance
Delete
+ </li>
+ </ul>
+ </h:form>
+ <br/>
+
+ <h3>Delete <span
class="objectName">#{instancemgr.selectedInstance.id}</span></h3>
+
+ <p class="portlet-msg-alert">WARNING! You are about to delete
the
+ <span
class="objectName">#{instancemgr.selectedInstance.id}</span> portlet
instance causing windows
+ referencing it to not be able to display their content anymore.
+ </p>
+
+ <p class="portlet-class">Are you sure you want to delete this
portlet instance?</p>
+
+ <h:form>
+ <h:commandButton value="Delete" action="instances"
actionListener="#{instancemgr.deleteInstance}"
+ styleClass="portlet-form-button">
+ <f:attribute name="instanceId"
value="#{instancemgr.selectedInstance.id}"/>
+ </h:commandButton>
+ <h:commandButton value="Cancel" action="instances"
actionListener="objects"
+ styleClass="portlet-form-button"/>
+ </h:form>
+ </ui:define>
+ </ui:composition>
</div>
\ No newline at end of file