How to make target of seam redirect rule open in new window?
I have the following navigation rule in a seam project. The page needs to open a new window with this URL.
<rule if-outcome="goSmc">
<redirect url="http://smc.ba.ssa.gov/cgi-bin/smc.cgi?dev=#{thisHost}&rm=all_targets" />
</rule>
Is there some way to encode a new window on a URL? Or a seam navigation rul开发者_运维技巧e?
You can use _target in the <a href>
to open the link in a new window
Update
Ok, so my guess is it is not possible to do this using the navgation rule in seam. However, I have an idea how you can hack this. Redirect to a page, where you have an onLoad javascript that opens the url you want in a new window, as described on this page
精彩评论