You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Maruthi <ma...@yahoo.com> on 2004/06/30 12:08:24 UTC

Interportlet communication

Hello Everybody,

I have a JSP which is displaying the News Titles from mysql database.

When i click(titles should have a link) on a particular title the corresponding description of news should be displayed(from datbase) in a separete(another) portlet.

My Datbase is like this ::Table name -News

These are the columns in the news table ::

Title of News-Description of news-Date(News will be sorted by date)

I could display the JSP with news titles.I dont know how to manage interportlet communication (one JSP to another JSP)..can anybody give guidelines who had idea in this regard?.

Thank you,

Maruthi.

 


		
---------------------------------
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!

Re: Interportlet communication

Posted by cy...@almacenes-paris.cl.
I've implemented something similar, but the heading and the content of the 
news are presented in the same portlet. The VelocityPortlet has something 
like this:

#if ($list)
        //Implement the list of news heading display
#else
        //Implement the selected news detail

and the $list value is managed from your action class.

If you find a better (or pretty) way to do the same, please let me know.

Regards,
Carlos.




Maruthi <ma...@yahoo.com> 
30-06-2004 06:08
Por favor, responda a
"Jetspeed Users List" <je...@jakarta.apache.org>


Para
jetspeed-user@jakarta.apache.org, jford@apache.org
cc

Asunto
Interportlet communication







Hello Everybody,

I have a JSP which is displaying the News Titles from mysql database.

When i click(titles should have a link) on a particular title the 
corresponding description of news should be displayed(from datbase) in a 
separete(another) portlet.

My Datbase is like this ::Table name -News

These are the columns in the news table ::

Title of News-Description of news-Date(News will be sorted by date)

I could display the JSP with news titles.I dont know how to manage 
interportlet communication (one JSP to another JSP)..can anybody give 
guidelines who had idea in this regard?.

Thank you,

Maruthi.

 


 
---------------------------------
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!