View difference between Paste ID: 7T2yzP55 and
SHOW: | | - or go back to the newest paste.
1-
1+
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
2
<%@ taglib prefix="tiles" uri="/WEB-INF/tld/struts-tiles.tld" %>
3
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
4
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
5
<%@ taglib prefix="t" uri="http://myfaces.apache.org/tomahawk" %>
6
7
<f:view>
8
    <tiles:insert page="/WEB-INF/tiles/front/main.jsp" flush="false">
9
        <tiles:put name="pagetitle" value="Add User Form"/>
10
        <tiles:put name="body" direct="true">
11
            <f:subview id="body">
12
                <h:form id="form">
13
                    <h:panelGroup>
14
                        <t:message for="chb"/>
15
                    </h:panelGroup>
16
                    <t:htmlTag value="center">
17
                        <div >
18
                            <table width="560px">
19
                                <tr>
20
                                    <td align="left">
21
                                        Sections To Assign
22
                                    </td>
23
                                    <td>
24
   <div style="overflow-y: scroll;height: 120px; margin-left: 20px;">
25
<h:selectManyCheckbox id="chb" value="#{AddRespondentBean.selectedCheckBoxes}" layout="pageDirection">
26
    <f:selectItems value="#{AddRespondentBean.checkBoxItems}"/>
27
</h:selectManyCheckbox>
28
    </div>
29
                                    </td>
30
                                </tr>
31
                              
32
<tr>
33
 <td colspan="2" align="center">
34
    <t:commandButton value="Save & Back"   action="#{AddRespondentBean.save}"/>
35
     <t:commandButton value="Save & Add Another" action="#{AddRespondentBean.saveAndAddAnother}"/>
36
 </td>
37
</tr>
38
                            </table>
39
                        </div>
40
                    </t:htmlTag>
41
                </h:form>
42
            </f:subview>
43
        </tiles:put>
44
    </tiles:insert>
45
</f:view>