I've implemented a simple taglib class to support URL rewriting for 
the <frame> tag.

It's a simple subclass of LinkTag overriding doStartTag to include 
added attributes and put the URI in "src" instead of "href".  It 
supports all of the attributes in HTML 4.0 
<http://www.w3.org/TR/REC-html40/present/frames.html#h-16.2.2>

One question I would consider open is how to best handle "longdesc" 
-- this is an HTML 4.0 attribute (which I'd never heard of before) 
which is supposed to take a URI.  I simply put it in as an attribute 
which would be copied over, but probably it should support all of the 
same URL rewriting that other URIs can get.  Coming up with a 
graceful solution to that is more than I have time for right now.

I wasn't sure how to submit the source to this list: as an 
attachment, or as content of a message, or what...  please advise.

Thanks,
        Joe

-- 
Joe Germuska
Lead Programmer
JGSullivan Interactive, Inc.
[EMAIL PROTECTED]      312/943-1600 x2488 (v)  312/943-9675 (f)
[EMAIL PROTECTED]  312/907-7893 (m)        7183 (nextel private)

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to