/**
* Switches to the view mode of the portlet without storing the current preferences.
*/
public void view() {
try {
((ActionResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse())
.setPortletMode(PortletMode.VIEW);
} catch (final PortletModeException e) {
throw new IllegalStateException(e);
}
}
AbstractMangedBean.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:org.portletbeans
作者:
评论列表
文章目录