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 <[EMAIL PROTECTED]> 
30-06-2004 06:08
Por favor, responda a
"Jetspeed Users List" <[EMAIL PROTECTED]>


Para
[EMAIL PROTECTED], [EMAIL PROTECTED]
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!

Reply via email to