portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ming Fai" <ming...@hongkong.com>
Subject RE: WebPagePortlet - Content in the Portlet area
Date Fri, 05 Oct 2001 08:07:29 GMT
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.


-----Original Message-----
From: Peter Rajesh [mailto:rajeshs@siptech.co.in]
Sent: Friday, October 05, 2001 3:56 PM
To: jetspeed; jet-dev
Subject: WebPagePortlet - Content in the Portlet area


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.



Peter Rajesh

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

View raw message