content.jsp
来自「GridSphere 门户 提供一个基于 portlet 的高级开放源代码门户。」· JSP 代码 · 共 51 行
JSP
51 行
<%@ page import="org.gridsphere.layout.PortletContent" %><%@ taglib uri="/portletUI" prefix="ui" %><%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %><portlet:defineObjects/><jsp:useBean id="controlUI" class="java.lang.String" scope="request"/><% PortletContent content = (PortletContent) request.getAttribute("portletComp"); %><ui:text var="msg" key="LAYOUT_EDIT_CONTENT"/><% String label = msg + " <b>" + content.getFileName() + "</b>"; %><ui:group label="<%= label%>"> <ui:table> <ui:tablerow> <ui:tablecell> <ui:text key="LAYOUT_SEL_CONTENT"/> <ui:listbox beanId="contentLB"/> </ui:tablecell> </ui:tablerow> <ui:tablerow> <ui:tablecell> <ui:text key="LAYOUT_SEL_ROLES"/> <ui:listbox beanId="rolesLB"/> </ui:tablecell> </ui:tablerow> <ui:tablerow> <ui:tablecell> <ui:text key="LAYOUT_SEL_BOOKMARKING"/> <ui:textfield beanId="labelTF" value="<%= content.getLabel() %>"/> </ui:tablecell> </ui:tablerow> </ui:table> <ui:table> <ui:tablerow> <ui:tablecell> <ui:actionsubmit action="doSaveContent" key="OK"/> </ui:tablecell> <ui:tablecell> <ui:actionsubmit action="doCancel" key="CANCEL"/> </ui:tablecell> </ui:tablerow> </ui:table></ui:group>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?