Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

set a jsp:include param value to a custom tag result

Mike Ottinger
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks, I'm trying to send some data to an include file via it's param property from the results of a custom tag, like this:

<jsp:include page="sortIcon.jsp" flush="true">
<jsp aram name="showsort" value="<tdm:getSortIconVisibility name="tdmresponse" property="title" />" />

This line gives an error in my IDE stating that it's expecting an "=" sign. So, I'm resorting to creating a scriptlet at the top and mimicing the tag's functionality in there. I would really like to avoid placing code in the jsp file, does anybody have any suggestions what to do here? I also, just for kicks, escaped all the quotes in the line. The IDE liked it but the JSP engine read the line as a string literal.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic