Hi,
i don't know if it's the good group to ask :
I have two applications :
one generate jsp page
this other interpret jsp pages as Tomcat.
The first one create pages with tags inside. Those pages includes
already tags that are designed to generate other tag.
My question is if in the first pages :
i have a <if tag> is it possible to generate in the second page an <if >
(exactly the same) with an interpreter, Jasper ... in order for this
pages and the generated they work the same (the exact same result) in
Jsp container (Tomcat).
Here is an example :
myLoopTag loops over a collection, defines a var 'current' which is the
current element
<mylib:myLoopTag >
<c:if test="${current.blue}">
My tag is blue.
</c:if>
<mylib:myLoopTag />
I want this page to generate another page like :
<mylib:myNextTag >
<c:if test="${current.blue}">
My tag is blue.
</c:if>
<mylib:myNextTag />
<mylib:myNextTag >
<c:if test="${current.blue}">
My tag is blue.
</c:if>
<mylib:myNextTag />
<mylib:myNextTag >
<c:if test="${current.blue}">
My tag is blue.
</c:if>
<mylib:myNextTag />
Both pages runs in the Same servlet container and at runtime have the
same presentation :
My tag is blue.
My tag is blue.
My tag is blue.
If all tags are blue.
Thanx
--
Thomas Colin de Verdi�re
SCORT
http://www.scort.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>