Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Jul 2010
    Posts
    9
    Vote Rating
    0
    APOLLO06 is on a distinguished road

      0  

    Default setSelectionRequired(true) for radiogroup doesn't work

    setSelectionRequired(true) for radiogroup doesn't work


    Hello,

    If we create a new RadioGroup with "setSelectionRequired(true)" we can validate it even if no value is selectionned.

    Example :

    RadioGroup saveTypeRadioGroup = new RadioGroup("saveTypeRadioGroup");
    saveTypeRadioGroup.setId(RADIO);
    saveTypeRadioGroup.setFieldLabel(Crm.crmConstants.filter_type());
    saveTypeRadioGroup.setSelectionRequired(true);


    saveTypeRadioGroup.add(presetRadio);
    saveTypeRadioGroup.add(compoundRadio);

    If there is no value for presetRadio neither for compoundRadio, we can however validate it.

    Thank you for your response.

    Corinne

  2. #2
    Ext GWT Premium Member
    Join Date
    Jul 2010
    Posts
    9
    Vote Rating
    0
    APOLLO06 is on a distinguished road

      0  

    Default Problem is resoved

    Problem is resoved


    Hello,

    I have added a validator to my RadioGroup, now it is ok :

    if (c instanceof RadioGroup) {
    ((RadioGroup) c).setValidator(new Validator() {
    public String validate(Field<?> field, String value) {
    if (!((RadioGroup) c).isValid(true)) {
    return "";
    }
    return null;
    }
    });
    ((RadioGroup) c).setSelectionRequired(mandatory);

    Bye
    Corinne

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."