dmkarr 2002/10/13 20:24:29 Modified: contrib/struts-el/web/exercise-taglib html-select.jsp Log: Added test of disabled and filter attributes. Revision Changes Path 1.3 +7 -3 jakarta-struts/contrib/struts-el/web/exercise-taglib/html-select.jsp Index: html-select.jsp =================================================================== RCS file: /home/cvs/jakarta-struts/contrib/struts-el/web/exercise-taglib/html-select.jsp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- html-select.jsp 4 Oct 2002 05:34:19 -0000 1.2 +++ html-select.jsp 14 Oct 2002 03:24:29 -0000 1.3 @@ -65,7 +65,9 @@ <html-el:option value="Single 0">Single 0</html-el:option> <html-el:option value="Single 1">Single 1</html-el:option> <html-el:option value="Single 2">Single 2</html-el:option> - <html-el:option value="Single 3">Single 3</html-el:option> + <html-el:option value="Single 3" disabled="${!empty pageScope}"> + Single 3 + </html-el:option> <html-el:option value="Single 4">Single 4</html-el:option> <html-el:option value="Single 5">Single 5</html-el:option> <html-el:option value="Single 6">Single 6</html-el:option> @@ -98,7 +100,8 @@ <th align="right">Multiple Select From A Collection (Using <html-el:optionsCollection>):</th> <td align="left"> <html-el:select property="beanCollectionSelect" size="10" multiple="true"> - <html-el:optionsCollection name="testbean" property="beanCollection"/> + <html-el:optionsCollection name="testbean" property="beanCollection" + filter="${empty pageScope}"/> </html-el:select> </td> </tr> @@ -109,7 +112,8 @@ </th> <td align="left"> <html-el:select property="withNulls" size="3"> - <html-el:options name="withNulls" labelName="withNulls"/> + <html-el:options name="withNulls" labelName="withNulls" + filter="${empty pageScope}" /> </html-el:select> </td> </tr>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>