Inject a RenderResponse for the request and set the title in the
pageBeginRender event for your BasePage... If you're using annotations
it would look something like:
public abstract class View extends BasePage implements
PageBeginRenderListener {
@InjectObject("service:tapestry.portlet.RenderResponse")
public abstract RenderResponse getRenderResponse();
public void pageBeginRender(PageEvent pageEvent) {
getRenderResponse().setTitle("XXX");
}
}
-Aj
Zheng JinYuan wrote:
I develop liferay portlets by tapestry,but how can I set the porlet's title ?
thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]