struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <>
Subject Re: Why TagUtils.instance is final static. That cause me a lot of problem.. Is a small change can be done ...?
Date Tue, 13 Jun 2006 07:28:20 GMT
David Gagnon ha scritto:
> If the instance variable is at least protected and not final.  It 
> would be possible to create my new WindowScopeEnabledTagUtils class 
> that inherit from  tagUtils and change the instance for my new 
> instance.  That would have been great!  Is that can be done ? Is there 
> a reason why thing are like that?
> Have been away from the lastest version of struts and I have some 
> catchup to do :-)

I suppose that you want to use some window-scoped attribute in your JSP 
page, right?
In this case I think that you could "copy" you attribute from window 
scope to page scope (probably with some custom tag library) and then use 
it, without changing Struts codebase.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message