bonjour
j'ai un problème avec l'action sur le bouton si je click sur le bouton alors la page atteintes la deuxième page
je veux faire ouvre la fenetre petite fenetre comme popup au dessus sur la premiere fenetre
je vous montre les deux fenetres
test.xhtml
et la deuxième fenetre plus.xhtml
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 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <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:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich"> <f:view> <body style="color: yellow; background-color: green"> <h2>test</h2> <hr /> <h:form> <p> <a4j:commandButton action="plus" value="++++++" ></a4j:commandButton> </p> </h:form> </body> </f:view> </html>
je cherche à faire afficher la fenetre plus.xhtml au dessus de la fenetre test.xhtml
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 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <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:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich"> <f:view> <html> <body style="color: yellow; background-color: green"> <h2>Le résultat est : </h2> <hr /> <h4> <h:outputText value="#{opération.premier}" /> + <h:outputText value="#{opération.deuxième}" /> = <h:outputText value="#{opération.premier + opération.deuxième}" /> </h4> </body> </html> </f:view> </html>
j'aura deux fenetre l'un sur l'autre
merci
Partager