This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
In HFSJ page 457 there is a question .It was in context to <c:set tag
Q : If I don't specify scope,does that mean it will find attributes that are only within page scope,or will it do a search beginning with page scope?
Ans : If you don't use the optional scope attribute in the tag,then the tag will only look in the page scope space . Sorry,you will just have to know exactly which scope you are dealing with.
I am confused with this explanation .
Is it trying to say default scope is page? I understand if we don't specify scope in c:set it sets/adds attribute in page scope by default.But I didn't understand what the above explanation is trying to convey.
Can anybody shed some light on this.
"Continuous effort - not strength or intelligence - is the key to unlocking our potential."
They are just trying to say that you have to specify the scope to which you are binding attribute. If you do not default is page scope.
I hope I clear with this concept
Joined: Jun 20, 2002
By default c:set will bind attribute to page scope is clear to me .
Is this question about c:set ? I don't understand why they refer to finding attributes. c:set just set things, it doesn't look for anything.
Yes Christopher .This question is about c:set . I also didn't understand why they specified about finding attributes .That is why I posted this question to know if I am missing to understand something.