R
Roedy Green
I am converting my own template engine over to Taglibs. One thing I
can do with my own engine is evaluate tags in included text at the
time the page including the text is expanded. The included tags get
evaluated in the context of the including page.
I am trying to find the equivalent feature in taglibs. I am getting
the impression that tags are all parsed ahead of time when the JSP is
converted to Java. Is there such a feature?
There seems to be a feature to include raw text at the last minute, or
tagged text at compile time.
If not, how do you deal with references in included boiler plate that
need to be made relative to the including page?
In particular I have a library of quotations, chock full of tag macros
(to handle things like birth/death dates, citations, relative
references to articles elsewhere on the website ...) then when
inserted in a page, should be expanded as if they have been in that
page all along.
I don't want to have to make up my mind which quotation to include
until the last second.
--
Roedy Green Canadian Mind Products
http://mindprod.com
Nothing is so good as it seems beforehand.
~ George Eliot (born: 1819-11-22 died: 1880-12-22 at age: 61) (Mary Ann Evans)
can do with my own engine is evaluate tags in included text at the
time the page including the text is expanded. The included tags get
evaluated in the context of the including page.
I am trying to find the equivalent feature in taglibs. I am getting
the impression that tags are all parsed ahead of time when the JSP is
converted to Java. Is there such a feature?
There seems to be a feature to include raw text at the last minute, or
tagged text at compile time.
If not, how do you deal with references in included boiler plate that
need to be made relative to the including page?
In particular I have a library of quotations, chock full of tag macros
(to handle things like birth/death dates, citations, relative
references to articles elsewhere on the website ...) then when
inserted in a page, should be expanded as if they have been in that
page all along.
I don't want to have to make up my mind which quotation to include
until the last second.
--
Roedy Green Canadian Mind Products
http://mindprod.com
Nothing is so good as it seems beforehand.
~ George Eliot (born: 1819-11-22 died: 1880-12-22 at age: 61) (Mary Ann Evans)