from my view:
- to open a page in a form (not an xpage)
you will have to compute the link to the url, which ist openend when clicking on a document by yourself that way, that an
URL ist generated which opens the document using that form, e.g. by using a special view in that URL
- change all to XPages
well I think in one application it is easier to not mix up things in some cases it even will not be possible.
There might be options to use pop ups like described above but that is an exception.