Thanks for the answer! But here comes the next question- what about multi-screen application? do i have to use another frame or window or is there any way to simply get all the output from a portlet confined in the portlet area? Many thanks in advance!
ZHU Jia Ming Fai schrieb: > > last time, I've replied it only to the dev list but not the user list. :-P > (well, btw, pls don't cross post unless it is really necessary) > > Regards, > mingfai > > -----Original Message----- > From: Ming Fai [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 05, 2001 4:07 PM > To: [EMAIL PROTECTED] > Subject: RE: WebPagePortlet - Content in the Portlet area > > unofficial answer: > coz the link in java.sun.com is a normal link, so, it targets at the browser > window, as same as any other links on the page. > > So, my solution: > 1. Set the base target > make ur site with frame and set the base target to a specific frame. not a > perfect solution but better than none. > > 2. modify the link when loading the WebPagePortlet > The only perfect solution is to change the link in the portlet when it > loads. So, write an portlet class to extend WebPagePortlet, after loaded the > http stream, do a process to replace all href attribute i.e. <a href="url"> > to target to ur screen. So, when a user click on a link, he is linked to > your page with the original url as a parameter, then let the portlet read > the url parameter to show the target page. > > the world is never perfect, if the link is in javascript, then you mean need > a more complex process to modify the href attribute. > > regards, > mingfai > > -----Original Message----- > From: Peter Rajesh [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 05, 2001 3:56 PM > To: jetspeed; jet-dev > Subject: WebPagePortlet - Content in the Portlet area > > HI, > > I have a WebPagePortlet in Jetspeed, which displays the content of > http://java.sun.com . When i click some thing, for ex., if i do a search > in that site, the Jetspeed page is gone and the search result is > displayed in the same browser, i.e, the entire javasoft site if > displayed. Is it possible to display the search content in the Portlet > area itself? I need to click the Back button to get the original > Jetspeed page. Please let me know if you have any idea to achieve this. > > Thanks, > > Regards > > Peter Rajesh > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
