• Post Reply Bookmark Topic Watch Topic
  • New Topic

Maybe a simple JSP question

 
Kalichar Rangantittu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a custom tag that is expecting an argument. When the do the following, the responseRenderer.getNamespace() value is not written but instead I get the text "<%= responseRenderer.getNamespace() %>". What am I missing.

<my ager showpages="10"
dataTableId="<%= renderResponse.getNamespace()%></f:verbatim>"
selectedStyleClass="currentPage">
</r ager>
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most likely the TLD entry for the dataTableId attribute has not enabled run-time expressions.
[ October 13, 2005: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dataTableId="<%= renderResponse.getNamespace()%></f:verbatim>"


It is also not valid to use a run-time expression as only part of am attribute value; it must encompass the entire value.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!