Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: All

    • Issuezilla Id:
      18

      Description

      Hello!!

      The SelectOneMenu component fails when I don't select any option (the
      problem appears in "processValidations" method in LifecycleImpl class). I see
      that the problem is in "Ajax.js" (in "A4J.Query.prototype"):
      ...
      Now :
      'select-one' : function(control)

      { this._value_query(control); }

      ,

      This option sends in any situation a paratemer with value="", and when the
      component tries to validate the value, this validation fails.

      And i think that a better solution is:

      'select-one' : function(control){
      for( var i in control.childNodes ){
      var child=control.childNodes[i];
      if( child.selected )

      { this._value_query(control); break; }

      }
      },

      if i don't select any option, i mustn't send the parameter.

      Thanks.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            mauro_castaldo
            Reporter:
            junglika
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: