Return-Path: Mailing-List: contact struts-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list struts-dev@jakarta.apache.org Received: (qmail 4346 invoked from network); 29 Aug 2000 00:50:11 -0000 Received: from mercury.sun.com (192.9.25.1) by locus.apache.org with SMTP; 29 Aug 2000 00:50:11 -0000 Received: from taller.eng.sun.com ([129.144.250.34]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id RAA16728 for ; Mon, 28 Aug 2000 17:50:11 -0700 (PDT) Received: from eng.sun.com (florence [129.144.251.146]) by taller.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with ESMTP id RAA18963 for ; Mon, 28 Aug 2000 17:50:10 -0700 (PDT) Message-ID: <39AB08F9.18469B97@eng.sun.com> Date: Mon, 28 Aug 2000 17:51:05 -0700 From: "Craig R. McClanahan" X-Mailer: Mozilla 4.74 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: struts-dev@jakarta.apache.org Subject: Re: Struts TODO List and Future Planning References: <11898960E237D411B53B0060B06BB445424636@afexch1.fao.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N "Lacerda, Wellington (AFIS)" wrote: > Hi Craig, > > I believe segregating the tag library into logically divided sub-libraries > is a good idea, but I don't agree in separating i18n from forms. If we > review HTML4.01 we will see that i18n was embedded in every form tag, from > TEXT to SELECT, at least with 2 attributes: lang and dir (meaning language > and direction or possibly bi-directional [Chapter 8 of HTML4.01 spec]. So, > i18n will be everywhere in the interface part of the framework, so this is > my suggestion of partition: > I was specifically thinking of the tags that are sensitive to the Struts concept of a Locale stored in the user's session, like , but i can see your point. > > Interfacing - and > > Logic - as is > > Beans - as is > > Template - as is > > An alternative, if we can't stand with mixing message with forms (not much > as a sin in my point of view), would be to split interfacing into form and > text, but in that case text would cope only with the message tag. > One thing to remember is that, even if we were to split these tags into separate taglibs, they would still interoperate just as they do today. The thing that would be different is the tag library prefix. A benefit of splitting that hasn't been articulated yet is that the namespace for each taglib is unique. Thus, you can use reasonably short tag names like "get" in multiple different libraries, if you want to, instead of having to endlessly invent variations on the same theme in one monster library. > > Another thing I didn't see in the TODO that I believe would be nice is some > kind of mapping for XForms standard under discussion in w3c. What if instead > of javabeans/EJB my data structures are represented as XML documents ? > I am planning to do more personal research in this area. It fits into the general topic of decoupling the form tags from their current hard-coded notion of generating HTML forms, but there is undoubtedly more to it than that. Thanks for your comments! > > Wellington Silva > UN/FAO > Craig