Welcome to the JavaRanch, Javier!
JSF (whether plain or PrimeFaces) doesn't work very well with frames, I'm afraid. It has good tiling support, but for cases where the embedded content comes from a foreign URL, it's usually more trouble than it is worth.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.