This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

AnnouncementAnnouncement Module

Collapse

No announcement yet.

Do I need hidden buttons for each transition in Spring WebFlow2 on my form?Page Title Module

Do I need hidden buttons for each transition in Spring WebFlow2 on my form?

Sep 5th, 2012, 07:59 AM

Do I need hidden buttons for each transition in Spring WebFlow2 on my form?

I am starting to not like Spring WebFlow2 if this is true. Someone is telling me I need a hidden button for each transition I would like my form to have. Example If I have a form with a submit and reset I understand I should use two buttons.

But if I have a form that needs to kick off a transition to load some data on the form do I really need a button for each transition type? I would found this crazy but is it true?

He is my store. I have a form that the user starts to fill out and once the user clicks on a radio button I need to load a number of schools into a dropdown for the user to pick. The only way I found to do this is to use javascript and a hidden button to kick off the loadschool transition type. example: