I've switched some of my applications over to FormBeanUser, and I'm
really happy with the results.  For more complicated applications, it
really cleans up the messy inheritance hierarchy you find yourself
building in order to deal with common form elements across multiple
pages.

Because I also hate passing around objects everywhere in my controllers,
I created a hybrid of the two approaches:  ThrowawayFormBeanUser.  This
way I can provide "service" methods on base controller classes without
having to pass the context object everywhere.  I'll check it into CVS
tonight.

I can put up some example code, too, but it's really simple.  What is
confusing you?

Jeff Schnitzer
[EMAIL PROTECTED]

> -----Original Message-----
> From: Shackelford, John-Mason [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 03, 2002 2:23 PM
> To: '[EMAIL PROTECTED]'
> Subject: [Mav-user] FormBeanUser examples
> 
> I have always used the ThrowawayBeans when working with Maverick
> previously
> but I am looking at porting an application with more complex
controller
> logic. Would anyone be willing to share code examples which use
> FormUserBean
> or another approach which separates setting of request parameters from
the
> controller? While using the controller to collect info from the
request
> and
> then handing it off to a JSP view is very simple, it seems to me it
may be
> cleaner to hand off a view object that may (or may not) have a
reference
> to
> an object that summarizes request data.
> 
> Thanks,
> 
> John-Mason Shackelford
> 
> Software Developer
> NCS Pearson - Measurement Services
> 2510 North Dodge St.
> Iowa City, IA 52245
> 319-354-9200x6214
> [EMAIL PROTECTED]
> 
> 
>
************************************************************************
**
> **
> This email may contain confidential material.
> If you were not an intended recipient,
> Please notify the sender and delete all copies.
> We may monitor email to and from our network.
>
************************************************************************
**
> **
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Microsoft Visual Studio.NET
> comprehensive development tool, built to increase your
> productivity. Try a free online hosted session at:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
> [INVALID FOOTER]



-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET
comprehensive development tool, built to increase your
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
[INVALID FOOTER]

Reply via email to