Author: bayard
Date: Mon Jun 11 14:33:10 2007
New Revision: 546294

URL: http://svn.apache.org/viewvc?view=rev&rev=546294
Log:
Disbling the two duplicated property fields on the bottom left too, otherwise 
it's confusing to the user

Modified:
    
struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/src/main/webapp/html-setters.jsp

Modified: 
struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/src/main/webapp/html-setters.jsp
URL: 
http://svn.apache.org/viewvc/struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/src/main/webapp/html-setters.jsp?view=diff&rev=546294&r1=546293&r2=546294
==============================================================================
--- 
struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/src/main/webapp/html-setters.jsp
 (original)
+++ 
struts/struts1/branches/STRUTS_1_3_BRANCH/apps/el-example/src/main/webapp/html-setters.jsp
 Mon Jun 11 14:33:10 2007
@@ -158,7 +158,8 @@
 <tr>
     <th align="right">stringIndexed[1]</th>
     <td align="left">
-        <html-el:textarea property="stringIndexed[1]" rows="${1+3}"/>
+        <html-el:textarea disabled="${!empty pageScope}"
+                          property="stringIndexed[1]" rows="${1+3}"/>
     </td>
     <th align="right">nested.stringIndexed[1]</th>
     <td align="left">
@@ -170,7 +171,8 @@
 <tr>
     <th align="right">stringIndexed[1]</th>
     <td align="left">
-        <html-el:text property="stringIndexed[1]" size="32"/>
+        <html-el:text property="stringIndexed[1]" 
+                      disabled="${!empty pageScope}" size="32"/>
     </td>
     <th align="right">nested.stringIndexed[1]</th>
     <td align="left">


Reply via email to