Objects in Taglibs
1 posts in topic
Flat View  Flat View

Posted By:   Prashanth_Brahmandam
Posted On:   Friday, November 23, 2001 04:17 AM

Is there any way to pass an object reference to a taglib?

Re: Objects in Taglibs

Posted By:   Stefan_Zoerner  
Posted On:   Friday, November 23, 2001 04:47 AM

It is possible to pass objects to a TagHandler via scripting variables. You can use

pageContext.getAttribute(name, scope)

It is also possible to define new scripting vairables in your own Tags. Visit http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html for details ...
(Tags That Define Scripting Variables)

Hope that helps, Stefan

About | Sitemap | Contact