This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tag files and c:set

 
Pawanpreet Singh
Ranch Hand
Posts: 264
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have used following code

<c:set var="NewPageAttribute" value="" scope="request"/>

<tagfilesTags:Header title="${NewPageAttribute}"/>

Header.tag is a tag file.

if i want to set title as page/request/session or application scope as done by c:set. How can it be detected by tagfilesTags:Header tag. It is getting value for NewPageAttribute, no matter in which scope it is. Is it using findAttribute for this.
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had a look at the specs..
Satou...we need help man... !
 
Mark Garland
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

It is getting value for NewPageAttribute, no matter in which scope it is. Is it using findAttribute for this.


I think ${NewPageAttribute} makes use of findAttribute under the scenes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic