[jboss-user] [JBoss Portal] - Re: Page Title
sjewett
do-not-reply at jboss.com
Thu Feb 15 17:16:32 EST 2007
mholzner -
I tried your suggestion and I get an error:
anonymous wrote : An error occurred at line: 9 in the jsp file: /layouts/generic/index.jsp
| Generated servlet error:
| LayoutConstants.ATTR_PAGE cannot be resolved to a type
|
This is what the beginning of my index.jsp page looks like:
<%@ page import="org.jboss.portal.server.PortalConstants"%>
| <%@ page import="org.jboss.portal.theme.page.PageResult"%>
| <%@ taglib uri="/WEB-INF/theme/portal-layout.tld" prefix="p" %>
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <html xmlns="http://www.w3.org/1999/xhtml">
| <head>
| <!-- <title><%= PortalConstants.VERSION.toString() %></title> -->
| <title><%= LayoutConstants.ATTR_PAGE.getPageName() %></title>
| <meta http-equiv="Content-Type" content="text/html;"/>
| <!-- to correct the unsightly Flash of Unstyled Content. -->
| <script type="text/javascript"></script>
| <!-- inject the theme; default to the Nphalanx theme if nothing is selected for the portal or the page -->
| <p:theme themeName='renaissance'/>
| <!-- insert header content that was possibly set by portlets on the page -->
| <p:headerContent/>
| </head>
|
Do you see any obvious mistakes?
I know you said it was untested . . . I just wondered if I was doing anything obviously wrong.
Thanks!
-Steve Jewett
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017261#4017261
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017261
More information about the jboss-user
mailing list