On 7/11/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Ok, yes they'd have to extend that in order to utilize your processing
> in the ActionForm functionality. Bottom line is I think all you've done
> is move where you do the processing... you moved it from the Actions to
> the ActionForms. If you like this approach definitely check out
> StrutsDialog. (Sorry Michael, not trying to oversimplify all that your
> stuff does, I realize it's much more than processing in the ActionForm,
> but if he's going to do this he might as well stand on the shoulders of
> someone who has done all the work already:)

On 7/11/05, Schaub, Stephen <[EMAIL PROTECTED]> wrote:
> I took a brief look, but I don't see how StrutsDialogs corresponds to what 
> I'm suggesting. It appears to maintain a separation of Action and ActionForm, 
> which I am proposing to combine.

First of all, to get it over with, Struts Dialogs has plans to combine
Action and ActionForm but it is not there yet :)

Second, the concept of Struts Dialogs is different. Stephen wants to
have one class -> one page relation. JSF or ASP.NET is the way to go
in this case. My library DOES NOT maintain one-to-one relations of
Java class to a page. Quite contrary, the whole idea is to serve
*different* pages from *one* location. And, if no other hi-tech stuff
like mod-rewrite is used, it means to serve different pages from one
action. This is NOT what Stephen wants.

On the other hand, Stephen, why do you want to have one class per
page? Page is not what you load by browser. You load a resource, which
can potentially generate many different pages. This is much more
flexible. Even MS is adding Front Controller to ASP.NET 2.0, realising
limitations of Page Controller architecture, which it uses in current
ASP.NET 1.1

Think again, why exactly you want to address to a *page* istead of
addressing to a *resource*.

P.S. As Craig M. explained, one of the reasons of having one-to-one
class->page relationship in JSF is the simplicity of this concept to
[current and former] desktop app developers. But it does not
necessarily mean that this concept is better, than Front Controller
used in Struts.

Michael.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to