On Feb 5, 2008, at 11:06 AM, Vic Simkus wrote:
[EMAIL PROTECTED] wrote:
jsp recycle-tags=false/
However, the only reason you should disable the recycling is if you
have
a legacy, broken tag library.
-- Scott
snip
Thanks. I guess I'm going to have to fix my broken tag library :)
:)
It's not that difficult. The main thing is to make sure you treat all
setXXX attributes as constants, i.e. never set them or clear them even
to resolve defaults in the doStartTag or clearing in the doEndTag. If
you need to handle defaults, create new fields.
Also, the doStartTag should be responsible for initializing, clearing
any temporary data, because you're not guaranteed to have release()
called until the end of the page. A number of projects have gotten
into the habit of doing things like clearing attributes in the
doEndTag (the JSF RI used to do this!).
-- Scott
--
Vic Simkus
Department of Neurology and Rehabilitation
912 S. Wood, Room 855N
Chicago, Illinois 60612
Office: 312.413.4064
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest