click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r931127 - in /click/trunk/click: documentation/docs/roadmap-changes.html framework/src/org/apache/click/control/RadioGroup.java
Date Tue, 06 Apr 2010 12:48:05 GMT
Author: sabob
Date: Tue Apr  6 12:48:05 2010
New Revision: 931127

URL: http://svn.apache.org/viewvc?rev=931127&view=rev
Log:
wrap radioGroup inside span element. CLK-577

Modified:
    click/trunk/click/documentation/docs/roadmap-changes.html
    click/trunk/click/framework/src/org/apache/click/control/RadioGroup.java

Modified: click/trunk/click/documentation/docs/roadmap-changes.html
URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/docs/roadmap-changes.html?rev=931127&r1=931126&r2=931127&view=diff
==============================================================================
--- click/trunk/click/documentation/docs/roadmap-changes.html (original)
+++ click/trunk/click/documentation/docs/roadmap-changes.html Tue Apr  6 12:48:05 2010
@@ -198,11 +198,22 @@ includes improved Ajax support and @Bind
         [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-610">CLK-610</a>].
       </li>
       <li class="change">
+        Added Polish resource bundle for DateField. This issue was raised and
+        fixed by Rafal Rusin
+        [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-624">CLK-624</a>].
+      </li>
+      <li class="change">
         Migrated controls to import resources through Elements and the
         <tt>getHeadElements</tt> method
         [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-647">CLK-647</a>].
       </li>
       <li class="change">
+        Fixed issue where RadioGroup label referenced a non-existing ID. RadioGroup
+        is now wrapped inside a span tag with the given ID. This issue was raised
+        and fixed by Finn Bock
+        [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-577">CLK-577</a>].
+      </li>
+      <li class="change">
         Replaced Page and Control getMessage methods with varargs equivalents
         [<a target="_blank" href="https://issues.apache.org/jira/browse/CLK-604">CLK-604</a>].
       </li>

Modified: click/trunk/click/framework/src/org/apache/click/control/RadioGroup.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/control/RadioGroup.java?rev=931127&r1=931126&r2=931127&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/control/RadioGroup.java (original)
+++ click/trunk/click/framework/src/org/apache/click/control/RadioGroup.java Tue Apr  6 12:48:05
2010
@@ -492,6 +492,11 @@ public class RadioGroup extends Field {
      */
     @Override
     public void render(HtmlStringBuffer buffer) {
+        buffer.elementStart("span");
+        buffer.appendAttribute("id", getId());
+        appendAttributes(buffer);
+        buffer.closeTag();
+
         String value = getValue();
 
         final int size = getRadioList().size();
@@ -520,6 +525,8 @@ public class RadioGroup extends Field {
                 buffer.append("<br/>");
             }
         }
+
+        buffer.elementEnd("span");
     }
 
     /**



Mime
View raw message