开发者

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}&amp;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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜