Hi,
Why there is no activity connected with my message about titles and
proposal for some new features? <see attach>
May be this problem is uninteresting now?
Working for current project we must make a decisions about some
features and future evolution so active feedback will be very
desirable.
It can be interesting to discuss it for the beginning, in any case.
--- Begin Message ---
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?
--
Regards,
Andrew mailto:[EMAIL PROTECTED]
-------------------------------------------------------
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
--- End Message ---