Hi,

I am also facing the problem of displaying two different RSS feeds with same 
portlet on same page

i have used 

following code in my processAction()

request.getPortletSession(false).setAttribute("count", new 
Integer(NumberofItems));
                                                this.objRssParser = new 
RssParser();
                                                this.objRssParser.parseRSS(new 
URL(RssURL), NumberofItems);
                                                
request.getPortletSession(false).setAttribute("result", this.objRssParser); 

and try to access count & result variable from view.jsp as

Number of Items : <%=request.getSession(false).getAttribute("count")%>

.
.
.
<% 
        RssParser objRssParser = (RssParser) 
request.getSession(false).getAttribute("result");
        
%>

is the correct way, i am using JBoss 2.6

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031541#4031541

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031541
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to