On Thu, 31 Oct 2002, Alan P Sexton wrote:
> Date: Thu, 31 Oct 2002 23:16:04 +0000 > From: Alan P Sexton <[EMAIL PROTECTED]> > Reply-To: Struts Developers List <[EMAIL PROTECTED]> > To: Struts Developers List <[EMAIL PROTECTED]> > Subject: Re: Struts taglib > > > Currently I am using the tiles, bean, html, and logic taglibs, and am about > to start using nested. If these will eventually be phased out "Phased out" is probably too strong -- especially in a Struts 1.x roadmap. I'd be surprised if we even formally deprecated them. > then I am > very happy to move to other taglibs. It would be very nice if there was > some kind of documentation on how the current libraries match with the > alternatives: e.g. which struts tags are replaceable with current > JSTL tags and which are not. This would help me and others like me, in > making the transition early and avoiding the pain of more major work > later by replacing as many tag uses as possible now. > For JSTL, I think the docs for the struts-el library that David Karr has initiated cover the mapping pretty well. This library was deliberately designed to ease the transition by mapping (pretty much) one-to-one with existing Struts tags, showing either the replacements in JSTL or providing an enhancement to the existing Struts tags to support JSTL's expression language. It's available in the "contrib" directory in recent nightly builds. I would encourage you to start experimenting with these tags, and the JSTL tags, right now -- assuming, of course, you are on a Servlet 2.3 / JSP 1.2 container, which is a JSTL prerequisite. For JSF, the final form of the set of available JSF components hasn't been finalized yet, so there's no formal mapping. You can pretty much assume there will be components (and corresponding tags if you're using JSP) for a form and all the individual input fields, plus components for more complex things like lists, datagrids, and/or tree controls. It's too early to know what the precise mapping will be, but you can assume that a Struts app would choose either the struts-html OR JavaServer Faces component tags on any given page. As I've announced previously, there will be a nice integration layer that lets you migrate existing apps, one page at a time. > Any comments? > > Alan Craig -- To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>
