At 9:39 AM -0500 1/5/06, Rick Reumann wrote:
Craig McClanahan wrote the following on 1/4/2006 4:24 PM:
On 1/4/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
Since I've been working on a rich client .NET app for a while, I've been
a bit out of the loop on all the latest 'goings on' in regard to
frameworks. (I couldn't keep up with all the Struts/JSF/Shale/WebWork
comments on the list a while a back.)
I'm actually quite happy with what Struts has to offer except for the
deal with having to use ActionForms. I'd really like a Struts-like
framework but allows me to use POJOs to capture my data and provides a
nice way to redisplay that data back to the user if validation fails (ie
a POJO that backs a form with a Data datatype will display back the
String they entered). The managed bean approach to JSF that I've used
some was REALLY nice - but I'm not yet convinced I want everything else
in regard to JSF at this time.
I don't know why ... JSF already does exactly what you are asking for here.
I knew you were going to say that:) I do love the JSF 'backing bean'
concept. Other aspects of JSF I'm not completely sold on yet, but I
think I will spend more time with it again shortly to get up to
speed the latest developments. (The last app I built with it was
about five months ago.)
And you may also want to look at the ModelDriven interface in
WebWork. I don't know of a succinct explanation of it online, but
it's discussed in the Webwork in Action book enough that you could
get the idea. But it would basically allow you to use POJOs to
collect form data instead of writing or configuring form classes.
Joe
--
Joe Germuska
[EMAIL PROTECTED]
http://blog.germuska.com
"Narrow minds are weapons made for mass destruction" -The Ex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]