Comment insérer dans le modal Panel??

voici mon code:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<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:rich="http://richfaces.org/rich"     
      xmlns:a4j="http://richfaces.org/a4j">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:a4j="http://richfaces.org/a4j"
        xmlns:rich="http://richfaces.org/rich"
        ajax="https://ajax4jsf.dev.java.net/ajax">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
   <f:view>
      <h:form >
 
 
 
<rich:panel style="display: ; width : 732px;" id="plogin">
<f:facet name="header">Valider EP et ICS</f:facet>
 
<rich:dataTable cellpadding="0" cellspacing="0" border="0" rowClasses="even-row ,odd-row"
var="li" value="#{addProcessus.lesprocessus}" id="tab"
style="text-align:center;height : 77px; width : 397px;" rows="4" width="100%">
<f:facet name="header">
<rich:columnGroup>
 
<rich:column breakBefore="true">
<h:outputText styleClass="headerText" value="Nom ICS" />
</rich:column>
 
<rich:column>
<h:outputText styleClass="headerText" value="Nom EP" />
</rich:column>
 
<rich:column style="width:100px">
<h:outputText styleClass="headerText" value="Détails" />
</rich:column>
 
<rich:column style="width:100px">
<h:outputText styleClass="headerText" value="Cocher" />
</rich:column>
 
</rich:columnGroup>
</f:facet>
 
<rich:column filterEvent="onkeyup" filterBy="" >
<h:outputText value="#{li.nompr}" />
</rich:column>
<rich:column style="cursor:pointer;" filterEvent="onkeyup" width="50">
<h:outputText value="#{li.nompr}" />
</rich:column>
<rich:column style="cursor:pointer;" >
 
<h:graphicImage value="/img/clic2.jpeg" onclick="#{rich:component('_panel_test')}.show()" />
</rich:column>
<rich:column>
<h:selectBooleanCheckbox value="" />
</rich:column>
</rich:dataTable>
 
 
</rich:panel>
 
 
 
 
 
 
<rich:modalPanel id="_panel_test" height="800" width="800" >
<f:facet name="header">Richfaces modalPanel</f:facet>
 
<rich:panel style="border:0;height:100px">
 
 
 
<f:view>
 
         <h:form>
 
     <rich:spacer height="30"/>                
<div align="left">
<rich:spacer width="170" height="22"  />
 
 
           <h:panelGrid columns="">
<h:outputText value="Réf Processus:"></h:outputText>
       <h:inputText value="#{addProcessus.refpr}" style=" width : 100px;"/> 
 <h:commandButton  value="Valider" action="#{addProcessus.addProcessus}" type="submit" style=" width : 104px; height : 30px;"/>      
 
            </h:panelGrid>
 
            <rich:spacer width="30"  />
            <a4j:commandButton  style="cursor:pointer;width : 73px;" onclick="Richfaces.hideModalPanel('_panel_test')" value="Fermer" />
 
</div>
         </h:form>
 
      </f:view>
 
</rich:panel>
</rich:modalPanel>
 
 
</h:form>
    </f:view>              
</ui:composition>
</html>