myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svieu...@apache.org
Subject cvs commit: incubator-myfaces/src/share/org/apache/myfaces/renderkit/html HtmlCheckboxRendererBase.java
Date Fri, 07 Jan 2005 01:54:36 GMT
svieujot    2005/01/06 17:54:36

  Modified:    src/share/org/apache/myfaces/renderkit RendererUtils.java
               src/share/org/apache/myfaces/renderkit/html
                        HtmlCheckboxRendererBase.java
  Log:
  radioRenderer wasn't looking at the submitted value.
  
  Revision  Changes    Path
  1.18      +7 -4      incubator-myfaces/src/share/org/apache/myfaces/renderkit/RendererUtils.java
  
  Index: RendererUtils.java
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/src/share/org/apache/myfaces/renderkit/RendererUtils.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- RendererUtils.java	5 Jan 2005 23:06:43 -0000	1.17
  +++ RendererUtils.java	7 Jan 2005 01:54:35 -0000	1.18
  @@ -36,6 +36,9 @@
    * @author Manfred Geiler (latest modification by $Author$)
    * @version $Revision$ $Date$
    * $Log$
  + * Revision 1.18  2005/01/07 01:54:35  svieujot
  + * radioRenderer wasn't looking at the submitted value.
  + *
    * Revision 1.17  2005/01/05 23:06:43  svieujot
    * Fix bug : checkbox wasn't looking at the submitted value.
    *
  @@ -427,7 +430,7 @@
               UIComponent child = (UIComponent)children.next();
               if (child instanceof UISelectItem)
               {
  -                Object value = ((UISelectItem)child).getValue();
  +                Object value = getValue( child );
                   if (value != null)
                   {
                       //get SelectItem from model via value binding
  @@ -460,7 +463,7 @@
               {
                   UISelectItems items = ((UISelectItems) child);
   
  -                Object value = items.getValue();
  +                Object value = items.getValue(); // TODO : Check here for getSubmittedValue.
   
                   if (value instanceof SelectItem)
                   {
  
  
  
  1.13      +4 -4      incubator-myfaces/src/share/org/apache/myfaces/renderkit/html/HtmlCheckboxRendererBase.java
  
  Index: HtmlCheckboxRendererBase.java
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/src/share/org/apache/myfaces/renderkit/html/HtmlCheckboxRendererBase.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- HtmlCheckboxRendererBase.java	5 Jan 2005 23:06:43 -0000	1.12
  +++ HtmlCheckboxRendererBase.java	7 Jan 2005 01:54:36 -0000	1.13
  @@ -39,9 +39,12 @@
   /**
    * @author Thomas Spiegl (latest modification by $Author$)
    * @author Anton Koinov
  - * @version $Revision$ $Date$ $Log:
  - *          HtmlCheckboxRendererBase.java,v $ Revision 1.9 2004/10/13 11:51:01
  - *          matze renamed packages to org.apache
  + * @version $Revision$ $Date$
  + * $Log$
  + * Revision 1.13  2005/01/07 01:54:36  svieujot
  + * radioRenderer wasn't looking at the submitted value.
  + *
  + * Revision 1.9 2004/10/13 11:51:01 matze renamed packages to org.apache
    * 
    * Revision 1.8 2004/07/01 22:00:56 mwessendorf ASF switch
    * 
  
  
  

Mime
View raw message