I am trying to navigate to the URL form the OAF page through simple button and it should open in new window.In 11i it was working fine bu using setDestination(url) and setTargetFrame("_blank") properties but in R12 setTargetFrame property is not working so I am not able to open the url framed in new window.It is opening in the same window.In R12 I am trying with javascript with the following code but it is not working there.Could you please help it is urgent?

xxExtRef.setDestination("javascript:window.open(url);");

where url variable holds the URL which is framed at run time i.e. url is different for diffrent customers

Instead of button you can go for Link and hardcode the url (eg : http://www.yahoo.com ) and set the target frame as _b using declarative implementation from Jdeveloper .
it will open the URL in a new window .