0

If I'm using a standard HTML <select> tag, I can optionally disable it based on a given condition, by placing something like the following within the tag:

${myCondition ? 'disabled' : ''}

However, when using Spring's Form Tag Library, I can't place an expression within the tag. Is there any way, when using the Spring form:select tag, to disable the select conditionally, without resorting to JavaScript?

GordyB
  • 179
  • 4
  • 14

0 Answers0