Spring MVC default value? -
Whether "form: options" by Spring MVC " Is there a way to select the default value in the dropdown list? ?
I mean: If an option ID is equal to my model attribute ID, then I want to choose them by default.
If you do:
& lt; Form: Select Path = "optionName" & gt; & Lt; Form: option item = "$ {your_option_types}" /> & Lt; / Form: Selection & gt; This will pre-select your model attribute value.
Comments
Post a Comment