:: Forum >>

Help Me, Please. What i wrong?

from this code :
    var gobj = new AW.UI.Group;
        var objl = new AW.UI.Label;
        var itemTextArray = ["Male", "Female"];
        var itemValueArray = ["M", "F"];
        var radio = new AW.UI.Radio;
        //radio.setClass("flow", "inline");
        //radio.setClass("flow", "horizontal");
        var xxx = "<br>"+objl+" : "+radio;
        gobj.setContent("object", xxx);
    /*--------------- EVENT MODULE --------------------*/
    radio.onSelectedItemsChanged = function(items){
        var index = items[0]; // assume there is one selected item
        var value = this.getItemValue(index);

    // update hidden input tag - 'data' element
    radio.onControlValueChanged = function(){

Radio Button It's Not work On IE but on 'Firefox and Opera' Radio it work!
Tuesday, April 1, 2008
Sorry, this is a bug in AW 2.5.1 - the Group class breaks event processing of other controls if you insert them inside the group using setContent() method. The only workaround is to position the controls on top of the group (using absolute or relative positioning) and not inside.
Alex (ActiveWidgets)
Tuesday, April 1, 2008

This topic is archived.

Back to support forum

Forum search