⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frame.jsp

📁 GridSphere 门户 提供一个基于 portlet 的高级开放源代码门户。GridSphere 是在欧盟提供基金的 GridLab 项目下开发的
💻 JSP
字号:
<%@ page import="org.gridsphere.layout.PortletFrame" %><%@ 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"/><% PortletFrame frame = (PortletFrame) request.getAttribute("portletComp"); %><ui:text var="msg" key="LAYOUT_EDIT_FRAME"/><% String label = msg + " <b>" + frame.getPortletName() + "</b>"; %><ui:group label="<%= label%>">    <ui:table>        <ui:tablerow>            <ui:tablecell>                <ui:text key="LAYOUT_SEL_PORTLETS"/>                <ui:listbox beanId="portletsLB"/>            </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="<%= frame.getLabel() %>"/>            </ui:tablecell>        </ui:tablerow>        <ui:tablerow>            <ui:tablecell>                <ui:text key="LAYOUT_DISP_TB"/>                :                <ui:text key="YES"/>                <ui:radiobutton beanId="istitleRB" selected="<%= (request.getAttribute("isTitle") != null) %>"                                value="yes"/>                <ui:text key="NO"/>                <ui:radiobutton beanId="istitleRB" selected="<%= (request.getAttribute("isTitle") == null) %>"                                value="no"/>            </ui:tablecell>        </ui:tablerow>    </ui:table>    <ui:table>        <ui:tablerow>            <ui:tablecell>                <ui:actionsubmit action="doSaveFrame" 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -