-
Nov 23rd, 2005, 09:13 AM
#1
Multiple Forms On The Same Page
Hi All,
I was wondering if it was possible to have multiple forms on the same page and if so, how to accomplish this. In my case the two forms are unrelated and have different command objects and controllers. For example, a home page that has a login form (using acegi) and a registration form (using a User form object and a SimpleFormController) .
Any help would be much appreciated,
P
-
Nov 24th, 2005, 12:40 AM
#2
This has been mentioned before, maybe this will help:
http://forum.springframework.org/arc...p/t-10379.html
The trick is to get either an instance of Errors wrapping for each command bean that is backing each form, or the command bean itself into the Model (or request). The <spring:bind> tags require either one to exist to work (the tags prefer the Errors instance, but the plain command will do).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules