Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 62790 invoked from network); 28 Jun 2005 04:43:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jun 2005 04:43:04 -0000 Received: (qmail 40671 invoked by uid 500); 28 Jun 2005 04:42:57 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 40634 invoked by uid 500); 28 Jun 2005 04:42:56 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 40617 invoked by uid 99); 28 Jun 2005 04:42:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2005 21:42:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [64.235.234.14] (HELO chiron.lunarpages.com) (64.235.234.14) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2005 21:42:54 -0700 Received: from pcp05109618pcs.potshe01.pa.comcast.net ([69.139.22.34] helo=[127.0.0.1]) by chiron.lunarpages.com with esmtpa (Exim 4.50) id 1Dn7vu-0005E7-Rh for dev@struts.apache.org; Mon, 27 Jun 2005 21:42:51 -0700 Message-ID: <42C0D4FC.1060202@omnytex.com> Date: Tue, 28 Jun 2005 00:41:32 -0400 From: "Frank W. Zammetti" Reply-To: fzlists@omnytex.com Organization: Omnytex Technologies User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Struts Developers List Subject: Re: How about including Struts controls/dialogs library into core Struts? References: <1db115340506272120737926e7@mail.gmail.com> In-Reply-To: <1db115340506272120737926e7@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - chiron.lunarpages.com X-AntiAbuse: Original Domain - struts.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - omnytex.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Michael, I took a peek at your sample page, specifically the Dialog Action sample... It says: "Enter an invalid login/password combination, then enter a valid combination. You will be transferred to user home page. Return back from the home page and notice that you see a stale login page with invalid login information and with error message." This is not what happens for me... I entered invalid info, got the error message, then entered guest/guest and got to the "home" page. When I clicked the back button, I was on the login screen with no error message and guest/guest in the textboxes. My interpretation of what it states should happen seems to differ from what does happen. Am I misreading it? One general comment... you've posted about this a number of times, and I've glanced at it at least a few of those times... I still do not see what all this added complexity gets me. It might just be me not getting it, but I wonder if I am the only one? Frank Michael Jouravlev wrote: > Yep, it is me again. Third email in two hours. I finished about 80% of > code and about 40% of docs (tutorials + javadocs) for Struts Dialogs > project. It is not finalized yet, but is taking shape. Thus, I want to > test waters to include dialog functionality into Struts core, > preferably into 1.3. > > First, live demos. > * the main demo page: http://www.superinterface.com/strutsdialog which > contains some noteworthy samples, like: > * Login web control, which has two states: "not logged in" and "logged > in" and two corresponding pages: > http://www.superinterface.com/strutsdialog/dialogloginactioncontrol.do > * Master JSP page containing child web control: > http://www.superinterface.com/strutsdialog/embeddedmasterpage-tomcat.do > The login/userinfo cell in the top-left is the same web control as in > prior example, it differs only in page design and in View location. > Note, that you submit login info into a separate action, not into one > which is displayed in the address bar. > * Wizard: http://www.superinterface.com/strutsdialog/wizardaction.do > You probably saw it before, but now it is nicely integrated into > Struts Dialogs. > > I would like you guys to check out the live examples and to consider > the feasibility of including this stuff (possibly, with changes and > updates) into Struts core. > > The reason is that Struts is a controller framework. Check the > packages: actions, taglibs, tiles and validator. The latter two > pachages are not used by every Struts user. Taglibs? Aren't they > obsolete, now when JSTL is available? So, average Struts developer is > left with actions and config. All other frameworks, even Spring, which > is not very strong in UI, have UI layer. Many of them have > business/persistence integration layer and other good stuff. > > I think that adding some UI classes into Struts would be a good thing. > Classes that I developed, pick up where DispatchAction left, and move > on almost to JSF-like integration with business objects and with > server-side viewstate, but without JSF tags. > > Currently the following actions are available: > * SelectAction - improved DispatchAction, works with pushbuttons and > image buttons. > * DialogAction - implements two-phase input processing aka > Post-redirect-Get. Manages error messages, allows to reload pages > without implicit resubmit. > * CRUDAction - all CRUD operations in one action and one interface. > * WizardAction - allows to create robust web wizards > > Also, as you might see from master/child example, it is very easy to > create a componentized page with child controls, and you don't even > need Porlet API for it! Granted, this component application would not > have extensive API, but is it really needed? In most cases all one > needs is to drop control onto page and to have it rendered when page > is rendered. Data exchange is possible through session object. > > Project homepage (not classes are described yet): > http://struts.sourceforge.net/strutsdialogs/index.html > > I want to initiate some traction, while I am finishing with > documentation and with final touches on the code. > > Hoping for positive replies ;-) > > Michael. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org > For additional commands, e-mail: dev-help@struts.apache.org > > > > > -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org