Merci ando0098 j'essaye, tout te suite.
Version imprimable
Merci ando0098 j'essaye, tout te suite.
ando0098 je mets bien cela
<%
FacesContext context = FacesContext.getCurrentInstance();
UserBean bean= (UserBean) context.getApplication().createValueBinding("#{tonBean}").getValue(context);
bean.annuler();
%>
Juste après les imports
<%@ page import="javax.faces.context.FacesContext" %>
<%@ page import="javax.faces.bean.SessionScoped" %>
<%@ page import="ton bean" %>
Ca ne fonctionen pas