It works! It is possible to display an external site in a portlet and allow the user to surf that site without leaving the Portal!
I have made the begining of the implementation of the servlet described below! It works not bad :) for the moment, there is probleme with javascript(it does not take care of tag <base>). and many (but small) other however, i don't know enough the javax.swing.text.HTML API to continue quickly. so if someone can work with me! regards, -- Pierre -----Message d'origine----- De : Pierre BESNARD Envoy� : mardi 26 mars 2002 10:06 � : Jetspeed Users List Objet : RE: can we "lock" user navigation inside a portlet? hello, I just had an idea about that subjet! I don't know if it is a good one, so correct me if you think that i will lose my time! The main problem with IFrame is : when the site we want to put in the IFrame contains links with attribute target="_top", and when the user click on them, he exits the portal! So, in the IFramePortlet.java file, why not transform the : <IFrame name="TheGoodTarget" src="http://www.example.com" ...> with <IFrame name="TheGoodTarget" src="http://parserServlet?URL=http://www.example.com&target=TheGoodTarget" ...> where the parserServlet would simply transform all "_top" with "TheGoodTarget" in the page. I know that it won't ba as simple as that (i need to redirect new page's links in the parser, and ...), but i'm going to try! let's talk about it! -- pierre -----Message d'origine----- De : Burmeister, Mark [mailto:[EMAIL PROTECTED]] Envoy� : jeudi 21 mars 2002 14:17 � : 'Jetspeed Users List' Objet : RE: can we "lock" user navigation inside a portlet? I got this to work by making an html portlet. The html portlet simply contained a iframe with a src of the page I wanted to display. -----Original Message----- From: Aurelien Pernoud [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 8:00 AM To: 'Jetspeed Users List' Subject: RE: can we "lock" user navigation inside a portlet? Hi Zhenying, Currently it is not possible, but i'm personnaly working on implementing it, by enhancing the webpageportlet. I'm also thinking of implementing FORM support so that if you submit a form from an external site, the display would be displayed in the portlet. I don't know if someone else is working on it, but I'll share my results with Jetspeed's Developpers & Users as soon as it will start really working... Regards, Aurelien. > -----Message d'origine----- > De : Zhenying Wu [mailto:[EMAIL PROTECTED]] > Envoye : mercredi 20 mars 2002 10:50 > A : [EMAIL PROTECTED] > Objet : can we "lock" user navigation inside a portlet? > > > > Hello, > I didn't find this question answered in the archives satisfactorily, > so: > > is there a way to display an external site in an applet and allow > the > user to surf that site _without_ leaving our portal, like if we used > html frames? the default behaviour seems to be that as soon as the > user > clicks on a link the full page is replaced with that external site, > which IMHO > fights the whole concept of a portal page with various info available > at all times. > > thanx in advance, > Zhenying > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
