Dec 17th, 2006, 02:02 PM
portlet bug with form submission...
I've got BIG problem with spring portlet mvc on jboss portal: supose I am on page /portal/portal/myPortal/somePage and on this page are a few windows (with forms - derived from SimpleFormController). When I submit one of them - OK, the success view is displayed, but when I go to another page and go back to somePage the form is submitted (bo by back in my web browser, but by some link to that page)!!! The errors, if are any, are displayed and often i get exception: could'n retrieve command (errors) object from portlet session. Why is that? Setting session form to true/false doesn't change this. I think that setting parameters about form submission in portlet session is one big mistake. I hope someone will tell mi what it is that way and what can I do to make my work better. What can I do take control over form submitting? What is the parameter name? Where can I set it??
Spring (IoC) is good, but my experience with mvc tell that spring mvc isn't , I hope JSF will satisfy my needs.
Dec 18th, 2006, 11:26 AM
I don't know if it is so helpful, but there was recently a thread with maybe the same problem - though it completely works for me as you can read there.