You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Don Brown <mr...@twdata.org> on 2004/12/22 01:51:22 UTC

Extracting taglibs

My basic assumption in approaching taglibs extraction into its own
subproject is it can reference Struts classes, but Struts classes
shouldn't reference it.

If that is correct, here are the changes I see happening to extract taglibs:

1. Move o.a.s.taglib out into its own subproject src tree
2. Remove methods in RequestUtils that delegate to TagUtils.  They are
marked as deprecated anyways and explicitly say they will be removed
after 1.2.
3. Move properties in o.a.s.taglib.html.Constants that are referred to
in Struts core code into o.a.s.Globals. (cancel and token keys)
4. Move o.a.s.taglib.tiles to o.a.s.tiles.taglib  This one I'm not sure
about.  Should/can tiles be used w/o its jsp taglibs?  If not, then it
should stay in core w/ tiles.  Otherwise, it could be moved out too.

That should be it, as far as I can tell.  taglibs are already pretty
well isolated from the rest of Struts which will make the extraction
pretty straightforward.

I'd like to get this done before Christmas (25th) if there are no
objections.

Don


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org