With JSP 2.0, the expression language will allow you to dynamically set the titles for these tags without doing any extra work. Does anyone else think we should implement this? I'd rather wait or EL in JSP 2.0 before adding other expression language support. I suppose the <title> tag probably makes sense here and it seems quite simple.
John On Fri, 4 Jul 2003, Andrew Lapanik wrote: > Hi, > > > In my current application I need to show titles of table using > different ready-made resource bundles. They were written some times > ago and not separated using Struts application contexts, for example. > In our previous code we used JSTL <fmt> tags to show titles and we > would like to keep this tradition in our current projects. > In that case I include <title> tag in my local version of display09 > module that looks like > > <column> > <title><fmt resource=".." key=".."></title> > Column content... > </column> > > The code of this tag is very simple: > > package org.apache.taglibs.display; > > import javax.servlet.jsp.*; > import javax.servlet.jsp.tagext.*; > > // setting column title by using body of this tag > public class TitleTag extends BodyTagSupport > { > public int doAfterBody() throws JspTagException > { > Tag parentTag = getParent(); > if(parentTag instanceof ColumnTag) > { > ColumnTag columnTag = (ColumnTag)parentTag; > columnTag.setTitle(getBodyContent().getString()); > } > else > { > throw new JspTagException("Use title tag inside column tag."); > } > return SKIP_BODY; > } > } > > So we need to take a decision how it will be looking in future release > of displaytag, because we need to implement this functionality now but > to count on support of it in future releases of taglib. > > We discussed it with John York not so long ago, and came to conclusion > that it might look like i wrought before. But it will be great to > finally define the way the support of table titles in case of different > resource bundles (and Struts) can be implemented. > > And the second. > I would like to introduce to the developers the examples of our > taglibs for common web controls that we would like to offer to > include in the display taglib.They are: > > http://194.226.121.5:8081/modalconfirm-example > http://194.226.121.5:8081/pnp-example > http://194.226.121.5:8081/tabcontrol-example > http://194.226.121.5:8081/dhtmltree-example > > I think we can begin the discussion of implementation of this controls > based on our experience. > > What do you think about that? > > -- John York Software Engineer CareerSite Corporation ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel