厲害了,用beetl的html標籤重寫的spring jsp 標籤 原

https://gitee.com/dataact/spring-beetl-tag

附上一個例子

 

<#spring:message code="sys.site.description" arguments="${platformName}"/>

<#form:form id="testForm" modelAttribute="table" method="post" class="form-horizontal">
    <#form:checkboxes path="tableName" items="${tableList}" itemValue="id" itemLabel="tableName" /><br/>
    <#form:radiobuttons path="tableName" items="${tableList}" itemValue="id" itemLabel="tableName"/><br/>
    <#form:select path="tableName"><br/>
        <#form:option  value="1">財務部</#form:option>
        <#form:option value="1">財務部</#form:option>
        <#form:option value="2">開發部</#form:option>
        <#form:option value="3">銷售部</#form:option>
        <#form:options items="${tableList}" itemValue="id" itemLabel="tableName" />
    </#form:select>
    <#form:input path="tableName" nested="true" /><br />
    <#form:input path="tableName" nested="false"  defaultValue="你好斯蒂芬斯蒂芬"/><br />
    <#form:checkboxes path="tableName" dict="sf" /><br/>
    <#form:radiobuttons path="tableName" dict="sf" /><br/>
</#form:form>

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章