Skip to Content
0
Former Member
Jan 26, 2012 at 09:12 AM

JSP content not come with portal theme

36 Views

Hi all,

I am developing portal content like homepage. I have created AbstractPortalComponent and call to jsp page for display text as below code. In the jsp i put standard html tag to display the text.I also assign portal desktop to the user. The problem is that everthing comes with the theme, except portal content that i created in jsp. I would like the text in the jsp applied the theme.

How can i do to make the text in jsp use the text style specified in the theme?

public class Home extends AbstractPortalComponent
{
    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
    {
		
		IResource jspResource = request.getResource("jsp", "jsp/Home.jsp");
		response.include(request, jspResource);
    }
}

Thank you in advance,

Noppong Jinbunluphol