Model Glue Bean, and multi page form demo app

I've bean(bad pun I know) playing around with makeEventBean in Model Glue.

I was going to do a write up about it, but decided that that took up too much time as it also covered a multi-page form.

Posted: 07-Mar-2006

View: 4934

Permalink: here

Comments

Thanks for your reply to the list, I'm going to download this and look it over. This may be the route I'm going.

#1 Dan Sorensen
06/Apr/06 6:04 PM

Andy,

In your controller's validatePage2(), you assume that the session.formBean has already been initialized (which it would if someone correctly filled out page 1). But it may throw an exception if someone let the session expire before they submitted page 2. You may want to add an additional function or two to manage formBean.

Other than that minor issue, this was really helpful. Thanks for posting this code. :-)

Dan

#2 Dan Sorensen
06/Apr/06 6:55 PM