Consider the following scenario:
I use Spring form tags to help process the form. I use a with tags. Values โโare entered in select using ENUM. However, now you need to make the parameters dynamic and reliable for another control in the form. Depending on the choice of value in another control show and hide certain options or add additional parameters. I looked pretty complicated and researched, but Spring tags do not support this use case of sorta. How do I solve this problem.
I have a solution, but I donโt know how much better it is. Set the cssClass attribute for the parameters and show and hide the parameters using jquery / javascript.
Please suggest a suitable solution if you encounter this problem.
source share