Вопрос

This may sound a bit odd, I have two forms in a single HTML page with different wicket id's.Is it possible that when a user clicks a button eg.(save) it saves the data from both the forms together.I can't keep a single form. I am new to wicket,Thanks

Это было полезно?

Решение

You could add both forms to a third form as Wicket supports nested forms. This way your button could be attached to the outer form submitting all of the form data.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top