79533645

Date: 2025-03-25 12:26:17
Score: 1
Natty:
Report link

I'm a bit late to the show, but maybe this will be helpful to others:

Create a method in the action

public boolean isRadioDisabled(boolean disabRgt){
    return disabRgt;
}

And in your JSP:

<s:radio /*...*/ disabled="isRadioDisabled(disabRgt)" />

Works with Struts 7.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: old_account