Is it possible to have the parameter of a custom tag be filled by another custom tag? I thought you could do it, if you set the tag's attribute that you want to be able to have the content poopulated by a custom tag retexprvalue item to true. But I get the same error when I do that as when I do not have that there. Here is an exampl of what I am trying to do with the relevant TLD snippets below as well.
[ January 09, 2002: Message edited by: John Brumbaugh ]
First of all, which App server are you using? What is the error message you're getting? The JSP 1.2 spec doesn't come out and say this is legal or not, the only relative line I could find was this:
JSP7.5 Validation There are a number of reasons why the structure of a JSP page should conform to some validation rules: * Request-time semantics: eg. a subelement may require the information from some enclosing element at request-time
So... according to that, it seems as though its possible... but of course it also seems up to the interpretation of the Application Server Developer.
I am using Apache Tomcat 4.0.1 and the error message that I am getting is:
I know it is possible if I use scriptlets and not custom tags, but we are trying to separate code from presentation, and we want to have no JSP Scriptlet tags in the presentation files. [ January 09, 2002: Message edited by: John Brumbaugh ]