This content has been marked as final.
Show 2 replies
-
1. Re: s:link as popup window
app4you Mar 26, 2007 8:19 AM (in response to .:lexx:.)Hi there,
In JSF, SEAM that is, you can't direct an URL to a popup window easily like in JSP world. Here are 2 solutions:
1. <h:form target="_new">
2. On the <s:link/> or <h:commandLink/>, do these:
* <s:link target="jsWinId" onclick="window.open(null, 'jsWinId', 'windth=200,height=blah')" action="#{packetSelector.selectPacket(packet)}"/>
*** MAKE sure you use and in your selectPacket method, return the mapping name from the faces-confg.xml if you use JSF navigation rule
Hope that helps. -
2. Re: s:link as popup window
.:lexx:. Mar 26, 2007 8:48 AM (in response to .:lexx:.)Great, this works!
Many thanks :)