Actually, i can't get your exact meaning. A screen is an unique page in
Turbine, (certainly, it is possible to have different screen showing the
same content if all of them load the same Jetspeed psml) so, multi-screen
means multi-page! Pls refer to the Turbine doc.

I think what you really mean is, there are more than one portlets in a
single page (screen), right? In this case, it may not be a good idea to make
them into different frames. You may take my 2nd method: you write your own
portlet class, which extends WebPagePortlet, your class loads url from an
url parameter by any means. There are some different ways to implement, the
best one is to make it as an action, but I'm lazy to explore that area and I
make my portlet to read parameter from rundata
[rundata.getParameters().getString(url)]. In your case, for example, your
portlet read two parameters, the portlet id and url, if the portlet id
matches itself, then it displays the url from parameter, otherwise, it
displays the old url. The link looks like:
/jetspeed/portal?url=www.sun.com&amps;portletid=1
certain, you may design your application in other ways with similar concept.

Regards,
mingfai






-----Original Message-----
From: ZHU Jia [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 08, 2001 6:46 PM
To: [EMAIL PROTECTED]
Subject: Re: FW: WebPagePortlet - Content in the Portlet area


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]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to