How to render a disabled control in struts 2.0
posted 9 years ago
Can anyone please tell me how can we disable/enable the html controls in struts 2.0. The state of the control should not be hard coded in the jsps rather the state is determined by some business logic on the server side.
posted 8 years ago
I don't know much about Struts 2.0, but you could add properties to your form/action and then jstl or logic tags in the jsp to control how each control is shown basic on the properties.