Skip to Content
avatar image
Former Member

Enable and Disable part of RadioButtonGroupbykey values

Hi all,

I have a RadioButtonGroupbyKey and displaying values in 2 columns. Now, I have to enable first column radiobuttons and disable second column radiobuttons.

I used setEnable(boolean arg) method. It either enables or disables entire radiobuttons in 2 columns.

Please let me know how to achieve this.

Thank you,

Prasad

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Apr 05, 2007 at 09:40 PM

    Hi Prasad,

    It is not possible with RadioButtonGroupByKey. Create 2 RadioButtonGroupByKey instead bound to 2 attributes with different valuesets. Then you can disable them separetly.

    Best regards, Maksim Rashchynski.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 06, 2007 at 03:26 AM

    Prasad,

    Use differerent Values for the valueset (Group Key) properties of the Radiobuttons.

    Since both radio buttons are same value set while disabling one is affects

    the another.

    Regards,

    Ramganesan K.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 07, 2007 at 06:37 AM

    Hi,

    Thank you for your immediate responses. I worked on Maksim method and could finish my requirement.

    Thank you and I will award the points.

    Regards

    Prasad

    Add comment
    10|10000 characters needed characters exceeded