speaking of equivalent to a cf tag...
Here's one that's stumped me. I'm trying to replicate the functionality of
<cfhtmlhead>. So basically, I need to create a custom tag that when called,
will modify the <head> tag of the calling jsp. The problem is that the
<head> tag in the calling jsp occurs before the custom tag. So how can I go
back and modify something that's already been done? Here's an example of
what the calling jsp would look like:
<html>
<head></head>
<body>
<mytaglib:mytag/>
</body>
and what i want to do inside the custom tag is manipulate the html <head>
tag to contain a few lines of javascript. But how do you manipulate content
that comes BEFORE the call to the custom tag?
I've come up with a very dirty solution that involves creating a new jsp,
copying the contents of the old jsp to the new jsp, and then modifying the
<head> tag during the copy. But that opens up a whole new bag of worms.
Anyone have any other ideas???
thx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists