I'm using Struts as well.
When I need to Open an Action to another Window, I javascript:ira() , then I
window.open, I put my code:
This is the Javascript (Mozilla and IE)
function modalWin(id_factura) {
url = 'facturacioAction.do?accion=modif&clau='+id_factura+'';
if (window.showModalDialog) {
window.showModalDialog(url,"name","dialogWidth:800px;dialogHeight:600px;resizable:no;scroll:yes;status:no");
} else {
window.open(url,'name','width=800px,height=600px,toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,modal=yes');
}
}
Here the DIsplayTag calling to :
<display:column title="Ver" > ');"> consultar.gif </display:column>
Hope this helps
Jaumeg
--
View this message in context:
http://www.nabble.com/Open-new-window-target-tag-t1331865.html#a3611931
Sent from the DisplayTag - General forum at Nabble.com.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user