missingConnectionDialog.xhtml 1.89 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.org/ui">

	<h:form id="missingConnectionForm">
		<h:inputHidden id="connectionId" />
 		<p:dialog id="removeConnectionDialog" header="Why do you want to remove this candidate:" widgetVar="dlg4" modal="true">	
			<h:panelGrid columns="1" cellpadding="5">	
				<p:inputTextarea	id="removeContent"	label="content" />	
				<f:facet name="footer">	
14
					<p:commandButton id="removeConnectionButton" value="Remove" actionListener="#{searchMB.removeConnection}"	onsuccess="dlg4.hide()"/>	
15
16
17
18
19
20
21
22
23
					<p:commandButton id="cancelRemoveButton" value="Cancel" onclick="dlg4.hide()" />	
				</f:facet>	
			</h:panelGrid>	
		</p:dialog>			
		<h:inputHidden id="commentId" />
 		<p:dialog id="removeCommentDialog" header="Why do you want to this comment:" widgetVar="dlg5" modal="true">	
			<h:panelGrid columns="1" cellpadding="5">	
				<p:inputTextarea	id="removeCommentContent"	label="content" />	
				<f:facet name="footer">	
24
					<p:commandButton id="removeCommentButton" value="Remove" actionListener="#{feedbackMB.removeComment}"	onsuccess="dlg5.hide()"/>	
25
26
27
28
29
30
31
32
33
34
35
36
37
38
					<p:commandButton id="cancelRemoveCommentButton" value="Cancel" onclick="dlg5.hide()" />	
				</f:facet>	
			</h:panelGrid>	
		</p:dialog>			
	</h:form>

  <h:form id="_dataMiningConnector">
		<p:remoteCommand name="_refreshMissingConnectionOverlayCollection" actionListener="#{missingConnectionMB.refreshOverlayCollection}"/>
		<p:remoteCommand name="_registerMissingConnectionOverlayCollection" actionListener="#{missingConnectionMB.registerOverlayCollection}"/>
		<p:remoteCommand name="_clearMissingConnectionOverlayCollection" actionListener="#{missingConnectionMB.clear}"/>
	</h:form>
  
</html>