Author: bayard
Date: Mon Jun 11 14:33:41 2007
New Revision: 546295
URL: http://svn.apache.org/viewvc?view=rev&rev=546295
Log:
Making it a (little) bit clearer what is going on in these two examples
Modified:
struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/src/main/webapp/html-file.jsp
struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/src/main/webapp/html-radio.jsp
Modified:
struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/src/main/webapp/html-file.jsp
URL:
http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/src/main/webapp/html-file.jsp?view=diff&rev=546295&r1=546294&r2=546295
==============================================================================
---
struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/src/main/webapp/html-file.jsp
(original)
+++
struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/src/main/webapp/html-file.jsp
Mon Jun 11 14:33:41 2007
@@ -32,19 +32,22 @@
</div>
<html-el:form action="html-file.do">
- <table>
+ <table cellpadding="10">
<tr>
+ <td>As String property</td>
<td>
<html-el:file property="stringProperty"/>
</td>
</tr>
<tr>
+ <td>As String property, disabled if not empty pageScope</td>
<td>
<html-el:file property="stringProperty"
disabled="${!empty pageScope}"/>
</td>
</tr>
<tr>
+ <td>Iterating over a collection as String properties</td>
<td>
<logic-el:iterate collection="${pageScope}" id="item">
<html-el:file property="stringProperty"
Modified:
struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/src/main/webapp/html-radio.jsp
URL:
http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/src/main/webapp/html-radio.jsp?view=diff&rev=546295&r1=546294&r2=546295
==============================================================================
---
struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/src/main/webapp/html-radio.jsp
(original)
+++
struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/src/main/webapp/html-radio.jsp
Mon Jun 11 14:33:41 2007
@@ -39,7 +39,7 @@
title="Flag One" tabindex="3" accesskey="1"
disabled="${!empty pageScope}"/>
</td>
- <td>flag one</td>
+ <td>flag one (disabled if not empty pageScope)</td>
</tr>
<tr>
<td>