?? radiomap.jsp
字號:
<%--
-- WebWork, Web Application Framework
--
-- Distributable under LGPL license.
-- See terms of license at opensource.org
--
--
-- radiomap.jsp
--
-- Required Parameters:
-- * label - The description that will be used to identfy the control.
-- * name - The name of the attribute to put and pull the result from.
-- Equates to the NAME parameter of the HTML tag INPUT.
-- * list - Iterator that will provide the options for the control.
-- Equates to the HTML LABEL tags.
-- * listKey - Where to get the values for the INPUT tag. Equates to
-- the VALUE parameter of the INPUT tag.
-- * listValue - The value displayed next to the radio control. Equates to the body
-- of the enclosing HTML LABEL tag.
--
-- Optional Parameters:
-- * labelposition - determines were the label will be place in relation
-- to the control. Default is to the left of the control.
-- * disabled - DISABLED parameter of the HTML INPUT tag.
-- * tabindex - tabindex parameter of the HTML INPUT tag.
-- * onchange - onkeyup parameter of the HTML INPUT tag.
--
--%>
<%@ taglib uri="webwork" prefix="webwork" %>
<%@ include file="controlheader.jsp" %>
<webwork:iterator value="parameters['list']">
<label><webwork:property value="{../parameters['listValue']}"/>
<input type="radio" <webwork:if test="{../parameters['listKey']}==../parameters['nameValue']">checked="checked"</webwork:if>
name="<webwork:property value="../parameters['name']"/>"
value="<webwork:property value="{../parameters['listKey']}"/>"
<webwork:if test="../parameters['disabled']==true">disabled="disabled"</webwork:if>
<webwork:push value="../parameters['tabindex']">
<webwork:if test=".">tabindex="<webwork:property value="."/>"</webwork:if>
</webwork:push>
<webwork:push value="../parameters['onchange']">
<webwork:if test=".">onchange="<webwork:property value="."/>"</webwork:if>
</webwork:push>
/>
</label>
</webwork:iterator>
<%@ include file="controlfooter.jsp" %>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -