You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by "Scott M. Stirling" <ss...@mediaone.net> on 2001/01/07 10:03:36 UTC

[PROPOSALS] Ant Taglib Update, Committer, Taglib Documenting, Jakarta Taglib App

Hi,

Ant Taglib Update & Commit(ter):
I am attaching an updated Ant JSP taglib, partly just to make an excuse
for "officially" asking for something.  I see I can ask to be voted as a
committer to this project.  I would like to ask now, if the existing
committers will have it.  In tandem with that, I'd like to propose to
have the Ant taglib committed to CVS (regardless of how the vote for
committer turns out).

I've updated the Ant taglib with the <tstamp/> tag, which operates as it
does in Ant.  It creates the usual three properties (scripting variables
here, to be JSP-like): TSTAMP, DSTAMP, and TODAY.  I'd like comments on
whether anyone thinks the <tstamp/> tag's scripting vars should have
scope attributes.  Right now they default to page.  I'll be working on
the taglib some more this weekend.  One of my first goals now is to
implement the Fileset and Pattern functionality, since oodles of other
tasks ride on those being implemented.

I saw Glenn Nielsen updating the build.xml files in CVS for all the
taglibs.  I had already done that for the ant taglib, so that's done
too.

Taglib Documenting:
On a related note, I updated the taglib-docs.xsl I used to auto-gen my
HTML and TLD docs.  It now tests for the presence or absence of tag
attributes and gens more appropriate HTML than before (you used to get
an empty table in HTML if no attributes were present).  Comments in
<usage> elements are also handled so that if you don't use one, you
don't get empty blue comment tags in your HTML.  I'll continuing hacking
on this as I go forward with the Ant taglib.  It sure is handy to have
it all generated this way.  I promise tomorrow I'll take at least one of
the existing taglibs that has out-of-date HTML doc and update it with
this and send it back.  In fact, I'd have no problem converting all of
them.

Jakarta Taglib App:
Final question, what do you think about examples that show inter-taglib
interactions?  For (minor) example, one could use the page taglib to
show how tags in different taglibs can interact by using the
<page:attribute> tag to get the <tstamp/> vars set in the pageContext.
But I was hesitant to do it because then I'd have to include the page
taglib jar and configuration info in the Ant taglib.  So I was thinking
about a common app that people could download, but that showed the
interactions among multiple Jakarta tag libraries.  It would be
interesting to see how much of a Web app we can put together with these
now.  I think when the JDBC taglib hits the CVS, we'll be capable of
building something interesting.  It could be bundled with HypersonicSQL,
pre-configured and ready to go out of the box.

Thanks for your consideration and time.

Best regards,

Scott Stirling
West Newton, MA

[VOTE] Ant Taglib Update, Committer, Taglib Documenting, Jakarta Taglib App

Posted by Glenn Nielsen <gl...@voyager.apg.more.net>.
+1 for adding Scott as a taglib committer
+1 for adding the ant taglib
+1 for letting Scott implement using XML/XSLT to generate taglib docs.

Thanks Scott!

Glenn

"Scott M. Stirling" wrote:
> 
> Hi,
> 
> Ant Taglib Update & Commit(ter):
> I am attaching an updated Ant JSP taglib, partly just to make an excuse
> for "officially" asking for something.  I see I can ask to be voted as a
> committer to this project.  I would like to ask now, if the existing
> committers will have it.  In tandem with that, I'd like to propose to
> have the Ant taglib committed to CVS (regardless of how the vote for
> committer turns out).
> 
> I've updated the Ant taglib with the <tstamp/> tag, which operates as it
> does in Ant.  It creates the usual three properties (scripting variables
> here, to be JSP-like): TSTAMP, DSTAMP, and TODAY.  I'd like comments on
> whether anyone thinks the <tstamp/> tag's scripting vars should have
> scope attributes.  Right now they default to page.  I'll be working on
> the taglib some more this weekend.  One of my first goals now is to
> implement the Fileset and Pattern functionality, since oodles of other
> tasks ride on those being implemented.
> 
> I saw Glenn Nielsen updating the build.xml files in CVS for all the
> taglibs.  I had already done that for the ant taglib, so that's done
> too.
> 
> Taglib Documenting:
> On a related note, I updated the taglib-docs.xsl I used to auto-gen my
> HTML and TLD docs.  It now tests for the presence or absence of tag
> attributes and gens more appropriate HTML than before (you used to get
> an empty table in HTML if no attributes were present).  Comments in
> <usage> elements are also handled so that if you don't use one, you
> don't get empty blue comment tags in your HTML.  I'll continuing hacking
> on this as I go forward with the Ant taglib.  It sure is handy to have
> it all generated this way.  I promise tomorrow I'll take at least one of
> the existing taglibs that has out-of-date HTML doc and update it with
> this and send it back.  In fact, I'd have no problem converting all of
> them.
> 
> Jakarta Taglib App:
> Final question, what do you think about examples that show inter-taglib
> interactions?  For (minor) example, one could use the page taglib to
> show how tags in different taglibs can interact by using the
> <page:attribute> tag to get the <tstamp/> vars set in the pageContext.
> But I was hesitant to do it because then I'd have to include the page
> taglib jar and configuration info in the Ant taglib.  So I was thinking
> about a common app that people could download, but that showed the
> interactions among multiple Jakarta tag libraries.  It would be
> interesting to see how much of a Web app we can put together with these
> now.  I think when the JDBC taglib hits the CVS, we'll be capable of
> building something interesting.  It could be bundled with HypersonicSQL,
> pre-configured and ready to go out of the box.
> 
> Thanks for your consideration and time.
> 
> Best regards,
> 
> Scott Stirling
> West Newton, MA
> 
>   ------------------------------------------------------------------------------------------
>                           Name: ant-tags.zip
>    ant-tags.zip           Type: Zip Compressed Data (application/x-zip-compressed)
>                       Encoding: base64
>                Download Status: Not downloaded with message

-- 
----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------