cancel
Showing results for 
Search instead for 
Did you mean: 

JSP content not come with portal theme

Former Member
0 Kudos
61

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

Accepted Solutions (1)

Accepted Solutions (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Noppong Jinbunluphol,

If you use standard HTML elements, how should the portal theme apply?!?! Of course also within the JSP you have to use HTMLB elements.

Hope it helps

Detlev

Former Member
0 Kudos

Thank you Detlev,

I will try that.

Noppong Jinbunluphol

Answers (0)