A4J et Richfaces ne marche pas
Bonjour,
j'ai un petit problème avec Aj4 et Richfaces. La compilation, déployement ce passe très bien. Cependant, quand je veux voir ma page test.html je peux voir :
Code:
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
|
<!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:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich">
<head>
<title></title>
</head>
<body>Utilisateur 1
<form id="j_id4" name="j_id4" method="post" action="/pimty/test.html" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="j_id4" value="j_id4" />
<rich:panel bodyClass="rich-laguna-panel-no-header">
<a4j:commandButton value="Set Name to Alex" reRender="rep">
<a4j:actionparam name="username" value="Alex" assignTo="Utilisateur 1"></a4j:actionparam>
</a4j:commandButton>
<rich:spacer width="20"></rich:spacer>
<a4j:commandButton value="Set Name to John" reRender="rep">
<a4j:actionparam name="username" value="John" assignTo="Utilisateur 1"></a4j:actionparam>
</a4j:commandButton>
</rich:panel>
<rich:spacer height="1"></rich:spacer>
<rich:panel bodyClass="rich-laguna-panel-no-header"><span id="j_id4:rep">Selected Name:Utilisateur 1</span>
</rich:panel><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id3:j_id4" />
</form>
</body>
</html> |
Voilà le début de ma page test.xhtml
Code:
1 2 3 4 5 6 7 8
|
<!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:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"> |
D'ou peut venir le problème ?