[jboss-user] [JBoss Portal] - Re: Page Title
radzish
do-not-reply at jboss.com
Fri Feb 16 10:04:27 EST 2007
The following works (+ i18 support):
<jsp:directive.page import="org.jboss.portal.theme.page.PageResult"/>
| <jsp:directive.page import="org.jboss.portal.theme.LayoutConstants"/>
| <%@ taglib prefix="fmt" uri="/WEB-INF/fmt.tld"%>
| <%
| PageResult pageResult = (PageResult)request.getAttribute(LayoutConstants.ATTR_PAGE);
| String pageNameKey = "PAGENAME_" + pageResult.getPageName();
| %>
| <fmt:bundle basename="conf.bundles.Resource">
| <title><fmt:message key="<%=pageNameKey%>" /></title>
| </fmt:bundle>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017653#4017653
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017653
More information about the jboss-user
mailing list