Si tu es en J2EE 1.3, pour passer deux paramètres à ton Action via un lien, essaie ceci :
1 2 3
| <html-el:link href="javascript:window.open('tonAction.do?parm1=${item.property1}&parm2=${item.property2}','Confirmation','resizable=no, scrollbars=yes, width=600, height=300');void('');">
Validation
</html-el:link> |
Pour que ceci fonctionne, il faut avoir la tld struts-html-el.tld sous WEB-INF et ajouter la directive taglib suivante dans la jsp :
<%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %>
En J2EE 1.4, ceci devrait fonctionner :
1 2 3
| <html:link href="javascript:window.open('tonAction.do?parm1=${item.property1}&parm2=${item.property2}','Confirmation','resizable=no, scrollbars=yes, width=600, height=300');void('');">
Validation
</html:link> |
Partager