struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musa...@apache.org
Subject svn commit: r678836 - in /struts/struts2/trunk/plugins/dojo/src: main/resources/template/ajax/ test/resources/org/apache/struts2/dojo/views/jsp/ui/
Date Tue, 22 Jul 2008 18:00:30 GMT
Author: musachy
Date: Tue Jul 22 11:00:30 2008
New Revision: 678836

URL: http://svn.apache.org/viewvc?rev=678836&view=rev
Log:
WW-2231 autocompleter: bug in autocompleter.ftl at disabled="false"

I also checked core tags and they are good.

Modified:
    struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/autocompleter.ftl
    struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/datetimepicker.ftl
    struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/div.ftl
    struts/struts2/trunk/plugins/dojo/src/test/resources/org/apache/struts2/dojo/views/jsp/ui/DateTimePickerTagTest-2.txt

Modified: struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/autocompleter.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/autocompleter.ftl?rev=678836&r1=678835&r2=678836&view=diff
==============================================================================
--- struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/autocompleter.ftl (original)
+++ struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/autocompleter.ftl Tue
Jul 22 11:00:30 2008
@@ -48,8 +48,8 @@
 <#if parameters.delay?exists>
  searchDelay="${parameters.delay?c}"<#rt/>
 </#if>
-<#if parameters.disabled?exists>
- disabled="${parameters.disabled?string?html}"<#rt/>
+<#if parameters.disabled?default(false)>
+ disabled="disabled"<#rt/>
 </#if>
 <#if parameters.dropdownWidth?exists>
  dropdownWidth="${parameters.dropdownWidth?c}"<#rt/>
@@ -168,11 +168,11 @@
             ${tmpListValue?html}<#t/>
     </option><#lt/>
     </@s.iterator>
-  </select>    
+  </select>
 </#if>
 <#if parameters.label?if_exists != "">
 	<#include "/${parameters.templateDir}/xhtml/controlfooter.ftl" />
-</#if>	
+</#if>
 <#if parameters.pushId>
 <script language="JavaScript" type="text/javascript">djConfig.searchIds.push("${parameters.id?html}");</script>
 </#if>

Modified: struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/datetimepicker.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/datetimepicker.ftl?rev=678836&r1=678835&r2=678836&view=diff
==============================================================================
--- struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/datetimepicker.ftl
(original)
+++ struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/datetimepicker.ftl
Tue Jul 22 11:00:30 2008
@@ -91,15 +91,15 @@
   <#if parameters.valueNotifyTopics?if_exists != "">
 	valueNotifyTopics="${parameters.valueNotifyTopics?html}"<#rt/>
   </#if>
-  <#if parameters.disabled?exists>
-    disabled="${parameters.disabled?string?html}"<#rt/>
+  <#if parameters.disabled?default(false)>
+    disabled="disabled"<#rt/>
   </#if>
   saveFormat="rfc"<#rt/>
   <#include "/${parameters.templateDir}/simple/scripting-events.ftl" />
 ></div>
 <#if parameters.label?if_exists != "">
 	<#include "/${parameters.templateDir}/xhtml/controlfooter.ftl" />
-</#if>	
+</#if>
 <#if parameters.pushId>
 <script language="JavaScript" type="text/javascript">djConfig.searchIds.push("${parameters.id?html}");</script>
 </#if>

Modified: struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/div.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/div.ftl?rev=678836&r1=678835&r2=678836&view=diff
==============================================================================
--- struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/div.ftl (original)
+++ struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/div.ftl Tue Jul 22
11:00:30 2008
@@ -45,8 +45,8 @@
   <#if parameters.preload?exists>
     preload="${parameters.preload?string?html}"<#rt/>
   </#if>
-  <#if parameters.disabled?exists>
-    disabled="${parameters.disabled?string?html}"<#rt/>
+  <#if parameters.disabled?default(false)>
+    disabled="disabled"<#rt/>
   </#if>
   <#include "/${parameters.templateDir}/ajax/ajax-common.ftl" />
   <#include "/${parameters.templateDir}/simple/scripting-events.ftl" />

Modified: struts/struts2/trunk/plugins/dojo/src/test/resources/org/apache/struts2/dojo/views/jsp/ui/DateTimePickerTagTest-2.txt
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/test/resources/org/apache/struts2/dojo/views/jsp/ui/DateTimePickerTagTest-2.txt?rev=678836&r1=678835&r2=678836&view=diff
==============================================================================
--- struts/struts2/trunk/plugins/dojo/src/test/resources/org/apache/struts2/dojo/views/jsp/ui/DateTimePickerTagTest-2.txt
(original)
+++ struts/struts2/trunk/plugins/dojo/src/test/resources/org/apache/struts2/dojo/views/jsp/ui/DateTimePickerTagTest-2.txt
Tue Jul 22 11:00:30 2008
@@ -1,4 +1,4 @@
-<div dojoType="struts:StrutsDatePicker" 
+<div dojoType="struts:StrutsDatePicker"
      id="id"
      value="2008-03-03"
      lang="i"
@@ -12,7 +12,7 @@
      staticDisplay="false"
      templateCssPath="j"
      valueNotifyTopics="k"
-     disabled="true"
+     disabled="disabled"
      saveFormat="rfc">
 </div>
 <script language="JavaScript" type="text/javascript">djConfig.searchIds.push("id");</script>



Mime
View raw message